emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Liam Healy <lnp@healy.washington.dc.us>,
	Org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Rebinding of home and end keys
Date: Sat, 13 Nov 2010 02:51:31 +0530	[thread overview]
Message-ID: <81aalekzl0.fsf@gmail.com> (raw)
In-Reply-To: <81eiaql0a2.fsf@gmail.com> (Jambunathan K.'s message of "Sat, 13 Nov 2010 02:36:29 +0530")

Jambunathan K <kjambunathan@gmail.com> writes:

> Carsten Dominik <carsten.dominik@gmail.com> 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 <carsten.dominik@gmail.com>
> Date:   Fri Sep 25 08:03:23 2009 +0100
>
>     Bind <home> and <end> to the org-specific commands


Here are the URLs:
http://repo.or.cz/w/org-mode.git/shortlog?pg=31
http://repo.or.cz/w/org-mode.git/commit/668e28f4d050b80686937c4b7b8617f16d887ba0

Full log also is not very elaborate:
http://repo.or.cz/w/org-mode.git/log/668e28f4d050b80686937c4b7b8617f16d887ba0

Jambunathan K.

>
> 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.
>>> Emacs-orgmode@gnu.org
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-11-12 21:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-10 15:50 Rebinding of home and end keys Liam Healy
2010-11-12 19:46 ` Carsten Dominik
2010-11-12 19:57   ` Liam Healy
2010-11-12 21:23     ` Achim Gratz
2010-11-12 21:06   ` Jambunathan K
2010-11-12 21:21     ` Jambunathan K [this message]
     [not found]   ` <15100.1289591832@gamaville.americas.hpqcorp.net>
2010-11-12 21:41     ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=81aalekzl0.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=lnp@healy.washington.dc.us \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).