Re: org-babel shell in windows not finishing command

2024-05-20 Thread Ihor Radchenko
Ihor Radchenko writes: > Vlastimil Vondra writes: > >> after upgrading to 9.6. The output is exactly the same. > > It would be great if someone with access to Windows could debug this. No takers, so I went ahead with installing virtual machine. Confirmed. The culprit is

Re: [PATCH] org-manual: Rewrite opening section in Citation handling

2024-05-20 Thread Ihor Radchenko
Rens Oliemans writes: > Ihor Radchenko writes: > >> Thanks! I have incorporated all your suggestions into the new version of >> the patch (attached). > > Thanks, it looks good to me! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit

Re: Using a custom environment for a src language

2024-05-20 Thread Ihor Radchenko
re some way to tell org? > 1. Translate the headlines as its doing > 2. Leave the contents alone Not sure what you mean by (1), but you can indeed tell Org mode to treat the text inside environment verbatim. For example, using #+begin_pyt #+begin_example contents #+end_example #+end_pyt -- Iho

Re: Saving some kitten, plus some questions along the way

2024-05-20 Thread Ihor Radchenko
l FUNC in the calendar window and return to current window. > Unless KEEPDATE is non-nil, update `org-ans2' to the cursor date." You still left `org-ans2' kitten struggling, didn't you? :) > +(defun org-eval-in-calendar (form keepdate) > + (declare (obsolete org-funcall-in-cal

Re: [PATCH] function and symbol for headline and olp for org-capture-templates

2024-05-20 Thread Ihor Radchenko
ed to describe the calling convention and environment when the function spec for OLP is called - that it is called with no (or some?) arguments and that the current buffer is the FILE-visiting buffer. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://org

Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-05-20 Thread Ihor Radchenko
kward. But it is not what `org-next-link' expects. -- 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: Saving some kitten, plus some questions along the way

2024-05-19 Thread Ihor Radchenko
wkward. ] > > So far there are only two uses of `org-funcall-in-calendar` which go > through `lambda`, one of them is quoted and discussed above and the > other is the backward compatibility wrapper `org-eval-in-calendar`, so > I'm not sure it's worth the trouble. But if you want,

Re: Archive done tasks and preserve tree structure

2024-05-19 Thread Ihor Radchenko
Naresh Gurbuxani writes: > How can I get the archiving done to preserve tree structure of tasks?  > Any hope for already archived items to be reorganized? It is currently not possible. Patches welcome! -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at

Re: Saving some kitten, plus some questions along the way

2024-05-19 Thread Ihor Radchenko
ndar (form keepdate) > - "Eval FORM in the calendar window and return to current window. > +(defun org-funcall-in-calendar (func keepdate args) > + "Call FUNC in the calendar window and return to current window. Why not a macro? Having to write lambda may be awkward. --

Re: LOGBOOK drawer now being created with blank line afterwards

2024-05-19 Thread Ihor Radchenko
Kris Nelson writes: > On 2024-05-17 05:22, Ihor Radchenko wrote: >> Fixed, on main. >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=288c7069c >> >> Thanks Kris for reporting, and thanks Rens for hunting down the cause! > Thanks for the pro

Re: [BUG] cache file conflict? [9.7-pre (release_9.6.29-1441-gaa71fa @ /home/minshall/.emacs.d/straight/build/org/)]

2024-05-19 Thread Ihor Radchenko
hall/.cache/org-persist/gc-lock.eld" "minshall@archlinux (pid >> 630467)") Then, I need a backtrace. May you please enable debug-on-error and share it? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org

Re: Org 9.5 broke the rendering of my SVG images

2024-05-19 Thread Ihor Radchenko
s://stackoverflow.com/questions/27884879/how-do-i-add-alternative-text-to-an-object I see no benefits using img in our situation. -- 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: [BUG] org-table-eval-formula mishandles semicolons in formulas [9.7-pre (release_9.6.14-1019-g5092ec @ /home/nick/src/emacs/org/org-mode/lisp/)]

2024-05-19 Thread Ihor Radchenko
Ihor Radchenko writes: > Nick Dokos writes: > >> `org-table-eval-formula' interprets *any* semicolon in a formula as the >> beginning of a format specifier. So if the formula contains a literal >> semicolon that is not a format specifier >> >&g

Re: [BUG] org-publish: org-element--cache: Got empty parent while parsing [9.6.18 ( @ /home/arne/.emacs.d/elpa/org-9.6.18/)]

2024-05-19 Thread Ihor Radchenko
uce the issue. Or, alternatively, you can add (setq org-element--cache-self-verify 'backtrace) (setq org-element--cache-self-verify-frequency 1.0) to the config, and then share the long log you will see alongside the warnings with the above settings. -- Ihor Radchenko // yantar92, Org mode co

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

2024-05-19 Thread Ihor Radchenko
> ;; the field `insert-details-function' of REGLOCK object to add your > ;; own information. Please show an example how to do it here. > ;; If the user kills a buffer, or, kills Emacs, some locks may have to > ;; be killed too be killed too. The library will ask the user to ^^^

Re: [BUG] org-publish: org-element--cache: Got empty parent while parsing [9.6.18 ( @ /home/arne/.emacs.d/elpa/org-9.6.18/)]

2024-05-19 Thread Ihor Radchenko
(require 'org). > ... > On the second run I got the endless org-element-cache warnings again, > though. May you be able to make a reproducer that will demonstrate the problem with your config installed from scratch? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Or

Re: Using search options in HTTP-style links

2024-05-18 Thread Ihor Radchenko
with unified preferences. But someone™ has to do this job. As usual. -- 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] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?)

2024-05-18 Thread Ihor Radchenko
Stefan Nobis writes: > Ihor Radchenko writes: > >> It does not have to be lost. We can adjust the repeater function to >> handle negative dates/months specially, so that > >> [2024-05--1 +1m] -> [2024-06--1 +1m] > > Hmmm... I do not like, that here the wron

Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?)

2024-05-18 Thread Ihor Radchenko
Stefan Nobis writes: > Ihor Radchenko writes: > >> +1m! is awkward - what if [2024-05-12 +1m!]? > > You are right. I have not really spent time to think about a nice > syntax. But I think it needs to be encoded in the increment part, not > in the date part (because a

Re: Using a latex auxdir

2024-05-18 Thread Ihor Radchenko
Rustom Mody writes: > But I'd still like to ask: What is the correct way of having *even the tex > file* in the auxdir? Well. `org-latex-pdf-process' should be the right place to poke around. Org mode only cares about the produced file to be in the expected place and nothing more. --

Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?)

2024-05-18 Thread Ihor Radchenko
rence. > > ts.el has `ts-adjust' that may change several fields. I had in mind > specification of time interval from RFC5545 iCalendar P4h20m. We do not follow RFC5545 anywhere. The closest is org-duration, which would use 4h20min. But then one can simply use (org-time-inc 'minute (org

Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?)

2024-05-18 Thread Ihor Radchenko
Max Nikulin writes: >>> On 13/05/2024 17:07, Ihor Radchenko wrote: >>>> >>>> <2025-01-31 Fri +1m> >>>> <2025-02-28 Fri +1m> >>>> <2025-03-28 Fri +1m> >>> >>> Instead of using timestamp obtained on previo

Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?)

2024-05-18 Thread Ihor Radchenko
[2024-05-12 +1m!]? One option might be something like [2024-05--1 +1m] that will work nicely with glibc's time rounding conventions: (format-time-string "%Y-%m-%d" (encode-time '(0 0 0 -1 5 2024))) ; => 2024-04-29 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more ab

Re: Using search options in HTTP-style links

2024-05-18 Thread Ihor Radchenko
ant hyperdrive.el issues: > > - https://todo.sr.ht/~ushin/ushin/178 I think I mentioned earlier that a good way to make file links work magically is using TRAMP or `file-name-handler-alist'. > - https://todo.sr.ht/~ushin/ushin/178 You probably meant to link to some different ticket here. --

Re: [PATCH] Add org-after-note-stored-hook

2024-05-18 Thread Ihor Radchenko
e taken at the right place after subtree archival. May you try the attached patch? >From 2e24b634275c61ab913851b11d8b8f053f0f88f0 Mon Sep 17 00:00:00 2001 Message-ID: <2e24b634275c61ab913851b11d8b8f053f0f88f0.1716030861.git.yanta...@posteo.net> From: Ihor Radchenko Date: Sat, 18 May 2024 13:12:50 +0200 S

Re: [BUG] org-publish: org-element--cache: Got empty parent while parsing [9.6.18 ( @ /home/arne/.emacs.d/elpa/org-9.6.18/)]

2024-05-18 Thread Ihor Radchenko
for good syntax > highlighting) which then displays the warnings in the *Warnings* buffer. What if you use the dev version of Org mode? -- 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-capture does not work if called from minibuffer (Org mode version 9.6.10 (9.6.10-n/a-g902975)

2024-05-18 Thread Ihor Radchenko
': Can't expand minibuffer to full frame. Thanks for reporting! Do you see the problem when using the latest development version of Org mode? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://libe

Re: [PATCH] lisp/org-capture.el: Restore org-store-link-plist

2024-05-18 Thread Ihor Radchenko
it/emacs/org-mode.git/commit/?id=0ebb36cae Thanks for your contribution! -- 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: Testing issues for Ada/SPARK support in Babel

2024-05-18 Thread Ihor Radchenko
tead extend ob-core to handle your needs? For example, we can add abnormal hooks executed before `org-babel-tangle' populates the target buffer? Or introduce a backend-specific hook like org-babel-post-tangle-hook:ada? > --- /dev/null > +++ b/testing/lisp/test-ob-ada-spark.el > ... > + >

Re: Exporting user labels to non-latex backends

2024-05-17 Thread Ihor Radchenko
the utility of the Markdown export for many use cases, and deviates no more from the original specification that the current method. Please, provide more context about the problem you are trying to solve. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmo

Re: [PATCH] oc-csl: New custom option `org-cite-csl-sentence-case-bibtex-titles'

2024-05-17 Thread Ihor Radchenko
András Simonyi writes: > On Sat, 11 May 2024 at 19:24, Ihor Radchenko wrote: > >>> > since bibtex and biblatex requires title fields to be in title case >> Are you sure? AFAIK, bibtex and biblatex (depending on the bibstyle) >> does not care about capitalizati

Re: [PATCH] function and symbol for headline and olp for org-capture-templates

2024-05-17 Thread Ihor Radchenko
not work how I was hoping for. Basically, I wanted it to be possible > to search for headlines and even outline paths in the > buffer while in the function. But, by expanding outline-path before setting > the buffer (by calling outside of `org-find-olp') that > becomes infeasible. I thin

Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]

2024-05-17 Thread Ihor Radchenko
printf ... command does not work with my shell: /bin/bash: line 1: printf: warning: `': invalid time format specification /bin/bash: line 1: printf: `T': invalid format character %(0.00 May you try to use the development version of Org mode and let me know if you keep seeing the warning? -- I

Re: [BUG] Incorrect time calculation in agenda clockcheck

2024-05-17 Thread Ihor Radchenko
ble to ... or even "No end time: (in 0:05)". I find this confusing, so I left -0:05. -- 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] cache file conflict? [9.7-pre (release_9.6.29-1441-gaa71fa @ /home/minshall/.emacs.d/straight/build/org/)]

2024-05-17 Thread Ihor Radchenko
<7f208e8802ed10017cce094114d395698523beec.1715945418.git.yanta...@posteo.net> From: Ihor Radchenko Date: Fri, 17 May 2024 14:28:48 +0300 Subject: [PATCH] lisp/org-persist.el: Ignore lock files when writing cache * lisp/org-persist.el (org-persist--write-elisp-file): Unlock file before writin

Re: LOGBOOK drawer now being created with blank line afterwards

2024-05-17 Thread Ihor Radchenko
ously (9.5.5). Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=288c7069c Thanks Kris for reporting, and thanks Rens for hunting down the cause! -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Suppo

Re: Using a latex auxdir

2024-05-17 Thread Ihor Radchenko
quot; )) > > But this confuses org and I dont get C-c C-e l p generating from the old > org file. > I thought the mv which moves the generated tex file into the auxdir is > confusing org. > But removing it does not help. > > Any suggestions? What do you see in *Org PD

Re: org-table-row face

2024-05-17 Thread Ihor Radchenko
Colin Baxter writes: > > Would it help if I add a link to that manual page from ORG-NEWS? > > Yes, thanks again. Done. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=ea8ed59c0 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mo

Re: [PATCH] org-manual: Rewrite opening section in Citation handling

2024-05-17 Thread Ihor Radchenko
ying diff is easy - easier than manually editing the changes according to comments in the email. >From 751d73fd0ae00a9a017cd73d5c6c7b2eb7412b5b Mon Sep 17 00:00:00 2001 Message-ID: <751d73fd0ae00a9a017cd73d5c6c7b2eb7412b5b.1715943408.git.yanta...@posteo.net> From: Ihor Radchenko Date: Mon, 6 Ma

Re: LOGBOOK drawer now being created with blank line afterwards

2024-05-16 Thread Ihor Radchenko
So, what you see is a bug. -- 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-05-15 Thread Ihor Radchenko
Ihor Radchenko writes: >> ... >> 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

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

2024-05-15 Thread Ihor Radchenko
Ihor Radchenko writes: > Charles Choi writes: > >> Got this warning when running Org Agenda, thought I'd report it in. >> >> ⛔ Warning (org-element-cache): org-element--cache: Org parser error in >> 2024_04_07.org::#. Resetting. >> The error was: (err

Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?)

2024-05-14 Thread Ihor Radchenko
Max Nikulin writes: > On 13/05/2024 17:07, Ihor Radchenko wrote: >> >> However, there are still some issues remaining. >> When updating timestamps repeating monthly across months with 30, 31, >> and 28 days we get >> >> <2025-01-31 Fri +1m> &

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

2024-05-14 Thread Ihor Radchenko
is complete. It has been one month since the last activity in this thread. May I know if you got any reply from FSF? -- 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: org-table-row face

2024-05-13 Thread Ihor Radchenko
e remedy opaque: "org-table-row face can be changed from inherit from > default face". What do I actually have to do to achieve this? Set 'inherit property of the face. For example, see 51.1.5 Customizing Faces. Would it help if I add a link to that manual page from ORG-NEWS? -- Ihor R

Re: [PATCH] Ability to specify :html-head as a function

2024-05-13 Thread Ihor Radchenko
le to use multiple headline properties > "#+EXPORT_HTML_HEAD" in a file. > +;; The results of each occurrence will be joined by a newline to form > the final string > + ;; included in the section. > +;; TODO: Test/verify this works still. See: `org-export-op

Re: [PATCH] Fix regex for determining image width from attribute

2024-05-13 Thread Ihor Radchenko
Date: Thu, 9 May 2024 17:32:54 +0700 > Subject: [PATCH] ORG-NEWS: Reword inline image width note Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=b4d17c062 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <http

Re: [PATCH] Fix regex for determining image width from attribute

2024-05-13 Thread Ihor Radchenko
at #+attr_html casts shadow on #+attr_md. Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f326cd58b -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org

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

2024-05-13 Thread Ihor Radchenko
Ihor Radchenko writes: > In the attached patch, I am changing all the commands in Org mode, > including "self-insert" and "delete-backwards" to respect this option. Given positive responses, I have applied the patch onto main. Applied, patch. Closed, poll. https:/

Re: nested blocks in org

2024-05-13 Thread Ihor Radchenko
Ihor Radchenko writes: > mahmood sheikh writes: > >> with the given minimal example: >> ``` >> #+begin_parent >> #+begin_child >> #+end_child >> #+end_parent >> ``` >> the code >> ```lisp >> (org-block-map (lambda () (messag

Re: [Worg] Keep table of contents visible in wide viewports?

2024-05-13 Thread Ihor Radchenko
-width: 100em) { #table-of-contents #text-table-of-contents { display: block;}} However, it looks distracting, IMHO. (I tried on https://orgmode.org/worg/org-tutorials/index.html) If we want to display TOC all the time on wide screens, we should change the TOC style to be more subtle. Creativ

Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?) (was: Leap-year bug with todo-cycle)

