Re: [O] Bug: utf-8 support for ob-dot.el [9.1.14 (9.1.14-1-g4931fc-elpa @ c:/Users/sig/emacs261/.emacs.d/elpa/org-9.1.14/)]

2018-09-28 Thread Nicolas Goaziou
Sigmund Tzeng writes: > I get your point. The git diff order is wrong. Here it is: Applied. I added a proper commit message. Thank you.

Re: [O] [PATCH] org-capture: Add a custom to control save target file or not.

2018-09-28 Thread Nicolas Goaziou
Kaushal Modi writes: > Sorry. Here's the original thread: > https://lists.gnu.org/r/emacs-orgmode/2018-04/msg00204.html Thank you. > My email client shows the whole thread from then to now, so I forgot > pasting that. Mine (Gnus) also used to, but, for some reason, it doesn't anymore. > That'

Re: [O] Bug: utf-8 support for ob-dot.el [9.1.14 (9.1.14-1-g4931fc-elpa @ c:/Users/sig/emacs261/.emacs.d/elpa/org-9.1.14/)]

2018-09-28 Thread Sigmund Tzeng
Hi Nicolas, I get your point. The git diff order is wrong. Here it is: --- lisp/ob-dot.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/ob-dot.el b/lisp/ob-dot.el index 31e0a4f32..7220a9e76 100644 --- a/lisp/ob-dot.el +++ b/lisp/ob-dot.el @@ -69,6 +69,8 @@ This function is called by

[O] can capture create search links?

2018-09-28 Thread Samuel Wales
i capture using %a. from org, %a results in a file link with a pathname and a search within that file. if i then refile the target to a new file, the link is broken. but even if %a created a search link, it would search within only that file, so refiling to a new file would break the link. what

Re: [O] [PATCH] org-capture: Add a custom to control save target file or not.

2018-09-28 Thread Kaushal Modi
On Fri, Sep 28, 2018 at 4:50 PM Nicolas Goaziou wrote: > Hello, > > Kaushal Modi writes: > > > @Nicolas, tumashu: Would love to get your comments. > > I don't remember the initial report. > Sorry. Here's the original thread: https://lists.gnu.org/r/emacs-orgmode/2018-04/msg00204.html My email

Re: [O] [PATCH] org-capture: Add a custom to control save target file or not.

2018-09-28 Thread Nicolas Goaziou
Hello, Kaushal Modi writes: > @Nicolas, tumashu: Would love to get your comments. I don't remember the initial report. However, saving the capture buffer may be problematic if there was unsaved modifications before the capture process. Saving silently the file would also save unrelated changes

Re: [O] file wide/language specific switches?

2018-09-28 Thread John Kitchin
ok, thanks for confirming! I tried a workaround like this: #+BEGIN_SRC emacs-lisp -r (defun my-tangle-with-r () (interactive) (let* ((temporary-file-directory ".") (tmpname (make-temp-file "switch" nil ".org")) buf data) (write-region (point-min) (point-max) tmpname) (setq buf (find-f

Re: [O] file wide/language specific switches?

2018-09-28 Thread Nicolas Goaziou
Hello, John Kitchin writes: > I am working on a pretty large literate program right now, and am using > coderefs in the blocks. I know I can add a -r switch to a code block to > remove the labels, but there are /a lot/ of blocks, and I wondered if there > was some way to specify a file-wide swit

[O] file wide/language specific switches?

2018-09-28 Thread John Kitchin
I am working on a pretty large literate program right now, and am using coderefs in the blocks. I know I can add a -r switch to a code block to remove the labels, but there are /a lot/ of blocks, and I wondered if there was some way to specify a file-wide switch, or a language specific switch? It i

Re: [O] org-end-of-line and in table interaction

2018-09-28 Thread Nicolas Goaziou
Robert Pluim writes: > It does call 'end-of-line'. If thatʼs the intended semantics, itʼs not > entirely clear from the docstring (and I will adjust my code). The first sentence is: Go to the end of line, but before ellipsis, if any. If you think that's ambiguous, would you want to suggest a

Re: [O] org-end-of-line and in table interaction

2018-09-28 Thread Robert Pluim
Nicolas Goaziou writes: > Robert Pluim writes: > >> I was under the impression that 'org-end-of-line' is intended to do >> something only when in a heading, since it does: >> >> (looking-at org-complex-heading-regexp))) >> >> hence my patch to make it not do anything in tables. > > I

Re: [O] [PATCH] org-capture: Add a custom to control save target file or not.

2018-09-28 Thread Kaushal Modi
On Thu, Sep 27, 2018, 9:33 AM Kaushal Modi wrote: > > Summary: > > - Proposal to revert > https://code.orgmode.org/bzg/org-mode/commit/b4422add3745c26ec3b2e11b8da425844b2e9d3d > - Use the above advice if you don't want to save buffer during org-capture. > @Nicolas, tumashu: Would love to get you

Re: [O] org-end-of-line and in table interaction

2018-09-28 Thread Nicolas Goaziou
Robert Pluim writes: > I was under the impression that 'org-end-of-line' is intended to do > something only when in a heading, since it does: > > (looking-at org-complex-heading-regexp))) > > hence my patch to make it not do anything in tables. It is meant to do something special on

Re: [O] org-end-of-line and in table interaction

2018-09-28 Thread Robert Pluim
Nicolas Goaziou writes: > Hello, > > Robert Pluim writes: > >> I have >> >> (add-hook 'org-tab-first-hook 'org-end-of-line) >> >> This causes inside a table to always create another row, rather >> than moving to the next field. The patch below fixes this for me, >> although Iʼm not sure itʼs th

Re: [O] org-end-of-line and in table interaction

2018-09-28 Thread Nicolas Goaziou
Hello, Robert Pluim writes: > I have > > (add-hook 'org-tab-first-hook 'org-end-of-line) > > This causes inside a table to always create another row, rather > than moving to the next field. The patch below fixes this for me, > although Iʼm not sure itʼs the right solution. Why would you want t

Re: [O] Problems producing TikZ PNGs from LaTeX src blocks

2018-09-28 Thread Eric S Fraga
On Friday, 28 Sep 2018 at 11:39, Christian Moe wrote: > Hi, > > I am trying to generate a PNG file with a TikZ picture from a LaTeX src > block, looking at instructions here: > https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-LaTeX.html > > I try this: > > #+header: :file "tikzpic.png" :

[O] Problems producing TikZ PNGs from LaTeX src blocks

2018-09-28 Thread Christian Moe
Hi, I am trying to generate a PNG file with a TikZ picture from a LaTeX src block, looking at instructions here: https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-LaTeX.html I try this: #+header: :file "tikzpic.png" :fit yes :results raw file :exports results :headers '("\\usepackage

[O] org-end-of-line and in table interaction

2018-09-28 Thread Robert Pluim
Hi, I have (add-hook 'org-tab-first-hook 'org-end-of-line) This causes inside a table to always create another row, rather than moving to the next field. The patch below fixes this for me, although Iʼm not sure itʼs the right solution. diff --git a/org.el b/org.el index 45be987..f22e9a1 100644

Re: [O] org-src-window-setup doesn’t show right windows behavior

2018-09-28 Thread Marco Wahl
Leu Zhe writes: > Dear orgers, > > When I set the variable to ‘current-window, it still shows in other window, > same as the setup to ‘other-window. > > Dear orgers, > > When I set the variable to ‘current-window, it still shows in other > window, same as the setup to ‘other-window. Hi, The org