emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-tree-slide annoyance


From: Carsten Dominik
Subject: Re: [O] org-tree-slide annoyance
Date: Mon, 15 Jul 2013 12:35:21 +0200

On 15.7.2013, at 10:33, henry atts <address@hidden> wrote:

> I use org-tree-slide-mode by default with 
> 
>  (add-hook 'org-mode-hook 'org-tree-slide-mode)
> 
> This works kind of acceptable minus some minor annoyances. But one thing
> makes it nearly unusuable. tree-slide rigidly expects at least one
> header. So if I open an org file without heading, or if I create a new
> one, I get an error message:
> 
> File mode specification error: (error "before first heading")
> 
> If I include a setup file with `#+SETUPFILE:', which of course has no
> headings in it,  org-tree-slide stops working at all.


Hi Henry,

you could wrap turning on of the mode into a function
that checks if there is a node, and if not, just add one.

- Carsten

> 
> henry
> 
> -- 
> web: http://literaturlatenight.de
> jabberID: address@hidden
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]