From mboxrd@z Thu Jan 1 00:00:00 1970 From: sergio Subject: Re: reveal only current subtree Date: Sun, 18 Dec 2011 06:43:17 +0400 Message-ID: <4EED5345.20202@sergio.spb.ru> References: <4EECA52B.2070909@sergio.spb.ru> <976FFCBD-64DC-459A-8116-CE89B3742010@gmail.com> <4EECD802.8030007@sergio.spb.ru> <5D4CE247-6ABA-4779-BDA2-61128A4332C2@gmail.com> <4EECE079.4090304@sergio.spb.ru> <8C96E13F-342C-4BC3-8609-BFC0A8AECC21@ieee.org> <4EED39AF.3030602@sergio.spb.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rc6ig-0000zU-TR for emacs-orgmode@gnu.org; Sat, 17 Dec 2011 21:43:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rc6if-00026Y-Ug for emacs-orgmode@gnu.org; Sat, 17 Dec 2011 21:43:22 -0500 Received: from outerface.net ([195.70.199.109]:49621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rc6if-00026S-NP for emacs-orgmode@gnu.org; Sat, 17 Dec 2011 21:43:21 -0500 Received: from [188.134.66.115] (port=50825 helo=[192.168.1.35]) by outerface.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Rc6iN-00082W-2Q for emacs-orgmode@gnu.org; Sun, 18 Dec 2011 05:43:03 +0300 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.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.