2024-05-13 Thread Ihor Radchenko
Ihor Radchenko writes: >> I have a TODO-entry which looks like this: >> >> SCHEDULED: <2024-02-29 Thu ++1y> >> >> When I cycle the TODO-entry with c-c c-t it becomes >> >> SCHEDULED: <2025-03-01 Sat ++1y> > > This is expected. When we

Re: Testing issues for Ada/SPARK support in Babel

2024-05-13 Thread Ihor Radchenko
Ihor Radchenko writes: > Francesc Rocher writes: > >> I'm starting from scratch the set of tests for Ada/SPARK support in Babel. >> I've prepared a file with the first example: > ... It has been a while since the last update in this thread. May I know if you need any hel

Re: [PATCH] Fix some emacs-30 byte-compile warnings

2024-05-12 Thread Ihor Radchenko
Ihor Radchenko writes: > It is clearly a bug of some kind - the code is not doing what it > intended originally. But we need to understand org-table.el better to > fix this... Upon further review, I dropped that branch of if completely. https://git.savannah.gnu.org/cgit/emacs/org

Re: [BUG] Fontification of scheme code blocks

2024-05-12 Thread Ihor Radchenko
Ihor Radchenko writes: > We have recently got WORG build failures because running scheme-mode > spawns an interactive prompt to select Scheme implementation. > > This happens when Org export attempts to fontify scheme source blocks, > and calling major mode (scheme-mode) expects u

