Re: [BUG] Clocktable hides agenda buffer due to window manipulation in org-string-width [9.6 (9.6-??-e9da29b6f @ /Users/tok/.emacs.d/.local/straight/build-28.1/org/)]

2022-08-03 Thread Tobias Kniep
> Are you able to reproduce starting from emacs -Q? > See https://orgmode.org/manual/Feedback.html In fact, I'm not. So I guess there's something in my configuration conflicting with this function. I'll have to find out what it is. Thanks for pointing this out, and sorry for bothering you.

Re: Internal link to resulting image from source block

2022-08-03 Thread Ihor Radchenko
reza writes: > Hi List > > I'm exporting a plantuml figure to HTML like > > #+name: html transformation > #+begin_src plantuml :file img/transformation-html.svg :exports results >file org >file html >org -> html : org-html-publish-to-html > #+end_src > > Now I want to include an

Re: Bug? org-id-find not finding some IDs

2022-08-03 Thread Ihor Radchenko
Jack Kamm writes: > For a minimal example, put the following in test.org: > >> * Headline 1 >> :PROPERTIES: >> :ID: b1569c92-3872-4ab9-80eb-274c4950991e >> :END: > > Then: > > 1. emacs -Q test.org > 2. C-x b *scratch* > 3. M-: (org-id-find "b1569c92-3872-4ab9-80eb-274c4950991e") > > Which

Re: [BUG] Clocktable hides agenda buffer due to window manipulation in org-string-width [9.6 (9.6-??-e9da29b6f @ /Users/tok/.emacs.d/.local/straight/build-28.1/org/)]

2022-08-03 Thread Ihor Radchenko
Tobias Kniep writes: > Observation: > When activating clocktable mode in agenda view > (e.g. by pressing "R"), the current window switches to a previous > buffer and thus hides the agenda. I can manually switch back to the > agenda buffer and the clocktable is displayed. However, any >

Re: [PATCH] Re: [BUG] org-attach-id-ts-folder-format fails on customized IDs [9.6 (9.6-??-2e9999783)]

2022-08-03 Thread Ihor Radchenko
Max Nikulin writes: > On 23/07/2022 12:22, Ihor Radchenko wrote: >> Tentative patch is attached. > >> + (if (< (length id) 3) >> + (org-attach-id-uuid-folder-format (md5 id)) > > Ihor, I am afraid of collisions due to short input to md5. Long hash > value gives false impression of high

Re: image-file-name-regexp: Wrong type argument: characterp

2022-08-03 Thread Ihor Radchenko
Adding back Org ML to the CC. Janek F writes: > Actually, I am running 28.1 from the Arch Repos, with Doom Emacs. > Does that still apply? > > Thanks for the pointer anyways. It does not, indeed. > I wanted to mark certain filenames as images and added this to my config.el: > (add-to-list

Internal link to resulting image from source block

2022-08-03 Thread reza
Hi List I'm exporting a plantuml figure to HTML like #+name: html transformation #+begin_src plantuml :file img/transformation-html.svg :exports results file org file html org -> html : org-html-publish-to-html #+end_src Now I want to include an internal link to this figure with

[PATCH v2] lisp/ob-plantuml.el: Insert results in buffer

2022-08-03 Thread Joseph Turner
When :results header arg is set to a value that doesn't include "file", insert txt output in buffer below src block. TINYCHANGE --- etc/ORG-NEWS| 7 +++ lisp/ob-plantuml.el | 13 ++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/etc/ORG-NEWS

[BUG] Clocktable hides agenda buffer due to window manipulation in org-string-width [9.6 (9.6-??-e9da29b6f @ /Users/tok/.emacs.d/.local/straight/build-28.1/org/)]

2022-08-03 Thread Tobias Kniep
Observation: When activating clocktable mode in agenda view (e.g. by pressing "R"), the current window switches to a previous buffer and thus hides the agenda. I can manually switch back to the agenda buffer and the clocktable is displayed. However, any redrawing of the agenda (e.g. when moving

Re: [PATCH] Re: [BUG] org-attach-id-ts-folder-format fails on customized IDs [9.6 (9.6-??-2e9999783)]

2022-08-03 Thread Max Nikulin
On 23/07/2022 12:22, Ihor Radchenko wrote: Tentative patch is attached. + (if (< (length id) 3) + (org-attach-id-uuid-folder-format (md5 id)) Ihor, I am afraid of collisions due to short input to md5. Long hash value gives false impression of high entropy but actually there are not

Re: [PATCH] ob-tangle.el: fix ‘:comments noweb’ double linking

2022-08-03 Thread Max Nikulin
On 31/07/2022 06:42, Hraban Luyat wrote: Before: ;; [[file:test.org::*Main][Main:1]] 1 ;; file:/tmp/test.org::inner][inner]]][inner]] After: ;; [[file:test.org::*Main][Main:1]] 1 ;; [[file:test.org::inner][inner]] Certainly the fix will be an improvement. +

Re: [PATCH] org-id: Fix ‘org-id-locations’ variable name in error message

2022-08-03 Thread Étienne Deparis
Thank you very much for the quick review! I’m glad it was not an error of mine and it will help others. mer. 03 août 2022 à 12:04, yanta...@gmail.com a écrit : Applied onto main via 79dfb16d5 with amendments to the commit message to follow our conventions. You may refer to

Re: Maybe not as simple as I thought

2022-08-03 Thread Ihor Radchenko
David Boss writes: > If, asI have understood, there is a single zero-width-space character I > canuse to stop Org mode interpretation, don't tell me how to insert it;tell > me its 8-bit value, in binary or hex. If I have to be in16-bit-character mode > to use it, tell me that. > > If it's

