Re: [O] [PATCH v2 0/3] org-sbe fixes

2018-03-26 Thread Bastien
Hello, Nicolas Goaziou writes: > Alan Schmitt writes: > >> On 2018-03-25 23:06, Nicolas Goaziou writes: >> >>> I have reverted your changes from maint. >> >> Should there be a new release? This change is present

Re: [O] preview embedded latex fragments error with my settings

2018-03-26 Thread stardiviner
I have divsvgm program on my arch linuxsystem. And "/tmp/orgtexhClnu9.dvi" does not exist, it is not produced. Only "/tmp/orgtexhClnu9.tex" and "/tmp/orgtexhClnu9.log" two file. On 03/27/2018 12:20 AM, Nicolas Goaziou wrote: Hello, stardiviner writes: I have

[O] [PATCH] ob-clojure and ob-clojure-literate support :ns header argument [V1]

2018-03-26 Thread stardiviner
This should be this finalize version patch. The whole discussion is here: https://github.com/clojure-emacs/clojure-mode/pull/465 After test many case (all passed): ```org #+begin_src clojure :results pp ;; (def greeting "hi there!") *ns* #+end_src #+RESULTS[<2018-03-26 14:43:51>

[O] let org-git-link.el suport Magit related buffers

2018-03-26 Thread stardiviner
Magit now is the most used tools in Emacs now. I hope can combine Org-mode links with Magit through `org-git-link.el`. Current `org-git-link` only support local git file.But it definitely support Magit, like Magit status buffer, Magit log buffer, Magit diff (revision) buffer. When user is

[O] [PATCH] support insert link without write result to :file link

2018-03-26 Thread stardiviner
I added this patch to handle posted question case. This will improve Org-mode links with org-babel resulta lot. Make Org-mode can insert link as user want at many places. Hope can be merged. On 03/27/2018 02:06 AM, Michael Welle wrote: Hello, stardiviner writes: I

Re: [O] preview embedded latex fragments error with my settings

2018-03-26 Thread John Kitchin
it sounds like you should run something like this at the commandline: latex /tmp/orgtexhClnu9.tex and see if any errors come up. Maybe some package is missing. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon

Re: [O] [OT] nobody (none)

2018-03-26 Thread Loris Bennett
Hi, Roger Mason writes: > Hello, > > An off topic problem. I'm asking here because I noticed this problem > first in this list, but it has spread. > > I read e-mail using gnus (v5.13) in emacs (25.3.1) on FreeBSD (10.3). > Some months ago I noticed some messages in this list

Re: [O] How to escape # character in #+begin_src bash block for html export?

2018-03-26 Thread Michael Welle
Hello, Nick Dokos writes: [...] > Michael Welle writes: > If you are trying to produce documentation and want to show commands > that the user should type then you probably need an example block: > > #+begin_example > # date > #+end_example another idea:

Re: [O] org-latex-image-default-width ignored

2018-03-26 Thread Julien Cubizolles
Eric S Fraga writes: > On Sunday, 25 Mar 2018 at 09:52, Julien Cubizolles wrote: >> Found the cause of the problem, my default configuration exports in >> async mode, so this variable should be set in >> org-export-async-init.el. >> >> Is there a way to have a variable set

Re: [O] Table latex exporting ignores #+ATTR_LATEX:

2018-03-26 Thread Robert Klein
Hi, On Sun, 25 Mar 2018 19:23:53 +0300 Peter Mukhachev wrote: > $ cat table-source.org > #+ATTR_LATEX: :align lp{2cm}l > | Name | Text | Rationale | > | height | 18 m | ATC requriment | > > # Here I export with M-x org-table-export RET org-table-export- >

Re: [O] [PATCH v2 0/3] org-sbe fixes

2018-03-26 Thread Alan Schmitt
On 2018-03-25 23:06, Nicolas Goaziou writes: > I have reverted your changes from maint. Should there be a new release? This change is present in 9.1.8. Best, Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO₂, Mauna Loa Obs. 2018-02: 408.35, 2017-02:

Re: [O] [PATCH] contrib: ob-sclang: Fix compilation issue.

2018-03-26 Thread stardiviner
You `(require 'sclang)` cause error on `(require 'sclang-vars)` failed. Because there is no file `sclang-vars.el`. Only file `sclang-vars.el.in` for built-time defaults. When user load sclang from source code of `scel`. This will cause error. Really don't understand why you have to `(require

Re: [O] [PATCH] contrib: ob-sclang: Fix compilation issue.

2018-03-26 Thread stardiviner
After dive into scel source code, I use cmake build fix. This seems an old problem. Now fixed. On 03/26/2018 07:38 PM, stardiviner wrote: You `(require 'sclang)` cause error on `(require 'sclang-vars)` failed. Because there is no file `sclang-vars.el`. Only file `sclang-vars.el.in` for

Re: [O] How to let ob-shell to download file and get result as a link to file?

