[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
- [O] Here is a patch I want to add to org.el……, kuangdash, 2015/02/24
- Re: [O] Here is a patch I want to add to org.el……, Nicolas Goaziou, 2015/02/25
- Re: [O] Here is a patch I want to add to org.el……, kuangdash, 2015/02/27
- Re: [O] Here is a patch I want to add to org.el……,
Andreas Leha <=
- Re: [O] Here is a patch I want to add to org.el……, Nicolas Goaziou, 2015/02/27
- Re: [O] Here is a patch I want to add to org.el……, kuangdash, 2015/02/27
- Re: [O] Here is a patch I want to add to org.el……, Nicolas Goaziou, 2015/02/27
- Re: [O] Here is a patch I want to add to org.el……, kuangdash, 2015/02/27
- Re: [O] Here is a patch I want to add to org.el……, Nick Dokos, 2015/02/27
- Message not available
- Re: [O] Here is a patch I want to add to org.el……, kuangdash, 2015/02/28
- Re: [O] Here is a patch I want to add to org.el……, Nick Dokos, 2015/02/28
- Re: [O] Here is a patch I want to add to org.el……, kuangdash, 2015/02/28
- Re: [O] Here is a patch I want to add to org.el……, Andreas Leha, 2015/02/27
- Re: [O] Here is a patch I want to add to org.el……, Rasmus, 2015/02/27