[O] [PATCH] org-src.el: Unescape source block on edit

2015-05-21 Thread Kyle Meyer
org-edit-src-code doesn't seem to be unescaping correctly. For example, calling org-edit-src-code on #+begin_src org ,* h #+end_src puts ",* h", not "* h", in the source buffer. When exiting, ",*" is escaped again, resulting in #+begin_src org ,,* h #+end_src The attached patch moves the

Re: [O] How to elegantly and effectively quote org fragments?

2015-05-21 Thread Alain . Cochard
Nicolas Goaziou writes on Fri 22 May 2015 00:02: > You can also use a fixed-width area: > > : * a headline only for the example > : ** a subheadline > : text Ah, thank you. If I understand correctly, though, once one does that (in an SRC org block, say) one looses the ability to edit

[O] org-notify: can't define an org-notify-add

2015-05-21 Thread Alain . Cochard
Sorry I am posting this message again: I made a mistake and it appeared within an unrelated thread (perhaps it is possible to remove it from there?) --- Hello. If I have in my emacs init file the following org-notify setup, as specified by the org-notify doc (if I understand it correctly):

[O] Export code and results in one environment

2015-05-21 Thread Jacob Gerlach
Hello, I'd like to export a source block and it's results together in one latex environment. I came up with a solution using the final filter below. Is there a better way? Thanks, Jake #+BEGIN_SRC emacs-lisp :exports none :results silent (defun combine-verb-final-filter (s backend info)

[O] org-notify: can't define an org-notify-add