Re: Is it possible to embed youtube video in wordpress post created with org2blog

2024-05-12 Thread Ihor Radchenko
you can define a custom link type as described in https://bitspook.in/blog/extending-org-mode-to-handle-youtube-links/ or as done in https://github.com/TobiasZawada/org-yt Although, you may need to adjust things for org2blog export backend, which is not html AFAIU. -- Ihor Radchenko // yantar92, Org mode

Re: Q: org-publish-project-alist and :exclude

2024-05-12 Thread Ihor Radchenko
e too soon -- I'm still getting the same error about expecting a > string. You mentioned '`' above, but use ',' in your manual diff. I > tried both (along with rx-to-string). Check out https://www.gnu.org/software/emacs/manual/html_node/elisp/Backquote.html -- Ihor Radchenko //

Re: How to organize tasks about Worg within Worg documents

2024-05-12 Thread Ihor Radchenko
rees hidden with :noexport: tag. Such half-ready subtrees are not really ready for normal viewing and are mostly a material for WORG hackers to work on. Not sure how they fit into the discussed todo records and notes concept. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about O

Re: [PATCH] Add option to export mixed Setext and ATX-style Markdown headlines

2024-05-12 Thread Ihor Radchenko
sting set of the possible options. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=1a7d7a5a5 https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=fffb87174 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support

Re: [FR] :noweb-wrap header arg

2024-05-12 Thread Ihor Radchenko
ks good. I am not yet merging it though - let's have all the patches you plan for the new noweb-wrap argument first and then apply them together. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <

Re: Update contact info

2024-05-12 Thread Ihor Radchenko
Amy Grinn writes: > Bastien Guerry writes: > >> Ihor Radchenko writes: >> >>> Bastien, may you check which name is used in the FSF records? >> >> I've taken this offlist. > > The name in the FSF records should be correct now. Bastien, may you pl

Re: [PATCH] Add option to export mixed Setext and ATX-style Markdown headlines

2024-05-11 Thread Ihor Radchenko
so Org mode already falls back to atx in >2 levels. -- 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] Support headline as a function for file+headline target for org-capture-templates

2024-05-11 Thread Ihor Radchenko
d I go about testing different parameter types such as function > and symbol? I do not think that you need to modify `org-find-olp' itself. Instead, do what is already done for resolving the file name: (org-find-olp (cons (org-capture-expand-file path) (org-capture-expand-olp outline-path))) `or

