Carsten Dominik <address@hidden> wrote:
Hi,
is there a git wizard who can find out when these lines were
introduced in org.el.
(define-key org-mode-map [home] 'org-beginning-of-line)
(define-key org-mode-map [end] 'org-end-of-line)
Maybe the commit message does explain why that was done?
Probably not, but if anybody would know, it'd be you :-)
,----
| commit 668e28f4d050b80686937c4b7b8617f16d887ba0
| Author: Carsten Dominik <address@hidden>
| Date: Fri Sep 25 08:03:23 2009 +0100
|
| Bind <home> and <end> to the org-specific commands
|
| diff --git a/lisp/ChangeLog b/lisp/ChangeLog
| index 81326e4..ba96911 100755
| --- a/lisp/ChangeLog
| +++ b/lisp/ChangeLog
| @@ -3,6 +3,7 @@
| * org.el (org-special-ctrl-a/e): Improve documentation and
| customize type.
| (org-end-of-line): Don't jump to after the ellipsis.
| + (org-mode-map): Bind <home> and <end> as well.
|
| 2009-09-24 Carsten Dominik <address@hidden>
|
| diff --git a/lisp/org.el b/lisp/org.el
| index a700c4d..b460420 100644
| --- a/lisp/org.el
| +++ b/lisp/org.el
| @@ -16631,6 +16631,8 @@ beyond the end of the headline."
|
| (define-key org-mode-map "\C-a" 'org-beginning-of-line)
| (define-key org-mode-map "\C-e" 'org-end-of-line)
| +(define-key org-mode-map [home] 'org-beginning-of-line)
| +(define-key org-mode-map [end] 'org-end-of-line)
|
| (defun org-backward-sentence (&optional arg)
| "Go to beginning of sentence, or beginning of table field.
`----
BTW, the commands were
grep -n '\[home]' lisp/org.el
to get a line number
git blame -L 19010,1911 lisp/org.el
this fingers 668e28f4
git show 668e28f4
HTH,
Nick