Re: [PATCH] ob-tangle.el: fix ‘:comments noweb’ double linking

2022-08-03 Thread Ihor Radchenko
Hraban Luyat writes: > Done, new patch attached. Thanks for the feedback. Thanks! I have applied an earlier conflicting patch recently. Now, your patch does not apply any more. Could you kindly update it? Best, Ihor

Re: Adding target and custom id links doesn't ask for description

2022-08-03 Thread Max Nikulin
On 03/08/2022 01:58, Carlos Pita wrote: This is the link that org-insert-link inserts for <>: [[here][file:~/Desktop/Org/capturas.org::here]] This is the link that org-insert-link inserts for CUSTOM_ID = cusid: [[#cusid][file:~/Desktop/Org/capturas.org::#cusid]] Perhaps

Re: Fix typo in "The global TODO list"

2022-08-03 Thread Ihor Radchenko
Trevor Ballard writes: > doc/org-manual.org (The global TODO list): Fix typo in manual > section for "The global TODO list". Change "the" to "that" in the > third sentence to get "By default, this lists items with a state that > is not a DONE state." Thanks! Applied onto main via 3626f0384.

Re: [PATCH] ob-tangle.el: fix ‘:comments noweb’ double linking

2022-08-03 Thread Bastien Guerry
Hi Ihor and Hraban, Ihor Radchenko writes: > Bastien, could you please check the FSF records? Yes, I confirm Hraban FSF assignment is all good. I added him on https://orgmode.org/worg/contributors.html in the list of FSF-signed contributors. Thanks! -- Bastien

Re: [PATCH] org-id: Fix ‘org-id-locations’ variable name in error message

2022-08-03 Thread Bastien Guerry
Hi Ihor and Etienne, Ihor Radchenko writes: > Bastien, can you please confirm that Étienne is listed in the GNU > copyright records? Yes, I confirm, I added Etienne on the list of FSF-signed contributors on https://orgmode.org/worg/contributors.html. Thanks! -- Bastien

Re: [PATCH] ox-latex.el: `org-latex-language-alist' improved

2022-08-03 Thread Ihor Radchenko
Juan Manuel Macías writes: > I've managed to get some free time to remake this list, following Maxim > Nikulin's suggestion > (https://list.orgmode.org/orgmode/taeb0a$r62$1...@ciao.gmane.io/). It's no > longer an anonymous list and I agree it now has a more robust structure > with name fields. I

Re: Exporting tables from python code block: Wrong type argument: markerp, nil

2022-08-03 Thread Darren Syzling
> > > Note that a bug was recently found in Emacs 29 relating to byte > compilation which was generating this error. Apparently it also causes > problems with backwards compatibility of *.elc files. > > Not sure if it has been fixed in Emacs master yet, but my recommendation > would be to do a git

Re: Elisp macro for working with org tables

2022-08-03 Thread Ihor Radchenko
Mark Clements writes: > In response to a question on Stackoverflow > (https://stackoverflow.com/questions/50921305/org-table-and-named-columns-for-babel-processing), > I have written an elisp macro to work with org tables: > > #+NAME: test-table > | a | b | > |---+---| > | 1 | 2 | > | 3 | 4 |

Re: [PATCH] org-id: Fix ‘org-id-locations’ variable name in error message

2022-08-03 Thread Ihor Radchenko
Étienne Deparis writes: > This patch fix that problem. Thanks for your contribution! Applied onto main via 79dfb16d5 with amendments to the commit message to follow our conventions. You may refer to https://orgmode.org/worg/org-contribute.html for future patches.

Re: [BUG] org-forward-sentence does not recognize the end of sentences with footnotes [9.5.4 (N/A @ /gnu/store/zi4gr63h5k2w3y5srydk3k05bjrx9pi9-emacs-org-9.5.4/share/emacs/site-lisp/org-9.5.4/)]

2022-08-03 Thread Ihor Radchenko
"Dr. Arne Babenhauserheide" writes: >> But colon is not a sentence end. Or do I miss something? > > I think I added colon there; in default setting this should jump to the > end of [fn:133]. If you have sentence with two spaces set, try adding a > space after [fn:133] — it is not recognized as

Re: change headings to list but have a nested numeration?

2022-08-03 Thread Ihor Radchenko
Uwe Brauer writes: >> FYI, we have a built-in org-num-mode. > > Thanks for pointing this out to me, but it does not work for lists only for > headings (as its doc string explains), but lists are based on indenting so > that seems a lot harder than headings You are indeed right that org-num

Elisp macro for working with org tables

2022-08-03 Thread Mark Clements
In response to a question on Stackoverflow (https://stackoverflow.com/questions/50921305/org-table-and-named-columns-for-babel-processing), I have written an elisp macro to work with org tables: #+NAME: test-table | a | b | |---+---| | 1 | 2 | | 3 | 4 | #+NAME: test-table-script #+BEGIN_SRC

Fix typo in "The global TODO list"

2022-08-03 Thread Trevor Ballard
doc/org-manual.org (The global TODO list): Fix typo in manual section for "The global TODO list". Change "the" to "that" in the third sentence to get "By default, this lists items with a state that is not a DONE state." From 55f497b0cc838750e9bb82988b51cc226fc7c159 Mon Sep 17 00:00:00 2001 From:

Re: commit e22b4eb7 kills formatting & color

2022-08-03 Thread Ihor Radchenko
Colin Baxter writes: > I've applied your patch and it seems to work me. As far as I can tell > my org files and agenda now look and behave as normal. Applied onto main via fde93abb8. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=fde93abb8c490bc2e0a1fe1d7a23127669bbc90e Best,