Re: [PATCH] oc-csl: New custom option `org-cite-csl-sentence-case-bibtex-titles'

2024-05-11 Thread Ihor Radchenko
h conversion should only happen in titles, AFAIU; not in other fields. > Subject: [PATCH] oc-csl: New custom option > `org-cite-csl-sentence-case-bibtex-titles' I see no problem with the new feature, but I'd consider flipping the default to nil. -- Ihor Radchenko // yantar92, Org mode contribu

Re: [PATCH] Add org-after-note-stored-hook

2024-05-11 Thread Ihor Radchenko
. For example, in agenda buffer. I doubt that the users of this hook will expect such a thing. It will probably be better to run such new hooks right before (message "Note stored") in `org-store-log-note'. -- 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-tree-to-indirect-buffer does not respect org-indirect-buffer-display value

2024-05-11 Thread Ihor Radchenko
> 'current-window when the function is called with a prefix arg. > However, without prefix arg, 'current-window and 'other-window are > treated the same and call to `split-window' is made. Thanks for reporting! Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/com

Re: Flyspell process called frequently when using Org export (was: Flyspell causes severe slowdown when manipulating footnotes)

2024-05-11 Thread Ihor Radchenko
Ihor Radchenko writes: >> A new Ispell process started on export. > ... > Confirmed. > This is because `org-html-final-function' uses `mhtml-mode' to indent the > resulting html file. `mhtml-mode' unconditionally runs `prog-mode-hook' > thus starting Ispell. > > W

Re: [PATCH] org-manual: Rewrite opening section in Citation handling

2024-05-11 Thread Ihor Radchenko
6e5b2c678a18a772f338162fbfb9d2626b9317 Mon Sep 17 00:00:00 2001 Message-ID: From: Ihor Radchenko Date: Mon, 6 May 2024 11:40:18 +0300 Subject: [PATCH v2] org-manual: Add better opening description to "Citation handling" section * doc/org-manual.org (Citation handling): Rewrite th

Re: [PATCH] Add new option 'org-imenu-flatten'

2024-05-11 Thread Ihor Radchenko
Ihor Radchenko writes: > Morgan Smith writes: > >> * lisp/org/org-compat.el: Add definition of 'org-imenu-flatten'. >> (org-imenu-get-tree): Use 'org-imenu-flatten'. >> --- >> >> Hello! >> >> I've been using this patch for a bit and I quite like

Re: [DISCUSSION] Sorting strings in Org mode vs. system locale

2024-05-11 Thread Ihor Radchenko
tps://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=413192698 I replaced the two fallback variants with #'string< and custom downcase function with a single fallback that uses `compare-strings'. Closed. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at &l

