Re: keeping subtree heading on export

2024-04-26 Thread Ihor Radchenko
onstrating initial Org mode document and how the exported md documents should look like? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [PATCH] ob-lua: Support all types and multiple values in results

2024-04-26 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Ihor Radchenko writes: > >> May you create a test for this with expected failure? > > Sure! Here is one: > > (should >(equal "{B}" > (org-test-with-temp-text > "src_lua{return string.mat

Re: org-babel: complete control over org-babel-execute-src-block behavior

2024-04-26 Thread Ihor Radchenko
you can simply set the default result type to raw in org-babel-default-header-args:julia. Then, if your org-babel-execute:julia returns a string containing Org markup, it will be interpreted as Org, unless the user explicitly chooses otherwise. -- Ihor Radchenko // yantar92, Org mode contri

Re: [PATCH] Re: [BUG] ob-shell: :shebang changes interpretation of :cmdline

2024-04-26 Thread Ihor Radchenko
ble meaning across > various languages. > - withing ob-shell variation of ways to execute a script should be > minimized either some parameters (:cmdline, :shebang, :stdin) are > specified or not. +1 ob-eval is a good candidate to implement such unified handling. -- Ihor R

[DISCUSSION] The meaning of :cmdline header argument across babel backends (was: [PATCH] Re: [BUG] ob-shell: :shebang changes interpretation of :cmdline)

2024-04-26 Thread Ihor Radchenko
troducing _two_ different header arguments - one for interpreter switches, and another for script/program switches. Say, :interpreter-cmdline and :script-cmdline. Then, we can call the current :cmdline behaviour "dwim" and allow users to be more explicit if necessary. -- Ihor Radche

Re: [BUG] org-forward-paragraph [9.6.6 (release_9.6.6 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2024-04-26 Thread Ihor Radchenko
[ Adding Org mailing list back to CC. Please use Reply All or Wide reply to keep the conversation public ] > Okay I can't reproduce with emacs -Q The next step is trying to pinpoint what is causing the problem in your config. If it is some Org mode option, please let us know. -- I

Re: columnview dynamic block - different time summing behaviour for EFFORT and CLOCKSUM

2024-04-26 Thread Ihor Radchenko
Bastien Guerry writes: > Ihor Radchenko writes: > >> Thanks! >> The patch is ready to be merged. >> Bastien, may you please confirm the FSF records? >> Alexander should have the copyright signed. > > Yes, he has, thanks! Applied, onto main. https://git.sava

Re: PATCH allow explicit style= in #+cite_export: biblatex

2024-04-26 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > Hopefully all remarks addressed.. > Best, /PA Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f124b616d -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://or

Re: columnview dynamic block - different time summing behaviour for EFFORT and CLOCKSUM

2024-04-26 Thread Ihor Radchenko
Alexander Adolf writes: > Ihor Radchenko writes: > >> [...] >>>> If you can, please add some more tests like mine checking >>>> `org-columns--clean-item'. >> [...] > > I have added one test for each new feature (headline linkification, and >

Re: org-clock-display calculate clock time record wrong

2024-04-26 Thread Ihor Radchenko
"Christopher M. Miles" writes: > I run "org-clock-display" command on an Org file. Here is the screenshot: See `org-clock-display-default-range'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Supp

Re: [BUG] org-forward-paragraph [9.6.6 (release_9.6.6 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2024-04-26 Thread Ihor Radchenko
think > my pain levels contributed to that. I am unable to reproduce the problem using the latest stable Org mode and using Org mode shipped with Emacs 29.3. May you please provide a reproducer starting from emacs -Q? See https://orgmode.org/manual/Feedback.html -- Ihor Radchenko // yan

Re: [PATCH] Re: [BUG] ob-shell: :shebang changes interpretation of :cmdline

2024-04-26 Thread Ihor Radchenko
Ihor Radchenko writes: > Max Nikulin writes: > >>> +shell-file-name >> ... >>> +(list shell-command-switch >>> + (concat (file-local-name script-file) " "

Re: FAILED test-ob-shell/bash-uses-assoc-arrays

2024-04-26 Thread Ihor Radchenko
ut off? > > /usr/share/doc/bash/NEWS.gz >> This is a terse description of the new features added to bash-4.0 since >> the release of bash-3.2. As always, the manual page (doc/bash.1) is >> the place to look for complete descriptions. Done, on main. https://git.savannah

Re: [PATCH] ox-publish: Do not store :title, :date, and :index in project cache

2024-04-26 Thread Ihor Radchenko
Ihor Radchenko writes: > This patch fixes situation when :title/:date/:index properties are > stored in the project cache and then not updated even when the > corresponding project file does get updated. Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/c

Re: [BUG] bug in 'ox-man?

2024-04-26 Thread Ihor Radchenko
Ihor Radchenko writes: >> presumably one might have backslash sequences in example blocks, or in >> the main text, or ...? i don't know enough to have any idea if there is >> some general mechanism that might solve all those. > > See the attached tentative patch

Re: PATCH allow explicit style= in #+cite_export: biblatex

2024-04-24 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > Oops, you are right. My local copy got a bit messed up. > > Here is a hopefully clean patch. I have tried it out on a local test-patch > branch of current main and it applied. Thanks! May you also add NEWS entry? Also, a few comments inline. > Subject:

Re: [PATCH] ob-lua: Support all types and multiple values in results

2024-04-24 Thread Ihor Radchenko
is also documented in the header > > ;; Requirements: > ;; for session support, lua-mode is needed. > ;; [...] > ;; However, sessions are not yet working. > > This half-finished session support should be removed, IMHO. +1 -- Ihor Radchenko // yantar92, Org mode contributor

Re: [PATCH] ob-lua: Support all types and multiple values in results

2024-04-24 Thread Ihor Radchenko
undant :version keyword from defcustom. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=252cc0be0 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, o

Re: FAILED test-ob-shell/bash-uses-assoc-arrays

2024-04-24 Thread Ihor Radchenko
"50 dl") :value nil :explanation (array-elt 0 (different-atoms >> (50 "#x32" "?2") (53 "#x35" "?5" > > My guess is that GPLv2 BASH on macOS does not support associative > arrays. Perhaps these tests should be skipped if BASH_VERSION i

Re: [PATCH] Re: [BUG] ob-shell: :shebang changes interpretation of :cmdline

2024-04-24 Thread Ihor Radchenko
/path/to/script [ARGUMENT]... Maybe instead of `process-file' we can simply use `shell-command'? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [BUG] Exporting to text fails when there are broken links

2024-04-24 Thread Ihor Radchenko
on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d6353b283 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: columnview dynamic block - different time summing behaviour for EFFORT and CLOCKSUM

2024-04-23 Thread Ihor Radchenko
adding tests, which > I'm happy to do, of course. > > Is there any way for me to run a specific subset of the tests only, for > instance "make test colview", or similar? make test BTEST_RE="test-org-colview/dblock" # the same, but do not re-compile Org mode ma

Re: Is there a way to set options *programatically* ?

2024-04-23 Thread Ihor Radchenko
of tex: option. See 13.2 Export Settings section of the manual. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: Can we add PLOT to org-element-multiple-keywords?

2024-04-23 Thread Ihor Radchenko
cumented in our manual. Though it will technically be a breaking change, so I am not 100% sure. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [POLL] Should we enable or disable automatic tag alignment by default everywhere

2024-04-23 Thread Ihor Radchenko
introduce a macro/function, it will be something like (org-align-tags-maybe) - not much different from (when org-auto-align-tags (org-align-tags)) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://li

Re: `org-emphasize' missing in the manual

2024-04-23 Thread Ihor Radchenko
ff9d00c9c -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: columnview dynamic block - different time summing behaviour for EFFORT and CLOCKSUM

2024-04-23 Thread Ihor Radchenko
Alexander Adolf writes: > Ihor Radchenko writes: > >> [...] >> Calling `org-columns--clean-item' is a must to create a valid table. > > True. > > Additionally, it would seem advisable to call `org-quote-vert' on the > data, too, as `org-columns--clean-item' does

Re: [FR] Please add custom command variable to org-latex-footnote-refere

2024-04-23 Thread Ihor Radchenko
lar options have BEHAVIOR=nil, so let's keep things consistent. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=46e13c3eb You are also listed as an Org contributor now. https://git.sr.ht/~bzg/worg/commit/ec8a1007 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more ab

Re: [PATCH] Re: [BUG] ob-shell: :shebang changes interpretation of :cmdline

2024-04-23 Thread Ihor Radchenko
l, it is not a good idea to parse the arguments on Elisp side. We should better leave this job to the shell. I propose the attached patch. >From e0cf4161b4af05c513ba402ee9625851853c9465 Mon Sep 17 00:00:00 2001 Message-ID: From: Ihor Radchenko Date: Tue, 23 Apr 2024 13:22:22 +0300 Subject: [PAT

Re: orgmode tables

2024-04-22 Thread Ihor Radchenko
Jude DaShiell writes: > Doesn't work here. Just makes the terminal beep. Using terminal Emacs? Be aware that terminals cannot emulate certain key bindings, including modifier + arrow keys. See https://orgmode.org/manual/TTY-Keys.html -- Ihor Radchenko // yantar92, Org mode contributor, Le

Re: New try at multi-lingual export to latex/pdf using pdflatex and babel

2024-04-22 Thread Ihor Radchenko
Ihor Radchenko writes: > A gentle ping. This patch is still hanging in the air. Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my

Re: Using search options in HTTP-style links

2024-04-22 Thread Ihor Radchenko
y not become a part of more general security framework in Emacs. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: `org-emphasize' missing in the manual

2024-04-22 Thread Ihor Radchenko
cl. the keybinding "C-c C-x C-f". Makes sense. Would you be interested to submit a patch? You will need to modify doc/org-manual.org file in Org repository. See https://orgmode.org/worg/org-contribute.html -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about O

Re: [FR] Add C-u and C-u C-u prefix arguments to org-paste-subtree (was: Make org-paste-subtree more predictable and useful)

2024-04-22 Thread Ihor Radchenko
Any prefix to this command will cause yank to be called directly with no special treatment. In particular, a simple C-u prefix will just plainly yank the text as it is. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Supp

Re: PATCH allow explicit style= in #+cite_export: biblatex

2024-04-22 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: >> What about something like >> >> #+cite_export: biblatex backend=bibtex,bibstyle=numeric >> > Just tested on a work document. It generates > \usepackage[backend=bibtex,bibstyle=numeric]{biblatex} > which is a perfectly valid options string for biblatex and

Re: [BUG] Some recent change broke :extend on headlines with background property [9.7-pre (release_9.6.26-1373-g5b0b7f @ /home/st/.config/emacs/.local/straight/build-30.0.50/org/)]

2024-04-22 Thread Ihor Radchenko
which commit caused this issue. > > (straight-use-package 'org) > > (require 'org) > (load-theme 'leuven t) > ... Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=1ad03e77b -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Or

Re: Trailing whitespace after export snippets without a transcoder

2024-04-22 Thread Ihor Radchenko
f of Org mode. >From 229a563dc38e1fdfd63be2dfebb1a9e9023e44b2 Mon Sep 17 00:00:00 2001 Message-ID: <229a563dc38e1fdfd63be2dfebb1a9e9023e44b2.1713812419.git.yanta...@posteo.net> From: Ihor Radchenko Date: Sun, 21 Apr 2024 15:37:18 +0300 Subject: [PATCH v2 1/2] org-export-data: Handle tr

Re: [DOC] Mismatch on doc regarding position of src block switches

2024-04-22 Thread Ihor Radchenko
or blocks (greater or lesser) don't > mention example blocks having optional switches. We deliberately limit the number of details in the syntax spec. For now, we just say that lesser blocks can have arbitrary DATA at the begin line. -- Ihor Radchenko // yantar92, Org mode contributor, Lear

Re: [BUG] Agenda query trailing spaces [9.5 (release_9.5-225-g494c20.dirty @ /Users/carlos/Install/Source/org-mode/lisp/)]

2024-04-22 Thread Ihor Radchenko
Ihor Radchenko writes: > Confirmed > > However, this behaviour seems to be partially intentional. It was > explicitly introduced in 774964adb. So, the fix may not be > straightforward. Someone needs to study the relevant agenda code. Fixed, on bugfix. https://git.savannah.gnu.org

Feedback on the new "feature" system in org-export (was: [Pre-PATCH] Overhaul of the LaTeX preview system)

2024-04-22 Thread Ihor Radchenko
similar user-defined templates + `org-latex-template' + `org-beamer-template' -> this one is important as we can partially inherit from the latex template. + `org-html-template' -> something non-LaTeX -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org m

Re: `org-element-cache-map' misses elements at end of buffer

2024-04-21 Thread Ihor Radchenko
because START was not enough when the buffer is modified by FUNC. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [FR] Please add custom command variable to org-latex-footnote-refere

2024-04-21 Thread Ihor Radchenko
May you please send the final version of the patch, against main branch rather than a series of incremental patches? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, o

Re: columnview dynamic block - different time summing behaviour for EFFORT and CLOCKSUM

2024-04-21 Thread Ihor Radchenko
org-clock to use >> `org-columns--clean-item'. >> [...] > > As a separate patch, or as a third commit to the patch we are discussing > now? Up to you. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: PATCH allow explicit style= in #+cite_export: biblatex

2024-04-21 Thread Ihor Radchenko
the options string... > Open to discuss it... May you elaborate what exactly will be improved? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: Trailing whitespace after export snippets without a transcoder

2024-04-21 Thread Ihor Radchenko
ct where transcoder returns nil. WDYT? >From 54939c4044fb407b068c0666c258ccd01e59c2af Mon Sep 17 00:00:00 2001 Message-ID: <54939c4044fb407b068c0666c258ccd01e59c2af.1713703523.git.yanta...@posteo.net> From: Ihor Radchenko Date: Sun, 21 Apr 2024 15:37:18 +0300 Subject: [PATCH 1/2] org-export-data: Handle trai

Re: [FR] Add C-u and C-u C-u prefix arguments to org-paste-subtree (was: Make org-paste-subtree more predictable and useful)

2024-04-21 Thread Ihor Radchenko
he other via the command prefix. This feature is now implemented on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=5b0b7f292 Done. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at &

Re: `org-element-cache-map' misses elements at end of buffer

2024-04-21 Thread Ihor Radchenko
. (a tricky endeavour considering all the edge cases we can encounter when there are changes in buffer while `org-element-cache-map' is mapping over it). -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <

Re: [DISCUSSION] What should we do with undocumented x^(superscript inside /round/ braces) syntax?

2024-04-21 Thread Ihor Radchenko
Ihor Radchenko writes: > Upon further examination, I found that ^:{} does accept _only_ curly > braces: > ... > So, round braces can be seen as another variant of DWIM behavior. > > I conclude that there is no reason to change the existing syntax. > > I will nee

Re: strange export problem with a file: link

2024-04-20 Thread Ihor Radchenko
er? Yes. Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=769018718 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Trailing whitespace after export snippets without a transcoder (was: [PATCH v2] org-faq.org: Inline comments)

2024-04-20 Thread Ihor Radchenko
ommit/?id=a6d9fd82e Back-end developers should pay attention to the fact that white spaces before and after an ignored export snippet now are accumulated in the output. I have no clue about the rationale of this special behaviour - it dates back to the days when Org export was merged.

Re: [PATCH] Allow external libraries (org-roam) to supply org-id locations

2024-04-20 Thread Ihor Radchenko
Ihor Radchenko writes: > Also, before we merge your patch, may I know if you discussed this > change with org-roam developers? If they do not want to use the proposed > hook, there is no reason to add it to Org mode. It has been over a month since the last message in this thread. M

Re: Pending contents in org documents (Re: Asynchronous blocks for everything (was Re: ...))

2024-04-20 Thread Ihor Radchenko
uest detailed description to be displayed. The description includes the pending region status, creation time, outcome, duration, results, errors, etc. Elisp code using this library may also supply additional details about any given reglock, via `insert-details-function' field of REGLOCK object. For ex

Re: org syntax: is \begin{equation} a latex-fragment?

2024-04-19 Thread Ihor Radchenko
complete `latex-environment'. Yes, a linter would make sense. Patches welcome! -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: columnview dynamic block - different time summing behaviour for EFFORT and CLOCKSUM

2024-04-19 Thread Ihor Radchenko
| | | [[file:/tmp/test.org::*src_elisp{"Hello"} world][world]] | TODO | B| | #+end: Note how inline src block is stripped from the link description. We should probably also change org-clock to use `org-columns--clean-item'. -- Ihor Radchenko // yantar92, Org mod

Re: `org-element-cache-map' misses elements at end of buffer

2024-04-19 Thread Ihor Radchenko
hed a test so you can reproduce the problem. In the test it > is a paragraph element that is not showing up. Thanks for reporting! Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=942a7320d -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode

Re: org-persist-write slowing down kill-buffer

2024-04-19 Thread Ihor Radchenko
rg, but there are no > LaTeX previews in the Org buffers that I run these tests on. (There > aren't even any LaTeX fragments.) > > - My org-persist-dir is 627MB in size. What is your (length org-persist--index) ? Also, it does not look like your `org-element-ast-map' is compiled. -- Ihor Radchenko //

Re: [BUG] A custom org-num-format-function causes org-latex-preview warn when it called. [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)]

2024-04-19 Thread Ihor Radchenko
Ihor Radchenko writes: > I was able to reproduce using the provided steps using the built-in Org > mode version and using the latest stable Org mode version. > However, I am unable to reproduce using the latest development Org mode > version. Handled. -- Ihor Radchenko // yantar

Re: [BUG] LaTeX preview should use a subdirectory in /tmp

2024-04-19 Thread Ihor Radchenko
Emmanuel Charpentier writes: >> What if you do M-x trace-function org-compile-file-commands > > No such function : I just have org-compile-file , which I traced. May you try the development branch of Org mode (main)? -- Ihor Radchenko // yantar92, Org mode contributor, Learn mo

Re: [BUG] org-paste-subtree level when point is in the middle of a heading (was: Make org-paste-subtree more predictable and useful)

2024-04-19 Thread Ihor Radchenko
Ihor Radchenko writes: > Steps to reproduce: > > 1. Create a file > > 1.1.1.1 > 1.1.1.2 > * 3 > ** 3.1 > *** 3.1.1 > low-level item > *** 3.1.2 > *** 3.1.3 > > 2. Copy the first two headings > 3. Move point as indicated > 4.

Re: columnview dynamic block - different time summing behaviour for EFFORT and CLOCKSUM

2024-04-19 Thread Ihor Radchenko
FAILED ob-calc/matrix-inversion >FAILED test-ob-shell/bash-uses-assoc-arrays >FAILED test-ob-shell/bash-uses-assoc-arrays-with-lists >FAILED test-org-table/sort-lines MacOS? There are known issues with locale rules in MacOS that may cause test failures. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [POLL] Should we enable or disable automatic tag alignment by default everywhere

2024-04-17 Thread Ihor Radchenko
Samuel Wales writes: > for some reason 9.6.22 says org-auto-align-tags is set to t by default. Hmm... That's a good reason. And I need to get some sleep. The default is really t. The change is still breaking though, but only for people who customized ~org-auto-align-tags~. -- Ihor Radche

Re: [BUG] LaTeX preview should use a subdirectory in /tmp

2024-04-17 Thread Ihor Radchenko
e-commands and run the preview. Then, a buffer should appear listing the command expansions used during the preview process. May you then share that buffer? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [BUG] Org-Agenda leaves frame around [9.7-pre (release_9.6.8-785-g72bbf8.dirty @ /home/bidar/.local/private/etc/emacs/lib/org/lisp/)]

2024-04-17 Thread Ihor Radchenko
ovide more details about how to reproduce? > > What do you miss after the initial details? 1. Did you start from emacs -Q? 2. What kind of protocol did you use? 3. Did you need to switch to specific Org buffer or it gotta be some an arbitrary org buffer? In other words, I need detailed step

Re: [BUG] LaTeX preview should use a subdirectory in /tmp

2024-04-17 Thread Ihor Radchenko
ute path? (plist-put (alist-get 'dvipng org-preview-latex-process-alist) :image-converter '("dvipng -D %D -T tight -o %O %F")) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development

Re: [POLL] Should we enable or disable automatic tag alignment by default everywhere

2024-04-17 Thread Ihor Radchenko
William Denton writes: > On Wednesday, April 17th, 2024 at 06:21, Ihor Radchenko > wrote: > >> I'd like to ask you, Org mode users, whether we should flip the default >> value of ~org-auto-align-tags~ to t or leave it as nil > > I use proportional fonts for regular

Re: [C-c C-q] org-set-tags-command completed tags does not contains current buffer local tags

2024-04-17 Thread Ihor Radchenko
> completion. I followed your steps starting from emacs -Q and also starting from make repro in Org git repo using Emacs master and Emacs 29. In all the cases, I am seeing all the buffer tags in the completion. I am unable to reproduce the problem. May you please provide steps to reproduce st

Re: [FR] Please add custom command variable to org-latex-footnote-reference

2024-04-17 Thread Ihor Radchenko
his command if the LaTeX class provides a different notation > command like `\\sidenote{%s%s}' that you want to use." Please explain what is the meaning of each %s in the value in the docstring. Also, please re-fill the docstring to avoid long lines. > + :group 'org-export-latex > + :

Re: [BUG] query-replace breaks org-mode [9.6.6 (release_9.6.6 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2024-04-17 Thread Ihor Radchenko
s. The default value of `org-fold-core-style' is changed to 'overlays on main to avoid this and similar problems. Handled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode&

[POLL] Should we enable or disable automatic tag alignment by default everywhere

2024-04-17 Thread Ihor Radchenko
ometimes not? >From 6f16612796076077c95176be0929677ffe8e0d3d Mon Sep 17 00:00:00 2001 Message-ID: <6f16612796076077c95176be0929677ffe8e0d3d.1713348551.git.yanta...@posteo.net> From: Ihor Radchenko Date: Wed, 17 Apr 2024 13:04:52 +0300 Subject: [PATCH] Respect `org-auto-align-tags' in all the editing commands * lisp/o

Re: [BUG] org-open-at-point not presenting links within heading

2024-04-15 Thread Ihor Radchenko
That’s not happening. If the link is IN the heading, it follows the link. If > the link is in the “body” of the heading, it simply tells me “No link to open > here” _on_ a headline, which means that point must be on * Headline, but not inside the heading body Not a bug. Canceled. -- Ihor Radc

Re: [BUG] Invalid search bound (wrong side of point) [9.6.25 ( @ /Users/cchoi/.config/emacs/elpa/org-9.6.25/)]

2024-04-15 Thread Ihor Radchenko
ot;) Does it also happen on main? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [BUG] Warning (org-element-cache): org-element--cache: Org parser error [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)]

2024-04-15 Thread Ihor Radchenko
, and that works. > > After I interrupt it, my agenda works fine until I restart Emacs and > then it happens again. > > Any ideas / hints? Thanks! Thanks for reporting! May you try to upgrade to the development version of Org mode? -- Ihor Radchenko // yantar92, Org mode cont

Re: [BUG] Unescaped #+ lines in WORG example blocks (was: [PATCH] #+begin_example lang used in manual and worg (was: [DISCUSSION] Refactoring fontification system))

2024-04-15 Thread Ihor Radchenko
Ihor Radchenko writes: >>> -#+BEGIN_EXAMPLE org >>> +#+BEGIN_EXAMPLE >>> #+STARTUP: showall indent >>> #+STARTUP: hidestars >>> #+BEGIN_EXPORT html >> >> It is not the scope of this patch but looks like missed commas to escape &

Re: New try at multi-lingual export to latex/pdf using pdflatex and babel

2024-04-15 Thread Ihor Radchenko
t if we abuse examples of this type (at the expense of > "#+latex_header:something"), or "how is this done in LaTeX?", in the end > a LaTeX manual is made instead of Org. A gentle ping. This patch is still hanging in the air. -- Ihor Radchenko // yantar92, Org mode contr

Re: [PATCH v2] org-faq.org: Inline comments

2024-04-15 Thread Ihor Radchenko
Ihor Radchenko writes: >>>> +#+begin_src org >>>> +The following line may become a patagraph separator. >>>> +@@comment: might give unexpected effect @@ >>>> +Put some text before @@comment: a better variant >>>> +@@ and after

Re: [BUG] crash [9.7-pre (release_9.6.11-927-g819cd7 @ /home/minshall/.emacs.d/straight/build/org/)]

2024-04-15 Thread Ihor Radchenko
> You are on a fairly old common from main - 5 month old. *commit

Re: Using search options in HTTP-style links

2024-04-15 Thread Ihor Radchenko
n links to PDFs or org files or whatnot. However, the question about activating a major mode on web content is a question to Emacs developers. It should be considered carefully, because activating major modes may not be safe. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more

Re: [BUG] crash [9.7-pre (release_9.6.11-927-g819cd7 @ /home/minshall/.emacs.d/straight/build/org/)]

2024-04-15 Thread Ihor Radchenko
from main - 5 month old. May you upgrade to the latest main and let us know if you keep seeing problems? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [BUG] org-speed-commands deleting headings when using mark-set [9.5.5 (release_9.5.5 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2024-04-15 Thread Ihor Radchenko
> shouldn’t delete headings even with delete-selection-mode enabled. So maybe > it’s still a bug? Yes, it is. Fixed, on bugfix. For the next bugfix release. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=4ae5cc018 -- Ihor Radchenko // yantar92, Org mode contributor, L

Re: Attributes on images (was:: Experimental public branch for inline special blocks)

2024-04-14 Thread Ihor Radchenko
ate idea I proposed that would define custom *per-backend* export rules, we will need some way to define ad-hoc markup in terms of the more traditional Org markup: @code{...} == ~code~ @bold{...} == *bold* or even @alert{...} == @bold{@italic{...}} I personally feel that b is more

Re: [PATCH 1/2] org-capture: Allow entry template to start without heading

2024-04-14 Thread Ihor Radchenko
+ ;; Prepend | when the template does not start with it + (should + (equal "| 1 |\n| 2 |\n" + (org-test-with-temp-text-in-file "| 1 |\n" +(let* ((file (buffer-file-name)) + (org-capture-templates +`(("t"

Re: org-clone-subtree-with-time-shift with reverse order

2024-04-14 Thread Ihor Radchenko
r intact. So, the change is not trivial. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [BUG] Org-Agenda leaves frame around [9.7-pre (release_9.6.8-785-g72bbf8.dirty @ /home/bidar/.local/private/etc/emacs/lib/org/lisp/)]

2024-04-14 Thread Ihor Radchenko
ocol > 2. Switch to the org-buffer > 3. C-c C-l > 4. RET <- frame closes however links isn't inserted into the target > org-buffer May you provide more details about how to reproduce? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <h

Re: [PATCH] lisp/org-clock.el (org-clock-sum): Rewrite regex using rx

2024-04-14 Thread Ihor Radchenko
Ihor Radchenko writes: > So, in the message I linked, Nicolas (the major Org mode contributor) > was not right. I hence need to fix the parser and update Org syntax > page. This includes fixing `org-element-clock-line-re' to account for > CLOCK: => 1:00 syntax. I changed the

Re: [BUG] bug in 'ox-man?

2024-04-14 Thread Ihor Radchenko
slash sequences in example blocks, or in > the main text, or ...? i don't know enough to have any idea if there is > some general mechanism that might solve all those. See the attached tentative patch. >From ef3fa244d1a32c2cce3616a6dffc9c3dcafd4e34 Mon Sep 17 00:00:00 2001 Message-ID: Fr

Re: Identical attributes id="text-table-of-contents" of div with role="doc-toc" when exporting to html when using tables of contents for multiple subheadings

2024-04-14 Thread Ihor Radchenko
Ihor Radchenko writes: >> div's for toc (with role="org-toc") in subheadings par 1 and par 2 get the >> same id : text-table-of-contents : > > Confirmed. > Timothy, could you take a look? > We could probably modify the id in `org-html-toc' when SCOPE

Re: How does =org-md-item= produce the correct indentation for nested lists?

2024-04-13 Thread Ihor Radchenko
d transcoder - CONTENTS= sub-item - sub-sub-item and add 4 spaces to each line, except first: - sub-item - sub-sub-item then, item transcoder will receive the result of the two nested transcoders: CONTENTS= item - sub-item - sub-sub-item yielding - item - sub-ite

Re: columnview dynamic block - different time summing behaviour for EFFORT and CLOCKSUM

2024-04-13 Thread Ihor Radchenko
f448640.1616496967933735...@excalamus.com/T/#t See https://orgmode.org/worg/org-contribute.html for more instructions. > I have signed FSF copyright assignment for all of Emacs, so I guess > nothing would need to be done at the paperwork level? Org mode is a part of Emacs. So, your copyright assignment

Re: [PATCH] lisp/org-clock.el (org-clock-sum): Rewrite regex using rx

2024-04-13 Thread Ihor Radchenko
(https://list.orgmode.org/orgmode/87bkg7xbxo.fsf@localhost/): > > ``` > Further, you dropped the > >((match-end 4) > ;; A naked time. > > branch of the code, which accounts for CLOCK: => HH:MM lines that are not > clock elements. > ``` Yup

Re: [BUG] Org parser error when removing latex preview [9.6.15 (release_9.6.15 @ /gnu/store/gnvv2a1nxfbibkm1wdxdv6bd6mhk4cf8-emacs-29.3/share/emacs/29.3/lisp/org/)]

2024-04-13 Thread Ihor Radchenko
sfulrq7vbvtu...@mail.gmail.com/ There is no bug on the latest development version of Org mode (main). -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [PATCH] lisp/org-clock.el (org-clock-sum): Rewrite regex using rx

2024-04-13 Thread Ihor Radchenko
> Add a clock time that does not include timestamps. > ... > - > - (goto-line 2) > + (insert (org-test-clock-create-clock ". 1:00" ". 2:00") > + "CLOCK: => 1:00\n") This is not a valid clock format. Matching such lines is a

Re: PATCH allow explicit style= in #+cite_export: biblatex

2024-04-13 Thread Ihor Radchenko
(t > (list (concat "bibstyle=" (substring style nil (match-beginning > 0))) If we allow style=..., may as well allow bibstyle= and citestyle=. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Or

Re: columnview dynamic block - different time summing behaviour for EFFORT and CLOCKSUM

2024-04-13 Thread Ihor Radchenko
point of view, having a :formatter for the columnview > dblock would be quite fabulous. 濾 This will not prevent the property values from being changed by column view. In any case, making column views more flexible is welcome. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more abou

Re: [BUG] HTML export does not preserve footnote label [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/30.0.50/lisp/org/)]

2024-04-13 Thread Ihor Radchenko
1, ^2, etc.), but the HTML >>> "id" and "href" values will be constructed based on the label of the >>> footnote, NOT its number in the sequence. See the attached tentative patch. >From 446bfc8c8afb5b2e09d0e0acf7b136b9f0780f5a Mon Sep 17 00:00:00 2001 Messa

Re: [BUG] A custom org-num-format-function causes org-latex-preview warn when it called. [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)]

2024-04-13 Thread Ihor Radchenko
using the latest stable Org mode version. However, I am unable to reproduce using the latest development Org mode version. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>,

Re: [FR] :noweb-wrap header arg

2024-04-13 Thread Ihor Radchenko
;# <<" otherwise, consider read until the first whitespace. |#<<; >>; (re-search-forward (rx (1+ (not whitespace #<<;| However, there may be edge cases like "<< >>" "<< >> << << >> << "asd" >> -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [BUG] Org parser error when removing latex preview [9.6.15 (release_9.6.15 @ /gnu/store/gnvv2a1nxfbibkm1wdxdv6bd6mhk4cf8-emacs-29.3/share/emacs/29.3/lisp/org/)]

2024-04-13 Thread Ihor Radchenko
undation, Inc. 4. emacs-29 -Q 5. C-x C-f /tmp/tmp.org 6. C-n 7. C-c C-x C-l 8. C-c C-x C-l 9. I do not observe any warnings -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: (error "Listing directory failed but ‘access-file’ worked")

2024-04-13 Thread Ihor Radchenko
.. > org-link-open-as-file("Figures/Ti19-g(w, eta={0.1,}, R=1e-3).svg" nil) Thanks for reporting! Fixed, on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=6cb088972 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https:/

Re: [BUG] Org parser error when removing latex preview [9.6.15 (release_9.6.15 @ /gnu/store/gnvv2a1nxfbibkm1wdxdv6bd6mhk4cf8-emacs-29.3/share/emacs/29.3/lisp/org/)]

2024-04-12 Thread Ihor Radchenko
: nil > Please report this issue to the Org mode mailing list using M-x > org-submit-bug-report. Thanks for reporting! I tried to follow your steps, but I am unable to reproduce the problem. May you please attach the exact problematic Org file, so that we can make sure that we do the same thing? --

Re: [PATCH] Ensure org-table-header displays without cursor inside table

2024-04-12 Thread Ihor Radchenko
Bastien Guerry writes: > Ihor Radchenko writes: > >> P.S. Bastien, may your please check Lei Zhe's copyright status? > > Yes, I confirm Lei Zhe copyright status is okay. Applied, onto bugfix. I amended the commit author field to contain the https://git.savannah.gnu.org/cgit/

  1   2   3   4   5   6   7   8   9   10   >