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

2024-05-05 Thread David Masterson
Ihor Radchenko writes: > David Masterson writes: > >> So I have this form: >> >> :exclude "\(init\|calendar-beorg\).org" >> >> but that doesn't seem to work as I get an ignorable error in processing >> calendar-beorg.org (a known Beorg issue). >> >> Is my regex wrong? > > Yes. You got to

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

2024-05-05 Thread João Pedro
Em domingo, 05/05/2024 às 18:47 (+02), Mehmet Tekman escreveu: > Hello João and org! Hi Mehmet! > This will be a long email summarizing what's been done so far, where the > pitfalls were, where we are now, and what needs to be done: Thank you for the summary. Albeit long, it was quite

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

2024-05-05 Thread András Simonyi
Thanks Ihor, I have pushed it to main. best wishes, András On Sun, 5 May 2024 at 14:13, Ihor Radchenko wrote: > > András Simonyi writes: > > > there is a rather peculiar set of numeric citation styles (perhaps > > most famously, that of Nature's) which sets citation numbers in > > superscript

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

2024-05-05 Thread Ihor Radchenko
David Masterson writes: > So I have this form: > > :exclude "\(init\|calendar-beorg\).org" > > but that doesn't seem to work as I get an ignorable error in processing > calendar-beorg.org (a known Beorg issue). > > Is my regex wrong? Yes. You got to escape the \ inside string. I recommend

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

2024-05-05 Thread András Simonyi
Dear All, there is a rather peculiar set of numeric citation styles (perhaps most famously, that of Nature's) which sets citation numbers in superscript -- similarly to footnote numbers, these citations should not have any space between them and the previous word. The attached patch checks during

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

2024-05-05 Thread Ihor Radchenko
András Simonyi writes: > there is a rather peculiar set of numeric citation styles (perhaps > most famously, that of Nature's) which sets citation numbers in > superscript -- similarly to footnote numbers, these citations should > not have any space between them and the previous word. The

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". > > So, it makes sense for

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 it is better to use more

Re: [PATCH] Add support for shortdoc link type

2024-05-05 Thread Max Nikulin
On 05/05/2024 00:33, Bruno Cardoso wrote: I updated the patch to use the optional function argument instead. Thanks +++ b/doc/org-manual.org @@ -3372,6 +3372,10 @@ Here is the full set of built-in link types: Execute a shell command upon activation. +- =shortdoc= :: + +Link to short

Re: [PATCH] Add support for shortdoc link type

2024-05-05 Thread Bruno Cardoso
On 2024-05-05, 18:01 +0700, Max Nikulin wrote: > I would consider explicit mention that it is related to Emacs Lisp and > perhaps that the origin of its name is the ~shortdoc-display-group~ user > command. might be a better link. > > This line is rather long though I do not have a link where

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

2024-05-05 Thread Bastien
Recent versions of Emacs complain about org-clock-save.el: ⛔ 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? Thanks, -- Bastien diff --git

Re: [BUG] Commit a2e5685e4 introduces a regression

2024-05-05 Thread Ihor Radchenko
Bastien writes: > Since commit a2e5685e4 ("Do not use org-fold to hide link parts"), > all parts of bracket links are entirely visible in agenda view. > > Can anyone reproduce this? Fixed, on main. I removed the folding part, but forgot to add invisible property handling.

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

2024-05-05 Thread Ihor Radchenko
Bastien writes: > This seems trivial, if nobody bites I'll apply this tomorrow. It just _seems_ trivial. This innocently-looking patch will break tests. Duplicate of https://list.orgmode.org/orgmode/875y2oxfd8@red-bean.com/T/#u Canceled. And yes, it is annoying. Just not very clear how to

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

2024-05-05 Thread Charles Millar
Please note that in the second src_latex the zero is stripped from the results. The final zero is required for my purposes, i.e. dollars and cents. This occurs in both results and on export to pdflatex, Does org's evaluation cause this or does latex? I have attempted to use the siunutx and

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

2024-05-05 Thread Charles Millar
Forgot to include that i also used the numprint package. On 5/5/24 2:30 PM, Charles Millar wrote: Please note that in the second src_latex the zero is stripped from the results. The final zero is required for my purposes, i.e. dollars and cents. This occurs in both results and on export to

[BUG] Exporting lists of >100 items to markdown

2024-05-05 Thread Bastien
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? -- Bastien bug.org Description: Lotus Organizer

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

2024-05-05 Thread Mehmet Tekman
Hello João and org! Mehmet Tekman on 29/04/2024 wrote: >> Can you wait until Sunday for me to resolve this, and then we can >> discuss? Okay, I've cleaned up my branches and rebased where I could, and now I think my code is at a place where you can jump in. This will be a long email

[BUG] Commit a2e5685e4 introduces a regression

2024-05-05 Thread Bastien
Since commit a2e5685e4 ("Do not use org-fold to hide link parts"), all parts of bracket links are entirely visible in agenda view. Can anyone reproduce this? -- Bastien

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

2024-05-05 Thread Bastien
The attached patch silences a warning. This seems trivial, if nobody bites I'll apply this tomorrow. Thanks! -- Bastien diff --git a/lisp/org-table.el b/lisp/org-table.el index 0c2dc27ed..3d40a02a1 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -2887,7 +2887,7 @@ list, `literal' is

Re: [BUG] Exporting lists of >100 items to markdown

2024-05-05 Thread Berry, Charles
Bastien, > On May 5, 2024, at 9:17 AM, Bastien wrote: > > 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? Yes. With Org mode version 9.6.6 I see that org-md-item

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=24feef95e -- Ihor

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

2024-05-05 Thread Ihor Radchenko
Bastien writes: > Recent versions of Emacs complain about org-clock-save.el: > > ⛔ 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