unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Leo <sdl.web@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] New command `outline-narrow-to-subtree'
Date: Mon, 15 Aug 2011 16:47:28 +0200	[thread overview]
Message-ID: <87wreewx33.fsf@gnu.org> (raw)
In-Reply-To: <m139h23guj.fsf@gmail.com> (Leo's message of "Mon, 15 Aug 2011 22:11:00 +0800")

Hi Leo,

Leo <sdl.web@gmail.com> writes:

> On 2011-08-15 21:46 +0800, Bastien wrote:
>> Attached is a patch to outline.el defining a new command
>> `outline-narrow-to-subtree' (bound to `C-c @ C-s').
>
> That key seems to be already bound to show-subtree (emacs-23 here).

Right.  I suggest using `C-c @ n' then.

> C-x n s is a good key binding. There is no reason for org-mode to put
> some of its commands in narrow-map which are only usable in org-mode.

I assumed the purpose of `narrow-map' was to contain all commands
related to narrowing, even if they are not globally available.  But 
I'm probably wrong.

Can some expert confirm this?

If I'm wrong, then the `org-narrow-to-subtree' keybinding belongs to the
`org-mode-map' the same way than `outline-narrow-to-subtree' belongs to
the `outline-mode-map'.

-- 
 Bastien



  reply	other threads:[~2011-08-15 14:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-15 13:46 [PATCH] New command `outline-narrow-to-subtree' Bastien
2011-08-15 14:11 ` Leo
2011-08-15 14:47   ` Bastien [this message]
2011-08-19  7:31     ` Leo
2011-08-19 12:59       ` Bastien

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87wreewx33.fsf@gnu.org \
    --to=bzg@altern.org \
    --cc=emacs-devel@gnu.org \
    --cc=sdl.web@gmail.com \
    /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.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).