emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: sergio <mailbox@sergio.spb.ru>
To: emacs-orgmode@gnu.org
Subject: Re: reveal only current subtree
Date: Sun, 18 Dec 2011 06:43:17 +0400	[thread overview]
Message-ID: <4EED5345.20202@sergio.spb.ru> (raw)
In-Reply-To: <E5A07F66-61E1-4AD6-89D9-1F4C04D36AA3@ieee.org>

On 12/18/2011 05:12 AM, Takaaki ISHIKAWA wrote:

> Type "M-: (org-show-siblings)" and "M-: (org-show-entry)".

Am I right, that for rebind strange (org-reveal) to (org-show-siblings)
I should do:

(add-hook 'org-mode-hook (lambda ()
	(local-set-key "\C-c\C-r" (lambda ()
				    (interactive)
				    (org-show-siblings)))))

It works, but may be there are errors which I don't see.

-- 
sergio.

  parent reply	other threads:[~2011-12-18  2:43 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-17 14:20 reveal only current subtree sergio
2011-12-17 15:24 ` Takaaki ISHIKAWA
2011-12-17 15:52   ` sergio
2011-12-17 16:09     ` Takaaki ISHIKAWA
2011-12-17 16:04 ` Carsten Dominik
2011-12-17 17:57   ` sergio
2011-12-17 17:59     ` Carsten Dominik
2011-12-17 18:33       ` sergio
2011-12-18  0:13         ` Takaaki ISHIKAWA
2011-12-18  0:54           ` sergio
2011-12-18  1:12             ` Takaaki ISHIKAWA
2011-12-18  1:28               ` sergio
2011-12-18  1:41                 ` Takaaki ISHIKAWA
2011-12-18  2:43               ` sergio [this message]
2011-12-18  5:44                 ` Takaaki ISHIKAWA
2011-12-18  9:32                   ` sergio
2011-12-18  9:47                     ` Takaaki ISHIKAWA
2011-12-18 10:25                       ` sergio

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=4EED5345.20202@sergio.spb.ru \
    --to=mailbox@sergio.spb.ru \
    --cc=emacs-orgmode@gnu.org \
    /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).