2018-03-26 Thread Michael Welle
Hello, stardiviner writes: > I tried the following example: > > ``` > > #+begin_src shell :mkdir yes :dir "data/tmp" :results file :file > "crackzor_1.0.c.gz" > wget -c "http://ben.akrin.com/crackzor/crackzor_1.0.c.gz; > #+end_src > > #+RESULTS: >

Re: [O] #+bind options ignored during async export

2018-03-26 Thread Nicolas Goaziou
Hello, Julien Cubizolles writes: > The options specified by #+ keywords are set during asynchronous export > whereas those specified by the #+BIND: method aren't. In the following > example, org-latex-image-default-width is set to .25\linewidth only in > synchronous export

Re: [O] preview embedded latex fragments error with my settings

2018-03-26 Thread Nicolas Goaziou
Hello, stardiviner writes: > I have following settings to make org-mode export to PDF works better, > like export with src block syntax highlighting with "minted", and > support Chinese export with latex package "ctex" and specify default > font etc all stuffs. > > I used

[O] preview embedded latex fragments error with my settings

2018-03-26 Thread stardiviner
I have following settings to make org-mode export to PDF works better, like export with src block syntax highlighting with "minted", and support Chinese export with latex package "ctex" and specify default font etc all stuffs. I used to disabled org-mode startup preview latex fragments. Today

[O] How to let ob-shell to download file and get result as a link to file?

2018-03-26 Thread stardiviner
I tried the following example: ``` #+begin_src shell :mkdir yes :dir "data/tmp" :results file :file "crackzor_1.0.c.gz" wget -c "http://ben.akrin.com/crackzor/crackzor_1.0.c.gz; #+end_src #+RESULTS: [[file:data/tmp/crackzor_1.0.c.gz]] ``` But the files is empty, I check out Org-mode

[O] preview embedded latex fragments error with my settings

2018-03-26 Thread stardiviner
I have following settings to make org-mode export to PDF works better, like export with src block syntax highlighting with "minted", and support Chinese export with latex package "ctex" and specify default font etc all stuffs. I used to disabled org-mode startup preview latex fragments. Today

[O] #+bind options ignored during async export

2018-03-26 Thread Julien Cubizolles
The options specified by #+ keywords are set during asynchronous export whereas those specified by the #+BIND: method aren't. In the following example, org-latex-image-default-width is set to .25\linewidth only in synchronous export whereas the author is set regardless of the type of export.

[O] [OT] nobody (none)

2018-03-26 Thread Roger Mason
Hello, An off topic problem. I'm asking here because I noticed this problem first in this list, but it has spread. I read e-mail using gnus (v5.13) in emacs (25.3.1) on FreeBSD (10.3). Some months ago I noticed some messages in this list displaying with sender 'nobody' and subject '(none)' in

Re: [O] [PATCH v2 0/3] org-sbe fixes

2018-03-26 Thread Nicolas Goaziou
Hello, Vladimir Panteleev writes: > Hi, > > On 2018-03-25 21:06, Nicolas Goaziou wrote: >> I agree "org-sbe" should be rewritten. However, it is specific to tables >> because it is meant to be used in a TBLFM line. Its replacement could >> live in "org-table.el",

Re: [O] [PATCH v2 0/3] org-sbe fixes

2018-03-26 Thread Nicolas Goaziou
Hello, Alan Schmitt writes: > On 2018-03-25 23:06, Nicolas Goaziou writes: > >> I have reverted your changes from maint. > > Should there be a new release? This change is present in 9.1.8. I /think/ I released Org 9.1.9, but I usually

Re: [O] Temporary delay like --2d does not work correctly.

2018-03-26 Thread Nicolas Goaziou
Hello, h...@protonmail.com writes: > Hi, > > With the latest release, --2d not work correctly. > Use the test case in > http://lists.gnu.org/archive/html/emacs-orgmode/2013-02/msg00554.html > > * TODO 1a > SCHEDULED: <2018-02-24 Sat +1m --2d> > * TODO 2a > SCHEDULED: <2018-03-24 Sat +1m

Re: [O] [PATCH v2 0/3] org-sbe fixes

2018-03-26 Thread Vladimir Panteleev
On 2018-03-26 21:42, Nicolas Goaziou wrote: I'm talking about call_foo() syntax. I see no fundamental difference between (org-sbe-v2 "func" ...) and call_func(...). Sorry, how do you invoke call_func from lisp, or a table formula? -- Best regards, Vladimir

[O] Changing Modes and Headline Closing

2018-03-26 Thread 42 147
Hello, I'm editing a large document, mostly text, that is intended for a website -- thus html is interspersed throughout, though not enough to justify editing the document as a dedicated .html file. I only use html-mode if I have to edit a list with 6-7 uls / ols nested in, mainly to keep track

Re: [O] [OT] nobody (none)

2018-03-26 Thread Tim Cross
This would appear to be gnus specific. I use mu4e and have not noticed anything along these lines. Suggest a gnus specific list might be the go. Tim Roger Mason writes: > Hello, > > An off topic problem. I'm asking here because I noticed this problem > first in this list, but

Re: [O] [PATCH v2 0/3] org-sbe fixes

2018-03-26 Thread Vladimir Panteleev
On 2018-03-26 20:16, Nicolas Goaziou wrote: Hello, Vladimir Panteleev writes: What about org-sbe is specific to tables? I'm thinking that the generic replacement could be used elsewhere, e.g.: (with-current-buffer some-org-mode-buffer (org-sbe-v2 "func"

Re: [O] [PATCH v2 0/3] org-sbe fixes

2018-03-26 Thread Nicolas Goaziou
Vladimir Panteleev writes: > By inline Babel calls, do you mean as described in > https://orgmode.org/manual/Evaluating-code-blocks.html ? I see there > "org-babel-execute-src-block", but it seems to attempt to infer the > src block to execute rather than letting the