emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Rebinding of home and end keys


From: Jambunathan K
Subject: [Orgmode] Re: Rebinding of home and end keys
Date: Sat, 13 Nov 2010 02:36:29 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (windows-nt)

Carsten Dominik <address@hidden> writes:

> 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?
>

git blames the following commit:

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

Jambunathan K.

> Thanks.
>
> - Carsten
>
> On Nov 10, 2010, at 9:50 AM, Liam Healy wrote:
>
>> I have in my .emacs
>>
>> (global-set-key [(home)] 'beginning-of-buffer)
>> (global-set-key [(end)] 'end-of-buffer)
>>
>> Starting with a recent (last few months) org-mode version, the home
>> and end keys are bound to be beginning of end of line when in org
>> files.   This happens even if I do my keybinding after I load org.
>> Can this rebinding be removed, or at least made optional?  I do not
>> see why these keys are bound at all; these are regular emacs functions
>> (not org-mode functions) so emacs (by default) and the user (by
>> resetting the keys globally) can establish themselves what they want.
>>
>> Org-mode version 7.02trans (release_7.3.10.g7f79)
>>
>> Thank you.
>>
>> Liam
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode



reply via email to

[Prev in Thread] Current Thread [Next in Thread]