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: kuangdash
Subject: Re: [O] Here is a patch I want to add to org.el……
Date: Fri, 27 Feb 2015 06:25:23 +0000

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,

--
Nicolas Goaziou


reply via email to

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