From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.help Subject: Re: org-mode keybinding Date: Wed, 22 Aug 2012 18:21:12 +0200 Message-ID: <878vd6vqx3.fsf@altern.org> References: <1345276538882-261738.post@n5.nabble.com> <87k3wvwb2g.fsf@altern.org> <1345372890027-261809.post@n5.nabble.com> <1345376934090-261815.post@n5.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1345652467 2721 80.91.229.3 (22 Aug 2012 16:21:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Aug 2012 16:21:07 +0000 (UTC) Cc: Help-gnu-emacs@gnu.org To: drain Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 22 18:21:08 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T4Dg1-0002E8-Uu for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Aug 2012 18:21:06 +0200 Original-Received: from localhost ([::1]:60600 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4Dg0-0001hT-CL for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Aug 2012 12:21:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4Dfw-0001h6-4Y for Help-gnu-emacs@gnu.org; Wed, 22 Aug 2012 12:21:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4Dft-00050V-Hs for Help-gnu-emacs@gnu.org; Wed, 22 Aug 2012 12:21:00 -0400 Original-Received: from mail-wg0-f49.google.com ([74.125.82.49]:53025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4Dft-00050P-BN for Help-gnu-emacs@gnu.org; Wed, 22 Aug 2012 12:20:57 -0400 Original-Received: by wgbez12 with SMTP id ez12so756007wgb.30 for ; Wed, 22 Aug 2012 09:20:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=uDVE/4I7iLsAxmxZQpu9ivqsSTcNzGgpxvq6usAcVQw=; b=dh5UikB3itsY7WGsje9Ys28wibFCh/BAwmHYlv45LZkGB+Jnr8O+BmY4GB35WZ5hva Yz+rVdbMHBdzMTpDIrCknEVRZi0rhIGFkUgSMYkYZVHR7kKq7ZC4pCP7jL0+WApStz4P yF85H6rjj5Kv0ViCZd1B5sFQvHMyXOoOivzRaziUL1rvbcXsbcmVVjmwq3zlRFClcJ/q TXHWW0zEn6C+0CGORC7HNLCaexfNFk20Rzd7Mlo1chh9ZFkncMai1CqFPyxIF8QlGN+6 i+1jxHUQyJQDPIyWFfqMR9xlVxmJ3oQwW4JzS9bdNtWfl6RTFkwnUZekT1u+wznHIeF2 i0kw== Original-Received: by 10.180.100.35 with SMTP id ev3mr2973062wib.7.1345652456524; Wed, 22 Aug 2012 09:20:56 -0700 (PDT) Original-Received: from myhost.localdomain (mar75-2-81-56-68-112.fbx.proxad.net. [81.56.68.112]) by mx.google.com with ESMTPS id bc2sm13621256wib.0.2012.08.22.09.20.54 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 22 Aug 2012 09:20:55 -0700 (PDT) Original-Received: by myhost.localdomain (Postfix, from userid 1000) id 821E68832; Wed, 22 Aug 2012 18:21:13 +0200 (CEST) In-Reply-To: <1345376934090-261815.post@n5.nabble.com> (drain's message of "Sun, 19 Aug 2012 04:48:54 -0700 (PDT)") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.49 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86478 Archived-At: drain writes: > Now the code loads without error, just like the first two variations I > listed, but the remapped command is still functioning like > beginning-of-line, rather than org-beginning-of-line. > > Perhaps to be clearer, if this is my heading, and point starts at P, right > after the last dot of the ellipsis: > > *Movies...P > > and I press C-q, point moves on top of the first dot of the ellipsis. I > Press C-q again, point moves on top of the asterisk. > > C-a, however, which is mapped to org-beginning-of-line in org.el, moves > point from the last ellipsis dot to the asterisk immediately. I cannot reproduce or understand the problem. If you have (require 'org) (define-key org-mode-map "\C-q" 'org-beginning-of-line) then C-q will call `org-beginning-of-line'. Perhaps you can instrument `org-beginning-of-line' ? C-h f org-beginning-of-line RET to find the function and C-u C-M-x at the end of the function to "edebug" it. Then C-q again to see what happens. -- Bastien