From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Rebinding of home and end keys Date: Sat, 13 Nov 2010 02:51:31 +0530 Message-ID: <81aalekzl0.fsf@gmail.com> References: <81eiaql0a2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=54043 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PH148-0003xA-TB for emacs-orgmode@gnu.org; Fri, 12 Nov 2010 16:21:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PH143-0000Pu-58 for emacs-orgmode@gnu.org; Fri, 12 Nov 2010 16:21:44 -0500 Received: from mail-gy0-f169.google.com ([209.85.160.169]:62452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PH143-0000Pd-0c for emacs-orgmode@gnu.org; Fri, 12 Nov 2010 16:21:43 -0500 Received: by gyh3 with SMTP id 3so63692gyh.0 for ; Fri, 12 Nov 2010 13:21:42 -0800 (PST) In-Reply-To: <81eiaql0a2.fsf@gmail.com> (Jambunathan K.'s message of "Sat, 13 Nov 2010 02:36:29 +0530") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Liam Healy , Org-mode mailing list Jambunathan K writes: > Carsten Dominik 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 > Date: Fri Sep 25 08:03:23 2009 +0100 > > Bind and 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