Re: [BUG] inline src blocks in caption of not-inline src blocks do not execute

2024-05-11 Thread Ihor Radchenko
Ihor Radchenko writes: >>> It was a slip when the patch was applied. >>> May you please explain more about {{{results(=value=)}}} problem? >>> Isn't it sufficient to do src_elisp[:results verbatim]{'value} >>> {{{results(=value=)}}}? >> >&

Re: [BUG] org-insert-heading changed behavior with Emacs 29.2 [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/29.2/lisp/org/)]

2024-05-10 Thread Ihor Radchenko
Ihor Radchenko writes: > The number of blank lines after newly inserted is not defined by Org > mode, unlike the number of blank lines before heading that is controlled > by `org-blank-before-new-entry'. > ... > Would it make sense to add a new `org-blank-after-new-entry'

Re: [PATCH] Add org-after-note-stored-hook

2024-05-09 Thread Ihor Radchenko
should > stop using it. It just went unnoticed. Thanks for the bump! -- 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] clocktable match doesn't seem to support matching items based on parent property [9.6.15 (release_9.6.15 @ /snap/emacs/current/usr/share/emacs/29.3/lisp/org/)]

2024-05-09 Thread Ihor Radchenko
is not > ~nil~. LEVEL is not an arbitrary property. It is headline level. I am not sure what you got things "work" when you enable property inheritance - not for LEVEL. Not a bug. Canceled. In future, the plan is to adopt org-ql syntax for matching headlines. It will be more flexible