2015-05-21 Thread Alain . Cochard
Hello. If I have in my emacs init file the following org-notify setup, as specified by the org-notify doc (if I understand it correctly): (require 'org-notify) (org-notify-add 'my-appt '(:time "1h" :actions -message :period

Re: [O] How to elegantly and effectively quote org fragments?

2015-05-21 Thread Nicolas Goaziou
Hello, alain.coch...@unistra.fr writes: > Sorry if these are easy questions -- I did spend time with the manual, > the FAQ, the list archive, and the web. The best I found is to use an > org SRC block, but I do not find it satisfactory. Plus I cannot even > have it work properly. You can also

Re: [O] [RFC] Org linting library

2015-05-21 Thread Nicolas Goaziou
Rainer M Krug writes: > Well - now it does. The following produces the error: > > #+PROPERTY: header-args :tangle-mode (identity #o444) > > * Some code > > #+begin_src R :results nons > > #+end_src > > The problem is the (identity #o444) which is causing the problem. Fixed. Thank you. Regards,

Re: [O] how to render align environment with mathjax in html-expot

2015-05-21 Thread Rasmus
Hi Max, Max Linke writes: > I would like to use align environments when I export to html. As this > is nicer for me to align equations. > > When I use them naked like this. > > \begin{align} > a &= b + c \\ > x &= y + z > \end{align} > > the equation does

Re: [O] org-mode, tikz and beamer

2015-05-21 Thread cédric ody
Thank you for your answer. Here is the shell script (many comments are in english except the beginning) and the org file I use. To see how I call it, you can have a look at the enclosed Makefile. Note that it uses specific configurations files as well tex macros so it won't work without these file

[O] how to render align environment with mathjax in html-expot

2015-05-21 Thread Max Linke
Hello I would like to use align environments when I export to html. As this is nicer for me to align equations. When I use them naked like this. \begin{align} a &= b + c \\ x &= y + z \end{align} the equation does not get rendered at all but th

Re: [O] LOGBOOK entry lands outside LOGBOOK

2015-05-21 Thread Marco Wahl
Hi, Lawrence Bottorff writes: > I'm using the C-c C-z to make what I though would be LOGBOOK entries, but > they seem to appear outside the :LOGBOOK . . . :END: block, even though my > cursor is positioned inside the block. What do I do to keep them inside? You could specify that behavior by se

Re: [O] LOGBOOK entry lands outside LOGBOOK

2015-05-21 Thread Kyle Meyer
Lawrence Bottorff wrote: > I'm using the C-c C-z to make what I though would be LOGBOOK entries, but > they seem to appear outside the :LOGBOOK . . . :END: block, even though my > cursor is positioned inside the block. What do I do to keep them inside? Have you set org-log-into-drawer? > Also, I

[O] LOGBOOK entry lands outside LOGBOOK

2015-05-21 Thread Lawrence Bottorff
I'm using the C-c C-z to make what I though would be LOGBOOK entries, but they seem to appear outside the :LOGBOOK . . . :END: block, even though my cursor is positioned inside the block. What do I do to keep them inside? Also, I seem to have created this header: *** | |

Re: [O] org-notmuch: how to open-link-at-point in other window?

2015-05-21 Thread Kyle Meyer
Suvayu Ali wrote: > On Thu, May 21, 2015 at 11:41:07AM -0400, Kyle Meyer wrote: [...] >> You can set org-notmuch-open-function to a function that behaves the way >> you want. There are probably cleaner ways to handle this, but below >> seems to work. >> >> #+begin_src elisp >> (setq org-notmuc

Re: [O] [RFC] Org linting library

2015-05-21 Thread Rainer M Krug
Nicolas Goaziou writes: > Rainer M Krug writes: > >> Two more questions: >> >> I get the following warnings: >> >> , >> | 10 low Unknown OPTIONS item "@" >> | 11 low Unknown OPTIONS item "skip" >> | 11 low Unknown OPTIONS item "LaTeX" >> | 11 low Unknown OPTIONS item

Re: [O] [RFC] Org linting library

2015-05-21 Thread Rainer M Krug
Nicolas Goaziou writes: > Rainer M Krug writes: > >> Two more questions: >> >> I get the following warnings: >> >> , >> | 10 low Unknown OPTIONS item "@" >> | 11 low Unknown OPTIONS item "skip" >> | 11 low Unknown OPTIONS item "LaTeX" >> | 11 low Unknown OPTIONS item

Re: [O] [RFC] Org linting library

2015-05-21 Thread Rainer M Krug
Nicolas Goaziou writes: > Rainer M Krug writes: > >> Two more questions: >> >> I get the following warnings: >> >> , >> | 10 low Unknown OPTIONS item "@" >> | 11 low Unknown OPTIONS item "skip" >> | 11 low Unknown OPTIONS item "LaTeX" >> | 11 low Unknown OPTIONS item

Re: [O] org-notmuch: how to open-link-at-point in other window?

2015-05-21 Thread Suvayu Ali
On Thu, May 21, 2015 at 11:41:07AM -0400, Kyle Meyer wrote: > Gregor Zattler wrote: > > Dear org-moders, > > > > I want to open-link-at-point (C-c C-o) in other window. With > > file links this is standard behaviour (at least with my > > configuration). But I don’t know how to do so with notmuch

Re: [O] org-mode, tikz and beamer

2015-05-21 Thread Suvayu Ali
On Thu, May 21, 2015 at 04:40:33PM +0200, cédric ody wrote: > Dear org-mode users, > > I have used org-mode for some months now. I find it very useful. I > have recently used it to prepare mathematic teaching lessons using the > beamer exporter. > > I wanted to combine org-mode and tikz latex's p

Re: [O] use of 'system in ox-odt.el

2015-05-21 Thread Rasmus
Matt Price writes: > Did you try this: > > (setcdr (assq 'system org-file-apps-defaults-gnu ) '(call-process > "xdg-open" nil 0 nil file)) > > That works for me. It works for odt, but not html. -- Slowly unravels in a ball of yarn and the devil collects it

Re: [O] [RFC] Org linting library

2015-05-21 Thread Nicolas Goaziou
Rainer M Krug writes: > Two more questions: > > I get the following warnings: > > , > | 10 low Unknown OPTIONS item "@" > | 11 low Unknown OPTIONS item "skip" > | 11 low Unknown OPTIONS item "LaTeX" > | 11 low Unknown OPTIONS item "TeX" > ` > > based on the followi

Re: [O] org-notmuch: how to open-link-at-point in other window?

2015-05-21 Thread Kyle Meyer
Gregor Zattler wrote: > Dear org-moders, > > I want to open-link-at-point (C-c C-o) in other window. With > file links this is standard behaviour (at least with my > configuration). But I don’t know how to do so with notmuch: > links. Universal argument won’t help. > > Any ideas? org-notmuch-f

Re: [O] use of 'system in ox-odt.el

2015-05-21 Thread Matt Price
On May 21, 2015 04:32, "Rasmus" wrote: > > Matt Price writes: > > >> You are on Gnome, rt? I think there is a long standing "bug" in > >> gvfs-open (which is called by xdg-open). > >> > >> See the following: > >> http://lists.gnu.org/archive/html/emacs-devel/2009-07/msg00279.html > >> https://bu

Re: [O] org-notmuch: how to open-link-at-point in other window?

2015-05-21 Thread Subhan Michael Tindall
Take a look at the following variables: org-link-frame-setup org-file-apps They might get you started in the right direction Subhan > -Original Message- > From: emacs-orgmode-bounces+subhant=familycareinc@gnu.org > [mailto:emacs-orgmode-bounces+subhant=familycareinc@gnu.org] On

Re: [O] org-notmuch: how to open-link-at-point in other window?

2015-05-21 Thread Gregor Zattler
Hi Leo, * Leo Ufimtsev [21. May. 2015]: > I usually use my mouse and right click on the link. Thanks, I have problems, emulation right klick with this old macbook of mine. > C-c C-o opens things in a new application. E.g a picture is > opened in my image editing application. > > Right clicking

Re: [O] org-notmuch: how to open-link-at-point in other window?

2015-05-21 Thread Leo Ufimtsev
I usually use my mouse and right click on the link. C-c C-o opens things in a new application. E.g a picture is opened in my image editing application. Right clicking opens in the right window. C-u C-c C-o also opens images in the right side window. In emacs, Window and Frame mean something

[O] org-notmuch: how to open-link-at-point in other window?

2015-05-21 Thread Gregor Zattler
Dear org-moders, I want to open-link-at-point (C-c C-o) in other window. With file links this is standard behaviour (at least with my configuration). But I don’t know how to do so with notmuch: links. Universal argument won’t help. Any ideas? I think there should be key bindings for opening i

[O] [PATCH] ob-core: Fix indented cached result returning nil

2015-05-21 Thread Bjarte Johansen
Fix a problem where a source block would return nil oif the result was cached and it was indented. * lisp/ob-core.el (org-babel-execute-src-block): Move point to the the first character of the result instead of the beginning of the line. * testing/lisp/test-ob.el (test-org-babel/indented-cach

Re: [O] [PATCH] ob-core: Fix indented cached result returning nil

2015-05-21 Thread Bjarte Johansen
Thank you for your comments. > You need to add TINYCHANGE at the end of the commit message if you > haven't signed FSF papers yet. I have already signed the FSF papers when I sent some changes to a different Emacs project. I will shortly send a new patch with the proposed changes. Regards, Bja

Re: [O] Incomplete org-plus-contrib

2015-05-21 Thread Rasmus
Marco Wahl writes: > Rasmus writes: > >>> IIUC org-eww is missing because it is not included in branch 'maint'. >>> Possibly it is a good idea to put org-eww there. >> >> In the lisp folder, maint is typically for bug fixes. I guess for contrib >> it's more flexible. > > So would you recommend

Re: [O] position figures side by side in PDF output

2015-05-21 Thread Zhihao Ding
Thanks a lot Andreas and Rasmus! The solution using the subcaption package works best for me. Best, Zhihao > On 20 May 2015, at 22:03, Andreas Leha > wrote: > > Hi Zhihao, > > Rasmus writes: >> Hi Zhihao, >> >> Zhihao Ding writes: >> >>> Could anyone give me some advice on how to pos

Re: [O] [RFC] Org linting library

2015-05-21 Thread Rainer M Krug
Nicolas Goaziou writes: > Rainer M Krug writes: > >> There is an example where I get the error: >> >> * Fitting the kernel to the data >> The parameter which will be fitted can be found in Table [[tab:fitInitial]] >> >> #+CAPTION: Variables used for the initial fit of the wind profile using the

Re: [O] use of 'system in ox-odt.el

2015-05-21 Thread Rasmus
Matt Price writes: >> You are on Gnome, rt? I think there is a long standing "bug" in >> gvfs-open (which is called by xdg-open). >> >> See the following: >> http://lists.gnu.org/archive/html/emacs-devel/2009-07/msg00279.html >> https://bugzilla.gnome.org/show_bug.cgi?id=652262 >> >> I came acro