emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Here is a patch I want to add to org.el……


From: Andreas Leha
Subject: Re: [O] Here is a patch I want to add to org.el……
Date: Fri, 27 Feb 2015 09:29:41 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (darwin)

Hi,

<address@hidden> writes:
> Here comes the reason: 
>
> “C-c C-c” always removes all overlays in org files (such as formulas,
> images .etc ),but sometimes I only want to edit one and leave the
> others as it is (overlay). 
>
> so, I modified the org.el .(maybe I should use “advice”……)
>
> Do you think it is deserved to patch it? 
>
> Sent from Windows Mail
>
> From: Nicolas Goaziou
> Sent: ‎Wednesday‎, ‎February‎ ‎25‎, ‎2015 ‎9‎:‎03‎ ‎PM
> To: address@hidden
> Cc: address@hidden
>
> Hello,
>
> <address@hidden> writes:
>
>> But how to do it?
>
> Just send it to the list, using "git format-patch" and a proper commit
> message. See http://orgmode.org/worg/org-contribute.html for more
> information.
>> Besides,I‘m glad to view your opinions,so here comes the codes:
>>
>> The place:(defun org-ctrl-c-ctrl-c the first (cond
>>
>> add:
>>
>> (cond
>> ((overlayp (car (overlays-at (point)))) (let ((overlay (car
> (overlays-at (point)))))
>> (if (overlayp overlay)
>> (delete-overlay overlay)
>> )))
>>
>>
>> so that I won’t make all overlays disappear at only once “C-c C-c”
>
> Would you mind explaining what problem you want to solve?
>
> Regards,

I haven't looked at the patch and I do not understand how the patch
achieves the removal of single overlays.  But I am in the same boat.  I
also would (usually) like to remove only the rendered formula at the
point.  I think that this should even be the default.

Regards,
Andreas




reply via email to

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