Re: [O] org-tree-slide as default, sort of

2013-01-28 Thread henry atting
Hi Takaaki, > I reproduced the first and the 3rd case you reported. > I think the following setting is better than using org-mode-hook. > > (add-hook 'find-file-hook > '(lambda () (when (eq major-mode 'org-mode) > > (org-tree-slide-mode > > When you call org-agenda, it will visit many

Re: [O] org-tree-slide as default, sort of

2013-01-28 Thread Takaaki ISHIKAWA
Hi Henry, I reproduced the first and the 3rd case you reported. I think the following setting is better than using org-mode-hook. (add-hook 'find-file-hook '(lambda () (when (eq major-mode 'org-mode) (org-tree-slide-mode When you call org-agenda, it will visit many org-files listed in

Re: [O] org-tree-slide as default, sort of

2013-01-28 Thread henry atting
Hi Takaaki, > [...] > How about the following setting? > > (add-hook 'org-mode-hook 'org-tree-slide-mode) > > If you have already tried the setting with the latest version of > org-tree-slide, > and also encountered issues, please let me know the details. > I'll try to reproduce and fix it. [...

Re: [O] org-tree-slide as default, sort of

2013-01-28 Thread Takaaki ISHIKAWA
Dear Henry, How about the following setting? (add-hook 'org-mode-hook 'org-tree-slide-mode) If you have already tried the setting with the latest version of org-tree-slide, and also encountered issues, please let me know the details. I'll try to reproduce and fix it. Best, Takaaki -- Takaaki

[O] org-tree-slide as default, sort of

2013-01-28 Thread henry atting
I tried to make org-tree-slide work on every startup of an org file. Though I did not figure it for the best idea I set an orgmode hook. Now knowing some of the unwanted side effects this involves I know it actually is a bad idea. Is or will it be possible to set this on a per file basis? henry -