emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Outline and org-mode don't insert text into folded sections logi


From: Jambunathan K
Subject: Re: [O] Outline and org-mode don't insert text into folded sections logically
Date: Sun, 30 Oct 2011 13:00:03 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (windows-nt)

> - This patch covers only one of many ways to make unwanted changes
>   in an invisible area.  Others would be delete, backspace,
>   kill-region, yank, kill-line, and an arbitrarily long list of
>   less obvious other commands.  Full protection could only be
>   done with pre-change-hooks or so, but would then prevent
              ^^^^^^^^^^^^^^^
              ^^^^^^^^^^^^^^^
May be you were referring to `before-change-functions' here?

I see the use of the above hook already in Org. (Strangely this hook
ends with "functions" and has no has no hook in it.)

,----
|   (org-add-hook 'before-change-functions 'org-before-change-function nil
|               'local)
`----

>   also programmed changes - something that would not be useful.
>   `org-self-insert-command' is probably only ever used in an
>   interactive way, so the patch as you have written it may very
>   well function correctly.



reply via email to

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