emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: Re: Here is a patch I want to add to org.el……
Date: Fri, 27 Feb 2015 09:29:41 +0000	[thread overview]
Message-ID: <olulhjjg0sa.fsf@med.uni-goettingen.de> (raw)
In-Reply-To: 54F0118E.D911F7.27458@m12-15.163.com

Hi,

<kuangdash@163.com> 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: kuangdash@163.com
> Cc: emacs-orgmode@gnu.org
>
> Hello,
>
> <kuangdash@163.com> 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	other threads:[~2015-02-27  9:29 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-25  4:14 Here is a patch I want to add to org.el…… kuangdash
2015-02-25  4:41 ` kuangdash
2015-02-26 18:49   ` Nicolas Goaziou
2015-02-25 13:03 ` Nicolas Goaziou
2015-02-27  6:25   ` kuangdash
2015-02-27  9:29     ` Andreas Leha [this message]
2015-02-27  9:49       ` Nicolas Goaziou
2015-02-27 14:36         ` kuangdash
2015-02-27 17:32           ` Nicolas Goaziou
2015-02-27 19:38             ` kuangdash
2015-02-27 21:19               ` Nick Dokos
     [not found]               ` <54F0D25E.AC5A60.07341@m50-132.163.com>
2015-02-28  9:03                 ` kuangdash
2015-02-28 15:43                   ` Nick Dokos
2015-02-28 16:26                     ` kuangdash
2015-02-27 15:26         ` Andreas Leha
2015-02-27 15:55           ` Rasmus
2015-02-27 22:22             ` Andreas Leha
2015-02-28  9:44               ` Rasmus
2015-02-27 23:37           ` Nicolas Goaziou
2015-02-28 11:01             ` Andreas Leha
2015-03-02 22:48               ` Andreas Leha
2015-03-03  0:21                 ` Nicolas Goaziou
2015-03-03  9:38                   ` Andreas Leha
2015-03-03  9:40                     ` Andreas Leha
2015-03-03 21:00                       ` Nicolas Goaziou
2015-03-03 21:11                         ` Andreas Leha
2015-03-06 11:08                           ` Nicolas Goaziou
2015-03-06 11:29                             ` Andreas Leha
2015-02-27  9:46     ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=olulhjjg0sa.fsf@med.uni-goettingen.de \
    --to=andreas.leha@med.uni-goettingen.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).