[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-tree-slide as default, sort of
From: |
Takaaki ISHIKAWA |
Subject: |
Re: [O] org-tree-slide as default, sort of |
Date: |
Tue, 29 Jan 2013 04:33:08 +0900 |
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
org-agenda-files. This is why multiple displaying of greeting message is
occurred.
But actually, the message should be a custom variable.
I'll change it, thanks!
In my environment, I cannot reproduce the 2nd case.
Could you test again with the above setting?
Finally, when org-tree-slide is active, org-publish will export
the narrowed tree only. If you want to export whole trees,
please turn off org-tree-slide temporarily.
Best,
Takaaki
On 2013年1月29日Tuesday at 3:37, henry atting wrote:
>
> 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. [...]
>
>
>
> Yes, this was exactly my setting.
>
> At first it breaks org-publish. If I export a file the resulting html
> file will only contain the first top level headline and the second, 3rd
> ... level headlines. All other top level headlines are ignored.
> Secondly it breaks gnus/message mode when started with a hook to load
> orgstruct mode like this:
> (add-hook 'message-mode-hook 'turn-on-orgstruct)
> When I want to write a new mail only an empty buffer opens with an error
> message something like `before first heading'.
> Thirdly I think org-tree-slide should ignore org-agenda or vice versa.
> When I open org-agenda frequently the org-tree-slide greeting message
> appears in the echo area. Maybe it slows it down...
>
> henry
>
> --
> http://literaturlatenight.de
--
Takaaki ISHIKAWA <address@hidden>
GITI, Waseda University
( ' -')b http://about.me/takaxp