emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] How to keep something at the bottom of an Org file


From: Nicolas Goaziou
Subject: Re: [O] How to keep something at the bottom of an Org file
Date: Wed, 15 Jun 2016 18:41:42 +0200

Hello,

Marco Wahl <address@hidden> writes:

> in some of my Org files I want to have certain elements always at the
> very bottom of the file.
>
> Example: Often I use a subtree like
>
>     * COMMENT *MUST BE BOTTOMMOST TREE*                         
> :meta:bottommost:
>
>     MUST BE BOTTOMMOST TREE TO HAVE *GUARANTEED* EFFECT.
>
>     Recall that no local variable setting is taken into account above a
>     page break.
>
>     
>     Local Variables:
>     eval: (git-auto-commit-mode)
>     End:
>
> at the bottom to have git-auto-commit-mode for that file.
>
> I try to be disciplined but often the subtree bubbles up, e.g. after
> sorting.
>
> Has anyone a good idea how to deal with this issue?

I guess you could use `org-after-sorting-entries-or-items-hook' to
bubble down entries with :bottommost: tag.

Regards,

-- 
Nicolas Goaziou



reply via email to

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