Re: Info manual looks funny because of tables and footnotes

2024-05-09 Thread Ihor Radchenko
calculation is approximate, suffering from edge cases like described. -- 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-store-link-functions advertizes that the first non-nil return value is used, but it is not how org-store-link handles it (was: [BUG] org-create-file-search-functions and description [9.5

2024-05-09 Thread Ihor Radchenko
Ihor Radchenko writes: > Max Nikulin writes: > >> There is the `org-store-link-plist' variable used by :store functions >> from `org-link-parameters' but not by the >> `org-create-file-search-functions' hook. Maybe it is enough to add > > Reading through `org-s

Re: [BUG] org-create-file-search-functions and description [9.5.5 (release_9.5.5 @ /usr/share/emacs/29.0.50/lisp/org/)]

2024-05-09 Thread Ihor Radchenko
Ihor Radchenko writes: > This makes sense. Instead of making `org-create-file-search-functions' > return a cons cell, we can use the same scheme as in > `org-store-link-functions' where the functions can call > `org-link-store-props' inside to set e.g. the description. Fixed, on

Re: [PATCH] Fix a possibly problematic string comparison

2024-05-09 Thread Ihor Radchenko
/emacs/org-mode.git/commit/?id=bd5665e01 I went with the non-breaking change. -- 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] Search leaves draws open [9.7-pre (release_9.6.10-835-gf3de4c @ ~/.emacs.d/org-mode-git/lisp/)]

2024-05-09 Thread Ihor Radchenko
. On main, the default folding style is back to overlays, unless old Emacs version is used. For overlays, the bug is fixed. For, text properties, the whole implementation of isearch support is a fragile hack. Wontfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=24c4a40f7 -- Ih

Re: [WORG] 2680e65 * org-maintenance.org (Copyright assignments): Minor improvements

2024-05-08 Thread Ihor Radchenko
Ihor Radchenko writes: >> FWIW, I'd be inclined to leave the task for future action, perhaps >> changing it to a WAITING keyword with a state-change note explaining the >> status (that's what I use in my system, anyway). But if you disagree, I >> won't argue. >

Re: [PATCH] Fix regex for determining image width from attribute

2024-05-08 Thread Ihor Radchenko
ions take 33%. > > : #+attr_html: :width 33% > : #+attr_org: :width 0.7 > : [[image.png]] May you convert your suggestion into a patch? -- 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: [DISCUSSION] Sorting strings in Org mode vs. system locale

2024-05-07 Thread Ihor Radchenko
nsistent with Emacs here. > I would consider a setter function for `org-sort-function' to avoid > branches based of `func-arity' in `org-string<'. Setter is not reliable when setq is used, so I prefer arity check. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more abo

Re: [PATCH] Remove warning about org-clock-save.el lacking lexical-binding directive

2024-05-07 Thread Ihor Radchenko
Ihor Radchenko writes: >> ⛔ Warning (lexical-binding): File >> /home/bzg/.emacs.d/org-clock-save.el lacks `lexical-binding' >> directive on its first line >> >> The attached patch should fix this. Is it okay to add it to bugfix? > > I think that

Re: Q: org-publish-project-alist and :exclude

2024-05-07 Thread Ihor Radchenko
t making the complex example in 14.3.2 of the Org Manual use a > better example regex (in rx form?) as a hint to what :exclude can do? Sure. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=773bba92a -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at

Re: Bug: Final zero after decimal point is stripped when inline code evaluated

2024-05-06 Thread Ihor Radchenko
Max Nikulin writes: > On 06/05/2024 19:44, Ihor Radchenko wrote: >> Charles Millar writes: >>> #+NAME: TABLE2 >>> |22578.60| >>> >>> src_latex[:var printthis=TABLE2[-1,-1] :eval yes :results replace >>> :exports res

Re: [PATCH] test-org-macro.el: Add test for CVE-2024-30202 (was: Re: [ANN] Emergency bugfix release: Org mode 9.6.23)

2024-05-06 Thread Ihor Radchenko
Max Nikulin writes: > On 25/03/2024 00:16, Ihor Radchenko wrote: >> >> I just released Org mode 9.6.23 that fixes several critical >> vulnerabilities. > > Since a variant of exploit has been published, it is time to add a test > that might prevent code change

Re: [ANN] lisp/ob-tangle-sync.el

2024-05-06 Thread Ihor Radchenko
(org-babel-get-header-arg :results params) ; get parsed parameter (org-babel-get-header-arg :results params 'raw) ; get raw parameter Then, babel backends will not need to know the internal details about :results parameter being represented in its two forms stored as :results and as :result-params. -

Re: [ANN] lisp/ob-tangle-sync.el

2024-05-06 Thread Ihor Radchenko
eeds to be done: > ... Thanks a lot for taking a time to write this summary! -- 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: Final zero after decimal point is stripped when inline code evaluated

2024-05-06 Thread Ihor Radchenko
When you assign :var, Org mode reads the table data, converting it to number. When numbers are considered, 22578.60 and 22578.6 are the same thing. If you want to retain the non-significant zeros in numbers, you need to use strings inside the table: #+name: TABLE2 |"22578.60"| Not a bug.

Re: [PATCH] oc-csl: Remove spaces before citations in superscript

2024-05-06 Thread Ihor Radchenko
András Simonyi writes: > Thanks Ihor, I have pushed it to main. Thanks! Applied. <- a control message for Woof! https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=288e0a11c ^ reference to make life easier when digging mailing list archives for future maintainers. --

Re: [BUG] tracker.orgmode.org does not track anything since March 8, 2024

2024-05-06 Thread Ihor Radchenko
Bastien Guerry writes: > Ihor Radchenko writes: > >> Woof! does not seem to update the new emails any more. >> https://tracker.orgmode.org/?sorting-by=date page only contains emails >> back from March. No new bugs/requests/news are visible. > > I restarted Woof, l

[PATCH] org-manual: Rewrite opening section in Citation handling

2024-05-06 Thread Ihor Radchenko
age-ID: <89e5bd96a1219e85f8e6be7a6eabb840257b021a.1714984945.git.yanta...@posteo.net> From: Ihor Radchenko Date: Mon, 6 May 2024 11:40:18 +0300 Subject: [PATCH] org-manual: Add better opening description to "Citation handling" section * doc/org-manual.org (Citation handling):

Re: [PATCH] Silence a warning in org-table.el

2024-05-05 Thread Ihor Radchenko
how to address correctly. -- 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] Remove warning about org-clock-save.el lacking lexical-binding directive

2024-05-05 Thread Ihor Radchenko
t to bugfix? I think that it is premature. This is a warning recently introduced on Emacs master, and it is still being debated upon. See https://yhetil.org/emacs-devel/50e29988-d354-4d10-990f-31828dbe6...@gmail.com/t/#u -- Ihor Radchenko // yantar92, Org mode contributor, Learn more abo

Re: [BUG] Commit a2e5685e4 introduces a regression

2024-05-05 Thread Ihor Radchenko
operty handling. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=c8bd2092b -- 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 lists of >100 items to markdown

2024-05-05 Thread Ihor Radchenko
Bastien writes: > Exporting the attached document with a list of >100 items results in a > misformed markdown list, with missing spaces at the beginning of items. > > Can anyone reproduce this? Fixed, on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=24fe

Re: Q: org-publish-project-alist and :exclude

2024-05-05 Thread Ihor Radchenko
e the \ inside string. I recommend using `rx' instead to avoid the backslash hell. -- 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] oc-csl: Remove spaces before citations in superscript

2024-05-05 Thread Ihor Radchenko
revious word. The attached > patch checks during export whether a citation is produced by a CSL > style belonging to this category and removes any leading space > present. LGTM. Feel free to push. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://or

Re: [DISCUSSION] Sorting strings in Org mode vs. system locale (was: test-org-table/sort-lines: Failing test on macOS)

2024-05-05 Thread Ihor Radchenko
Ihor Radchenko writes: >> The only additional consideration is that compare function should be >> configurable. If a user access same files from Linux and macOS then it >> may be really annoying to get different order of entries in agenda. For >> most of Linux users

Re: [PATCH] Run latex more than once for LaTeX src block evaluation

2024-05-05 Thread Ihor Radchenko
Ihor Radchenko writes: > (setq org-preview-latex-default-process 'dvisvgm) > > #+begin_src latex :results file link :file test.png > x^2 > #+end_src > > #+RESULTS: > [[attachment:test.png]] > > ^ This is actually an svg image, renamed to "test.png"

  1   2   3   4   5   6   7   8   9   10   >