#2 [[bbb:OrgMeetup]] on Wed, Sep 13, 19:00 UTC+3

2023-08-23 Thread Ihor Radchenko
Dear all, The last meetup [1] turned out quite successful. Let's continue. [1] https://list.orgmode.org/877cq38gdt.fsf@localhost/ (meetup notes) URL: https://bbb.emacsverse.org/b/iho-h7r-qg8-led Time & Date: <2023-09-13 Wed 19:00-21:00 @+03,Europe/Istanbul> The room will be open half an hour bef

[PATCH] Raise gc-cons-threshold for org-element-cache-map

2023-08-23 Thread Allen Li
Attached patch, I think it's self-explanatory so the commit message is reproduced here: org-element: Raise gc-cons-threshold for org-element-cache-map This garbage collects many times when calling org-get-buffer-tags (such as during tag completion) in a large file with many tags. Raise gc-cons-t

Re: [BUG] bug fix with inline figure generated by org-octave [9.7-pre (release_9.6.7-662-gb89bc5)]

2023-08-23 Thread Ihor Radchenko
Shervin Safavi writes: > In "ob-octave.el" line 94, instead of > > (format "print -dpng %S\nans=%S" gfx-file gfx-file)) > > should be > > (format "print -dpng %s" gfx-file)) > > otherwise, the figure is not saved (and thus an empty inline figure will > appear). Thanks for the report and for the

Re: [BUG] Hang on latex preview [9.7-pre (release_9.6.7-661-g34ee6f @ /home/csj7701/.emacs.d/straight/build/org/)]

