Re: [O] reveal only current subtree

2011-12-18 Thread sergio
On 12/18/2011 01:47 PM, Takaaki ISHIKAWA wrote: > Probably you set the define-key before "(require 'org-install)". Really I don't have "(require 'org-install)" in my emacs config at all --- it is in /etc/emacs/site-start.d/50org-mode.el. But putting (require 'org-install) in ~/.emacs.d/init.el jus

Re: [O] reveal only current subtree

2011-12-18 Thread Takaaki ISHIKAWA
Dear sergio, > It doesn't work for me: Symbol's value as variable is void: org-mode-map Probably you set the define-key before "(require 'org-install)". Anyway, I have verified your new setting, it works well :) Best regards, Takaaki Ishikawa signature.asc Description: Message signed with Open

Re: [O] reveal only current subtree

2011-12-18 Thread sergio
On 12/18/2011 09:44 AM, Takaaki ISHIKAWA wrote: > (define-key org-mode-map (kbd "C-c C-r") > '(lambda () (interactive) (org-show-siblings))) It doesn't work for me: Symbol's value as variable is void: org-mode-map But I've remade previous mappig: (add-hook 'org-mode-hook (lambda () (l

Re: [O] reveal only current subtree

2011-12-17 Thread Takaaki ISHIKAWA
Dear sergio, I think you are right, and have confirmed your setting. The following has the same effect, just for your information. (define-key org-mode-map (kbd "C-c C-r") '(lambda () (interactive) (org-show-siblings))) Best regards, Takaaki Ishikawa > (add-hook 'org-mode-hook (lambda () >

Re: [O] reveal only current subtree

2011-12-17 Thread sergio
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 ()

Re: [O] reveal only current subtree

2011-12-17 Thread Takaaki ISHIKAWA
Dear sergio, I'm glad I could help. > Oh, sorry. Thank you, Takaaki, (org-show-siblings) is exactly what > I want! But could you say, how you've discovered it? I have recently reading org.el to write my elisp, org-tree-slide[*1]. Your problem is very hot topic to me :-) [*1] http://orgmode.org

Re: [O] reveal only current subtree

2011-12-17 Thread sergio
On 12/18/2011 05:12 AM, Takaaki ISHIKAWA wrote: > Please use eval-expression function [*1] for testing. > Type "M-: (org-show-siblings)" and "M-: (org-show-entry)". Oh, sorry. Thank you, Takaaki, (org-show-siblings) is exactly what I want! But could you say, how you've discovered it? -- sergio

Re: [O] reveal only current subtree

2011-12-17 Thread Takaaki ISHIKAWA
Dear sergio, Please use eval-expression function [*1] for testing. Type "M-: (org-show-siblings)" and "M-: (org-show-entry)". > org-show-siblings is also not that I want. It show all siblings of all > expanded levels. And want to change this view: The combination is maybe your answer. Please fin

Re: [O] reveal only current subtree

2011-12-17 Thread sergio
On 12/18/2011 04:13 AM, Takaaki ISHIKAWA wrote: > C-c C-j d/e/g/h > (org-show-siblings) > (org-show-entry) May be you mean (setq org-show-siblings t) ? Also there is no org-show-entry variable, may be you mean (setq org-show-entry-below t) ? As I say org-show-entry-below is good so I switched it

Re: [O] reveal only current subtree

2011-12-17 Thread Takaaki ISHIKAWA
Dear sergio, Hi. How about the following combination? >> >> * a... >> * b... >> ** d... >> *** e... >> g... >> * h<- cursor is here >> - some >> - list >> * c... C-c C-j d/e/g/h (org-show-siblings) (org-show-entry) Best regards, Takaaki Ishikawa signature.asc Description: Messa

Re: [O] reveal only current subtree

2011-12-17 Thread sergio
On 12/17/2011 09:59 PM, Carsten Dominik wrote: >> No. I just want to expand 1 level up, not the first lever, i.e. if after >> jump I see: > Then you can use C-u -1 TAB Much better, but I don't want to expand siblings. I mean to change this view: >> * a... >> * b... >> ** d... >> *** e... >> ***

Re: [O] reveal only current subtree

2011-12-17 Thread Carsten Dominik
On 17.12.2011, at 18:57, sergio wrote: > On 12/17/2011 08:04 PM, Carsten Dominik wrote: > >> You can do >> >> C-u 1 TAB >> >> to cycle on the level 1 hearing without moving point. > > No. I just want to expand 1 level up, not the first lever, i.e. if after > jump I see: Then you can use C-

Re: [O] reveal only current subtree

2011-12-17 Thread sergio
On 12/17/2011 08:04 PM, Carsten Dominik wrote: > You can do > >C-u 1 TAB > > to cycle on the level 1 hearing without moving point. No. I just want to expand 1 level up, not the first lever, i.e. if after jump I see: * a... * b... ** d... *** e... g... * h<- cursor is here - s

Re: [O] reveal only current subtree

2011-12-17 Thread Takaaki ISHIKAWA
Dear sergio, >> Could you give me the detail, I can probably help you. > What details you need? No problem! I just wanted to know the jump method. And… Carsten give us a great solution. Best regards, Takaaki signature.asc Description: Message signed with OpenPGP using GPGMail

Re: [O] reveal only current subtree

2011-12-17 Thread Carsten Dominik
On 17.12.2011, at 15:20, sergio wrote: > Hello. > > Is it possible to reveal only current subtree but entirely? > > For example I have following structure: > > * a > * b > ** d > ** e > *** f > *** g > qwe > qwe > *** h > *** i > * c > > after jump to /b/e/g I see > > * a > * b ... > ** e ..

Re: [O] reveal only current subtree

2011-12-17 Thread sergio
On 12/17/2011 07:24 PM, Takaaki ISHIKAWA wrote: > How do you jump to subtrees? C-c C-j b/e/g with (setq org-goto-interface 'outline-path-completion) or via agenda. > Could you give me the detail, I can probably help you. What details you need? -- sergio.

Re: [O] reveal only current subtree

2011-12-17 Thread Takaaki ISHIKAWA
Dear sergio, Hi. How do you jump to subtrees? Could you give me the detail, I can probably help you. Best regards, Takaaki Ishikawa > after jump to /b/e/g I see > > * a > * b ... > ** e ... > *** g ... > * c signature.asc Description: Message signed with OpenPGP using GPGMail

[O] reveal only current subtree

2011-12-17 Thread sergio
Hello. Is it possible to reveal only current subtree but entirely? For example I have following structure: * a * b ** d ** e *** f *** g qwe qwe *** h *** i * c after jump to /b/e/g I see * a * b ... ** e ... *** g ... * c the cursor is on g and i can expand it by tab. And the main question