From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: `C-x n s' binding in org-mode Date: Sun, 22 Jun 2008 11:23:49 +0200 Message-ID: <485E1A25.5010506@gmail.com> References: <87abheudss.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1214126656 29700 80.91.229.12 (22 Jun 2008 09:24:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Jun 2008 09:24:16 +0000 (UTC) Cc: Carsten Dominik , emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 22 11:25:00 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KALoi-0000Fv-6u for ged-emacs-devel@m.gmane.org; Sun, 22 Jun 2008 11:25:00 +0200 Original-Received: from localhost ([127.0.0.1]:41685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KALns-0005fO-UU for ged-emacs-devel@m.gmane.org; Sun, 22 Jun 2008 05:24:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KALnl-0005f1-SF for emacs-devel@gnu.org; Sun, 22 Jun 2008 05:24:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KALnk-0005ed-78 for emacs-devel@gnu.org; Sun, 22 Jun 2008 05:24:01 -0400 Original-Received: from [199.232.76.173] (port=50362 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KALnj-0005ea-Ui for emacs-devel@gnu.org; Sun, 22 Jun 2008 05:24:00 -0400 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]:60269) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KALnf-0004sd-Ma; Sun, 22 Jun 2008 05:23:56 -0400 Original-Received: from c83-254-145-59.bredband.comhem.se ([83.254.145.59]:60759 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KALne-0004R1-6b; Sun, 22 Jun 2008 11:23:54 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <87abheudss.fsf@catnip.gol.com> X-Antivirus: avast! (VPS 080621-0, 2008-06-21), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.145.59 X-Scan-Result: No virus found in message 1KALne-0004R1-6b. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KALne-0004R1-6b ab8a2b2fd15a19de4debc11ab45a735e X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:99679 Archived-At: Miles Bader wrote: > Org-mode adds a local binding to the `C-x n' keymap. > > This really confused me for a while because I global rebind `C-x n' to > be something entirely different, so in org-mode, I ended up with a > keymap containing _only_ the org-mode binding, erasing my personal > binding. > > Anyway, this binding seemed pretty dodgy to me; what do others think? org-mode binds `C-x n s' to `narrow-to-subtree'. I guess that is because the `C-x n' prefix is used for other narrowing/widening functions. Maybe org-mode could remap narrow-to-defun to narrow-to-subtree? Or maybe `C-x n s' should be reserved in the global map for major mode special narrowing functions?