2023-08-23 Thread Ihor Radchenko
Project writes: > I take class notes using latex. I > use org-fragtog to automatically > preview inline latex snippets as I type. My org documents are usually > > full of small snippets of latex: > — > E.G.: > > > > Basic Addition > > > $5+5 = 5\( > --- > Lately, whenever I write a n

Re: [BUG] Warning when creating preview

2023-08-23 Thread Ihor Radchenko
Edgar Lux writes: > * Steps to reproduce > > 1. Type this equation > >#+begin_quote >\begin{gather} >t = 0 >\end{gather} >#+end_quote > > 2. Ask for preview =C-c C-x C-l= with point on the equation > > 3. Ask to remove preview (without moving point) =C-c C-x C-l= > > 4. You ge

[BUG?] Matching tags: & operator no more implicit between tags and special property

2023-08-23 Thread Samuel Loury
Hi. I've been using org-mode as PKMS for 13 years. Thanks for that awesome tool. After upgrading on main yesterday, I realized a change of behavior. I'm not sure whether it is a bug or not. The following tags query used to implicitly behave as a AND "-tag-TODO=\"TODO\"". It does not anymore. To

Re: [BUG] Bulk scattering breaks when logging rescheduling [9.7 (9.7-??-6eb773053 @ /home/shortcut/.emacs.d/.local/straight/build-28.1/org/)]

2023-08-23 Thread Ihor Radchenko
spookygos...@gmail.com writes: > Bulk scattering agenda items when the user wants to log reschedules does not > work. > > Steps to reproduce: > 1. Set `org-log-reschedule' to the value `"time"' Should value 'note. Confirmed. The proper fix is re-writing note taking system to use recursive edi

Re: org-cite: how to force a reparsing of the .bib file

2023-08-23 Thread Ihor Radchenko
Leo Butler writes: > Does org-cite monitor contents or the timestamp? > I am using a symlink to the bib file. Timestamp. Does the attached patch fix the problem? >From 39b503301fc7a3ea68733dfd9e4391e3f84efec8 Mon Sep 17 00:00:00 2001 Message-ID: <39b503301fc7a3ea68733dfd9e4391e3f84efec8.169278

Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?

2023-08-23 Thread Ihor Radchenko
Bastien Guerry writes: > "Fraga, Eric" writes: > >> I'll chime in regarding inlinetasks: I used to use these *a lot* but I >> found that drawers do what I needed in almost all cases very >> effectively (for my use cases). > > It resonates with my experience too and I suspect (and kinda hope) > m

Re: [patch] Fix inner smart quotes in French

2023-08-23 Thread Ihor Radchenko
Bastien Guerry writes: > From the same quick look, I believe `org-export-dictionary' contains > more entries than other variables--we could use languages names from > this variable. > > WDYT? Agree. We can factor out the language names into a separate constant and then use that constant as a so

Re: org-element: headline's :title is sometimes string, sometimes list

2023-08-23 Thread Ihor Radchenko
Hraban Luyat writes: > I expect: "string" everywhere. > > I get: > > Headline title from map is of type: cons > Headline title from context is of type: string > Headline title from at-point is of type: string > > Question 1: Do you know what that `cons' structure is? Where is it >

org-element--cache: Warning(izt.org): Got element without parent (cache active?: t)

2023-08-23 Thread Gregor Zattler
Dear Ihow, I caught another org-element-cache warning. I started Emacs (after having problems with a botched configuration, which in turn uses babel...) and called the agenda like so: (defun gz/org-agenda-list () "Show Org Agenda starting yesterday." (interactive) (org-agenda-list 0

Re: [PATCH] Raise gc-cons-threshold for org-element-cache-map

2023-08-23 Thread Ihor Radchenko
Allen Li writes: > Attached patch, I think it's self-explanatory so the commit message is > reproduced here: > > org-element: Raise gc-cons-threshold for org-element-cache-map Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=c905565fa -- Ihor Radchenk

Re: [BUG?] Matching tags: & operator no more implicit between tags and special property

2023-08-23 Thread Jens Schmidt
Thanks for the detailed report! On 2023-08-23 09:57, Samuel Loury wrote: > The following tags query used to implicitly behave as a AND > "-tag-TODO=\"TODO\"". > Before commit f689eb44f175fbbdc4e8ef0ad6f5201b10863438, this showed only > "nothing", as expected. That was my short-sighted attempt

Re: [BUG?] Matching tags: & operator no more implicit between tags and special property

2023-08-23 Thread Ihor Radchenko
Samuel Loury writes: > The following tags query used to implicitly behave as a AND > "-tag-TODO=\"TODO\"". > > It does not anymore. Thanks for reporting! Confirmed. Jens, we got an edge case with "-", after all. What is happening here is that the new parser (https://orgmode.org/list/9132e58f-d

Re: [BUG?] Matching tags: & operator no more implicit between tags and special property

2023-08-23 Thread Ihor Radchenko
Jens Schmidt writes: > OTOH, the unquoting ("\\-") that has been in place before above commit > was broken, which might serve as a hint that few to none actually use > minus signs in property names, at least not in queries. > > Ihor, WDYT? I can (with the necessary delay to allow for proper > te

Re: [BUG?] Matching tags: & operator no more implicit between tags and special property

2023-08-23 Thread Jens Schmidt
On 2023-08-23 12:31, Ihor Radchenko wrote: > Jens, we got an edge case with "-", after all. > > What is happening here is that the new parser > (https://orgmode.org/list/9132e58f-d89e-f7df-bbe4-43d53a236...@vodafonemail.de) > treats the above match string as > > property "tag-TODO" not equal "T

Re: org-element--cache: Warning(izt.org): Got element without parent (cache active?: t)

2023-08-23 Thread Ihor Radchenko
Gregor Zattler writes: > Dear Ihow, I caught another org-element-cache warning. > I started Emacs (after having problems with a botched > configuration, which in turn uses babel...) and called > the agenda like so: > > (defun gz/org-agenda-list () > "Show Org Agenda starting yesterday." >

Re: Wider margins on text, but no margins on tables?

2023-08-23 Thread Ihor Radchenko
William Denton writes: > But for tables it can be a problem because sometimes I have a table that i > want > as wide as possible. Is there a way to have tables fit inside the > margin-width > settings until they get too wide, then expand out? That way a small table > isn't > flush left, b

Re: [Pre-PATCH v2] Add the capability to specify lexical scope in tangled files (was: Add new :lexical header argument)

2023-08-23 Thread Ihor Radchenko
Ihor Radchenko writes: > What about generalizing the idea and providing a way to set Emacs > buffer-local variables in the tangled files? > > Can be something like: > > #+begin_src elisp :file-locals (lexical-binding t eval (line-number-mode)) Over one month have passed since the last message in

Re: org-element--cache: Warning(izt.org): Got element without parent (cache active?: t)

2023-08-23 Thread Gregor Zattler
Hi Ihor, * Ihor Radchenko [2023-08-23; 10:53 GMT]: > Gregor Zattler writes: >> ■ Warning (org-element-cache): org-element--cache: Warning(izt.org): Got >> element without parent (cache active?: t). Please report it to Org mode >> mailing list (M-x org-submit-bug-report). >> (node-property (:s

Re: [RFC] Quoting property names in tag/property matches [Was: [BUG?] Matching tags: & operator no more implicit between tags and special property]

2023-08-23 Thread Jens Schmidt
> On 2023-08-23 12:31, Ihor Radchenko wrote: > >> Jens, we got an edge case with "-", after all. >> >> What is happening here is that the new parser >> (https://orgmode.org/list/9132e58f-d89e-f7df-bbe4-43d53a236...@vodafonemail.de) >> treats the above match string as >> >> property "tag-TODO" not

Re: org-cite: how to force a reparsing of the .bib file

2023-08-23 Thread Leo Butler
On Wed, Aug 23 2023, Ihor Radchenko wrote: > Leo Butler writes: > >> Does org-cite monitor contents or the timestamp? >> I am using a symlink to the bib file. > > Timestamp. > > Does the attached patch fix the problem? Thanks, Ihor. To avoid an unneeded setq, I applied the patch: (dolis

How to solve "Warning (emacs): Please update the LaTeX src-block-backend to listings"

2023-08-23 Thread Guillaume MULLER
Hi, I'm trying to create a code block with some latex code to be interpreted inside. I only knew lstlistings until now. Page https://orgmode.org/manual/Source-blocks-in-LaTeX-export.html lists Engraved and Minted as possible backend. https://list.orgmode.org/87wnf1z1w8@gmail.com/T/ also l

Re: org-element: headline's :title is sometimes string, sometimes list

2023-08-23 Thread Hraban Luyat
Thank you Ihor. On 8/23/23 5:49 AM, Ihor Radchenko wrote: > Hraban Luyat writes: > >> I expect: "string" everywhere. >> >> I get: >> >> Headline title from map is of type: cons >> Headline title from context is of type: string >> Headline title from at-point is of type: string >

Re: [RFC] Quoting property names in tag/property matches [Was: [BUG?] Matching tags: & operator no more implicit between tags and special property]

2023-08-23 Thread Jens Schmidt
On 2023-08-23 16:00, Jens Schmidt wrote: > Given the property name syntax in > > https://orgmode.org/worg/org-syntax.html#Node_Properties > > the subre in `org-make-tags-matcher' to match property names > should then look similar to > > "\\(?5:[[:alnum:]_]+\\|:[^[:space:]]+?:\\)" > > , ri

Re: [BUG] Hang on latex preview [9.7-pre (release_9.6.7-661-g34ee6f @ /home/csj7701/.emacs.d/straight/build/org/)]

2023-08-23 Thread Ihor Radchenko
Christian writes: > Following your suggestion, I am able to preview the latex snippets > without any issue. > I also tried removing org-fragtog from my config and previewing > manually; I still get an org-element-cache error. I haven't yet > seen emacs hang without org-fragtog, but I suspect t

Re: [BUG] Hang on latex preview [9.7-pre (release_9.6.7-661-g34ee6f @ /home/csj7701/.emacs.d/straight/build/org/)]

2023-08-23 Thread Christian
Following your suggestion, I am able to preview the latex snippets without any issue. I also tried removing org-fragtog from my config and previewing manually; I still get an org-element-cache error. I haven't yet seen emacs hang without org-fragtog, but I suspect that that is just because the

[BUG] HTML export locale problem [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)]

2023-08-23 Thread emacs
Hello everyone, Today I was exporting my org file to HTML and I have run into an issue with #+LANGUAGE. I have set it to to "pl" and the Table of Contents name has changed, but the figure names did not. Can somebody guide me on how could I fix it? Kind regards Emacs User Info:

Programmable deadline repeater

2023-08-23 Thread gustek
Good day, Is it possible to configure a TODO item with a repeating deadline or schedule to use a function to set the new timestamp when completed, instead of just increasing of a fixed number of hours, days, weeks, etc.? Regards, Gustek

plantuml tikz format support

2023-08-23 Thread Nan JunJie
I'd like to add a patch to support plantuml tikz format. We can use it like this: #+begin_src plantuml :file file.tikz ... #+end_src #+results: [[file.tikz]] So that file.tikz will be treat as tikz picture and input. Here the patch: >From c97e5f421202ac2bfd16174c2d4be4059b0aa4c8 Mon Sep 17 0

[BUG] org-element--cache: Org parser error (error "rx '**' range error") [9.7 (9.7-??-d6f3aed7b @ /Users/fbartik/.config/emacs/.local/straight/build-29.1/org/)]

2023-08-23 Thread General discussions about Org-mode.
Hi, I'm very new to Emacs and org and I'm running into this issue when I start Emacs from scratch and reload my last session. The error I get looks like this and there are multiples on each start: Warning (org-element-cache): org-element--cache: Org parser error in config.el::5943. Resetti