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

2015-03-06 Thread Nicolas Goaziou
Andreas Leha andreas.l...@med.uni-goettingen.de writes: I see. I did not read carefully enough. Fine with me as well. I pushed it in 1362c2d22b037f43bd9f5a42c01c7ca8300d14cd (master). Thanks again for the feedback. Regards,

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

2015-03-06 Thread Andreas Leha
Hi Nicolas, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: I see. I did not read carefully enough. Fine with me as well. I pushed it in 1362c2d22b037f43bd9f5a42c01c7ca8300d14cd (master). Thanks again for the feedback. Thanks! A

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

2015-03-03 Thread Andreas Leha
Hi Nicolas, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: I spoke a little too soon. I still like it, but there is a regression. See http://permalink.gmane.org/gmane.emacs.orgmode/95563 Indeed. I also fixed a few other things. Here's

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

2015-03-03 Thread Andreas Leha
Andreas Leha andreas.l...@med.uni-goettingen.de writes: Hi Nicolas, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: I spoke a little too soon. I still like it, but there is a regression. See

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

2015-03-03 Thread Nicolas Goaziou
Andreas Leha andreas.l...@med.uni-goettingen.de writes: On some more testing, this description is wrong. C-c C-x C-l never does anything on the first headline, e.g., which I think it should. C-c C-x C-l on the first, or any other, headline toggles LaTeX fragments in the section (not the

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

2015-03-03 Thread Andreas Leha
Hi Nicolas, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: On some more testing, this description is wrong. C-c C-x C-l never does anything on the first headline, e.g., which I think it should. C-c C-x C-l on the first, or any other,

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

2015-03-02 Thread Andreas Leha
Hi Nicolas, Andreas Leha andreas.l...@med.uni-goettingen.de writes: Hi Nicolas, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: I am talking about `org-toggle-latex-fragment'. And even if that is fast, it is very annoying behaviour.

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

2015-03-02 Thread Nicolas Goaziou
Andreas Leha andreas.l...@med.uni-goettingen.de writes: I spoke a little too soon. I still like it, but there is a regression. See http://permalink.gmane.org/gmane.emacs.orgmode/95563 Indeed. I also fixed a few other things. Here's the update. Thanks for the feedback. Regards, From

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

2015-02-28 Thread Rasmus
Andreas Leha andreas.l...@med.uni-goettingen.de writes: Personally, I never use org-toggle-latex-fragment, but rely on entities, since org-toggle-latex-fragment is only really good for static/mature documents. I am not sure I understand that. What do you mean when you rely on entities?

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

2015-02-28 Thread kuangdash
Hi, buddies: a little change has been made…… Sent from Windows Mail From: kuangd...@163.com Sent: ‎Saturday‎, ‎February‎ ‎28‎, ‎2015 ‎4‎:‎05‎ ‎AM To: Nicolas Goaziou Cc: Andreas Leha, emacs-orgmode@gnu.org I have seen the newest org.el. The request below can be done by the

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

2015-02-28 Thread Andreas Leha
Hi Nicolas, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: I am talking about `org-toggle-latex-fragment'. And even if that is fast, it is very annoying behaviour. I'd very much like to be able to toggle individual images. In a

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

2015-02-28 Thread Nick Dokos
kuangd...@163.com writes: Hi, buddies: a little change has been made…… Trying to apply your patch on top of current master, I get: , | $ git apply ~/Desktop/0001-again.patch | /home/nick/Desktop/0001-again.patch:18: trailing whitespace. | - If the cursor is on the overlay(latex

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

2015-02-28 Thread kuangdash
you can open the patch file, see it manually……a little change I think it's useful. as to “trailing whitespace”, I’m sorry about this format problem…… Sent from Windows Mail From: Nick Dokos Sent: ‎Saturday‎, ‎February‎ ‎28‎, ‎2015 ‎11‎:‎43‎ ‎PM To: emacs-orgmode@gnu.org

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

2015-02-27 Thread kuangdash
Actually, I’m just talking about ‘org-toggle-latex-fragment’…… I'm not sure if the patch proposed may cause any other problems, but I think this feature should be added by someone. Thank you for your guide. Sent from Windows Mail From: Nicolas Goaziou Sent: ‎Friday‎, ‎February‎

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

2015-02-27 Thread Andreas Leha
Hi Nicolas, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Hello, Andreas Leha andreas.l...@med.uni-goettingen.de writes: 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

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

2015-02-27 Thread Rasmus
Andreas Leha andreas.l...@med.uni-goettingen.de writes: I am talking about `org-toggle-latex-fragment'. And even if that is fast, it is very annoying behaviour. I'd very much like to be able to toggle individual images. In a math-heavy document the redisplay of all formula images of even

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

2015-02-27 Thread kuangdash
what if search for ‘org-remove-latex-fragment-image-overlays’ in org.el ? I see it in the function ‘org-ctrl-c-ctrl-c’ (org 8.2.10) Sent from Windows Mail From: Nicolas Goaziou Sent: ‎Saturday‎, ‎February‎ ‎28‎, ‎2015 ‎1‎:‎32‎ ‎AM To: kuangd...@163.com Cc: Andreas Leha,

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

2015-02-27 Thread Nick Dokos
kuangd...@163.com writes: what if search for ‘org-remove-latex-fragment-image-overlays’ in org.el ? I see it in the function ‘org-ctrl-c-ctrl-c’ (org 8.2.10) You wouldn't see it if you were using the development version (aka the master branch). What Nicolas said is that that no longer

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

2015-02-27 Thread Nicolas Goaziou
kuangd...@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

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

2015-02-27 Thread Nicolas Goaziou
Hello, Andreas Leha andreas.l...@med.uni-goettingen.de writes: 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

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

2015-02-27 Thread Nicolas Goaziou
Andreas Leha andreas.l...@med.uni-goettingen.de writes: I am talking about `org-toggle-latex-fragment'. And even if that is fast, it is very annoying behaviour. I'd very much like to be able to toggle individual images. In a math-heavy document the redisplay of all formula images of even

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

2015-02-27 Thread Andreas Leha
Hi Rasmus, Rasmus ras...@gmx.us writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: I am talking about `org-toggle-latex-fragment'. And even if that is fast, it is very annoying behaviour. I'd very much like to be able to toggle individual images. In a math-heavy document the

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

2015-02-26 Thread kuangdash
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?

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

2015-02-25 Thread Nicolas Goaziou
Hello, kuangd...@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

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

2015-02-24 Thread kuangdash
But how to do it? 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