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: Carsten Dominik
Subject: Re: [O] Outline and org-mode don't insert text into folded sections logically
Date: Sun, 30 Oct 2011 08:47:55 +0100

On 30.10.2011, at 08:30, Jambunathan K wrote:

> 
>> - 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?

Yes, my mistake.

- Carsten

> 
> 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]