Re: [PATCH] Set Python shell in Org edit buffer

2023-12-05 Thread Liu Hui
Ihor Radchenko 于2023年12月5日周二 19:48写道: > > Liu Hui writes: > > > When editing python src block using C-c ', the python shell is not set > > in Org edit buffer according to the :session header argument of the > > block. Consequently, commands such as python-shell-send-region cannot > > send python

Re: Syncing orgcard.tex with upstream Emacs (was: bug#64578: orgcard.tex fixes to allow PDF rendering to be used as a triptych.)

2023-12-05 Thread Kyle Meyer
Ihor Radchenko writes: > Kyle Meyer writes: > >> Here is the difference between the two cards, as of the last sync: >> >> -\input org-version.tex >> +\def\orgversionnumber{9.6.11} >> +\def\versionyear{2023} % latest update >> +\input emacsver.tex >> ... >> +\centerline{For

Re: What is the status of ob-maxima.el? Is this a bug?

2023-12-05 Thread Leo Butler
On Tue, Dec 05 2023, "Fraga, Eric" wrote: > On Tuesday, 5 Dec 2023 at 16:59, Leo Butler wrote: >> You mentioned returning a value from a maxima code block. > > By this, I mean the value of the last sexp as some other src blocks do > (elisp? octave? Not sure which...). It's what I would expect

Re: [BUG] Table alignment fails for long lines [9.6.12 ( @ /home/rst/.emacs.d/elpa/org-9.6.12/)]

2023-12-05 Thread Raffael Stocker
Ihor Radchenko writes: > Fixed, on bugfix and on main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=4a7a1f2fe > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f2cb64579 Great, Thanks!

Re: What is the status of ob-maxima.el? Is this a bug?

2023-12-05 Thread Fraga, Eric
On Tuesday, 5 Dec 2023 at 16:59, Leo Butler wrote: > You mentioned returning a value from a maxima code block. By this, I mean the value of the last sexp as some other src blocks do (elisp? octave? Not sure which...). It's what I would expect to see if I were to specify ":results value". And

Re: What is the status of ob-maxima.el? Is this a bug?

2023-12-05 Thread Leo Butler
On Tue, Dec 05 2023, "Fraga, Eric" wrote: > On Tuesday, 5 Dec 2023 at 16:42, Leo Butler wrote: >> With recent versions of ob-maxima.el, you can set header arguments to >> get the behaviour Eduardo expected: > > Thank you. This is great news. > > I'm going to have to upgrade as the version I'm

Re: What is the status of ob-maxima.el? Is this a bug?

2023-12-05 Thread Fraga, Eric
On Tuesday, 5 Dec 2023 at 16:42, Leo Butler wrote: > With recent versions of ob-maxima.el, you can set header arguments to > get the behaviour Eduardo expected: Thank you. This is great news. I'm going to have to upgrade as the version I'm currently using (from 1-2 months ago, I think) doesn't

Re: What is the status of ob-maxima.el? Is this a bug?

2023-12-05 Thread Leo Butler
On Tue, Dec 05 2023, "Fraga, Eric" wrote: > I think ob-maxima will only output the actual explicit "output" of the > script, so something like > > #+begin_src maxima > print(2+3); > #+end_src > > should work. With recent versions of ob-maxima.el, you can set header arguments to get the

Re: [BUG] org-element-cache (Org parser error "Invalid search bound (wrong side of point) [9.7 (9.7-??-e90a8a69a @ /home/ajensen...@ad.ufl.edu/.emacs.d/.local/straight/build-29.1/org/)]

2023-12-05 Thread Ihor Radchenko
Andrew Jensen writes: > I no longer see the issue after updating. Thanks a ton! Thanks for testing! Closing. Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or

Re: [BUG] org-element-cache (Org parser error "Invalid search bound (wrong side of point) [9.7 (9.7-??-e90a8a69a @ /home/ajensen...@ad.ufl.edu/.emacs.d/.local/straight/build-29.1/org/)]

2023-12-05 Thread Andrew Jensen
I no longer see the issue after updating. Thanks a ton! On 12/5/23 10:31 AM, Ihor Radchenko wrote: > Andrew Jensen writes: > >> Emacs : GNU Emacs 29.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version >> 3.24.33, cairo version 1.16.0) >> of 2023-11-27 >> Package: Org mode version 9.7 (9.7-??-e90a8a69a

Re: [BUG] subheadings disappear from buffer [9.6.6 (release_9.6.6 @ /opt/local/share/emacs/29.1/lisp/org/)]

2023-12-05 Thread Peter Mao
On Tue, Dec 5, 2023 at 4:27 AM Ihor Radchenko wrote: > Peter Mao writes: > > > This is an incomplete initial bug report. I don't have time right now to > > chase down all the details. > > > > A couple of times in the past month, the subheadings in the org file I'm > > working on (with lots of

Re: Bug: event with two dates displays wrong in org-agenda

2023-12-05 Thread Ihor Radchenko
rameik...@posteo.net writes: > I have the following entry in one of my org files: > > ** party <2023-12-02 Sat>. Meet Jack <2023-12-02 Sat 16:15> > > This appears in my org agenda twice, both times at 16:15. I would expect > it should appear once at 16:15 and once as a general event for the day!

Re: [BUG] Table alignment fails for long lines [9.6.12 ( @ /home/rst/.emacs.d/elpa/org-9.6.12/)]

2023-12-05 Thread Ihor Radchenko
Raffael Stocker writes: > org tables with long text in a field (longer than window width) don't get > aligned correctly. This seems to be due to the missing X-LIMIT argument to > ‘window-text-pixel-size’. That is, the current usage is something like: > > (car (window-text-pixel-size > nil

Re: [BUG] org-element-cache (Org parser error "Invalid search bound (wrong side of point) [9.7 (9.7-??-e90a8a69a @ /home/ajensen...@ad.ufl.edu/.emacs.d/.local/straight/build-29.1/org/)]

2023-12-05 Thread Ihor Radchenko
Andrew Jensen writes: > Emacs : GNU Emacs 29.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version > 3.24.33, cairo version 1.16.0) > of 2023-11-27 > Package: Org mode version 9.7 (9.7-??-e90a8a69a @ > /home/ajensen...@ad.ufl.edu/.emacs.d/.local/straight/build-29.1/org/) Thanks for reporting! Do you

Tags right alignment with font-lock

2023-12-05 Thread Nicolas P. Rougier (inria)
Hello, I'm using font lock to have tags right aligned with the following code: ;; Right alignment (char wise) (add-to-list 'font-lock-extra-managed-props 'display) (font-lock-add-keywords 'org-mode `(("^\\*+.*?\\( \\)\\(:[[:alnum:]_@#%:]+:\\)$" (1 `(face nil display

[BUG] Table alignment fails for long lines [9.6.12 ( @ /home/rst/.emacs.d/elpa/org-9.6.12/)]

2023-12-05 Thread Raffael Stocker
Hello Org-mode, org tables with long text in a field (longer than window width) don't get aligned correctly. This seems to be due to the missing X-LIMIT argument to ‘window-text-pixel-size’. That is, the current usage is something like: (car (window-text-pixel-size nil

Bug: event with two dates displays wrong in org-agenda

2023-12-05 Thread rameiko87
I have the following entry in one of my org files: ** party <2023-12-02 Sat>. Meet Jack <2023-12-02 Sat 16:15> This appears in my org agenda twice, both times at 16:15. I would expect it should appear once at 16:15 and once as a general event for the day!

OrgMode Agenda empty if one of files is missing

2023-12-05 Thread Ali M.
Hi , If a file added on my agenda list is deleted, Org Mode Agenda list comes back empty for example my org agenda have two files '(org-agenda-files '("c:/dev/projects/one/one.org" "c:/dev/projects/two/two.org" )) Now I deleted folder two , so the folder c:/dev/projects/two/ and its

[BUG] org-element-cache (Org parser error "Invalid search bound (wrong side of point) [9.7 (9.7-??-e90a8a69a @ /home/ajensen...@ad.ufl.edu/.emacs.d/.local/straight/build-29.1/org/)]

2023-12-05 Thread Andrew Jensen
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

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

2023-12-05 Thread Alexander Gogl
Hello, some LaTeX classes define their own footnote commands. For example, kaobook (https://github.com/fmarotta/kaobook/blob/master/example_and_documentation.pdf) has \footnotes and \sidenotes, whereby sidenotes (notes are put into the outter margin) are the dominant form of putting notes in

Re: oeg-add-note and double backslash ?

2023-12-05 Thread Ihor Radchenko
David Masterson writes: >> To prevent fill-region from concatenating the auto-generated text in the >> first line and the user input in the following lines. > > Ah. Is that mentioned somewhere in the Org manual? I don't mean the > details of filll-region, but a little something to answer "why

Re: Links & images with different attributes in the same paragraph

2023-12-05 Thread Ihor Radchenko
Max Nikulin writes: > I raised this topic earlier. It seems, there is a rather generic > workaround that may help. > > Sometimes it is necessary to assign specific export attributes to some > links in a paragraph while others should get another set of them. Inline > images should have

Re: What is the status of ob-maxima.el? Is this a bug?

2023-12-05 Thread Fraga, Eric
On Tuesday, 5 Dec 2023 at 08:34, Eduardo Ochs wrote: > Ouch! I'm so used to using Maxima from its REPL that I forgot to test > that... thanks and sorry! =/ No apology required. It would be good if ob-maxima had implemented the concept of returning the last value, as some other language

Re: [BUG] [PATCH] Add yank-media and DND handler [9.6.7 (9.6.7-g6eb773 @ /home/viz/lib/emacs/straight/build/org/)]

2023-12-05 Thread Visuwesh
[ஞாயிறு நவம்பர் 05, 2023] Ihor Radchenko wrote: > Po Lu writes: > >> I have now installed an interface to this end into Emacs 30. The >> pertinent documentation is under the ``Drag and Drop'' node in the Lisp >> reference manual. > > Thanks! > > [...] > > Visuwesh, do you want to update your

Re: [PATCH] [DISCUSSION] Force `tab-width' to be 8 in Org mode (was: COUNTER-SET for alphabetical ordered lists ignored for utf-8 exporter)

2023-12-05 Thread Ihor Radchenko
Ihor Radchenko writes: >> Absolute madness! I always considered tab-width to be a personal aesthetic >> choice and not something that would functionally change how documents other >> people wrote will be parsed. > > I agree. > See the attached tentative patches for Org mode and org-syntax. > >

Re: ODT export failing

2023-12-05 Thread Fraga, Eric
On Tuesday, 5 Dec 2023 at 12:54, Ihor Radchenko wrote: > Still fine on my side... Okay, thank you. Strange but one of those mysteries, I guess. If I run into this again, I'll explore more fully. -- : Eric S Fraga, with org release_9.6.7-661-g34ee6f in Emacs 30.0.50

Re: ODT export failing

2023-12-05 Thread Ihor Radchenko
"Fraga, Eric" writes: > Ummm, okay. Maybe with a .pdf extension? > > (I was under deadline pressure so once I got it working, I didn't explore any > further!) Still fine on my side... -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at .

Re: ODT export failing

2023-12-05 Thread Fraga, Eric
On Tuesday, 5 Dec 2023 at 12:11, Ihor Radchenko wrote: Ummm, okay. Maybe with a .pdf extension? (I was under deadline pressure so once I got it working, I didn't explore any further!) -- Eric S Fraga, https://profiles.ucl.ac.uk/5958-eric-fraga PhD studentship in optimization and molecular

Re: [BUG] error: Invalid search bound [9.6.11 ( @ /home/nikratio/.emacs.d/elpa/28.2/develop/org-9.6.11/)]

2023-12-05 Thread Ihor Radchenko
"Nikolaus Rath" writes: >> May you please try the latest bugfix branch and let us know if you are >> still seeing the warning? > > Thanks for the quick response! Could you point me in the direction of how to > do that? I'm a bit confused by the layering of Emac's builtin-org, the Elpa >

Re: [BUG] Hard lockup on org-display-inline-images

2023-12-05 Thread Ihor Radchenko
JD Smith writes: > ... Eli fixed the introduced bug quite quickly in: > > http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=7a7d41e07c4627c5de08a66368309b478c88edfc Ok. Closing. Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at

Re: Org contributors: Typo in a heading

2023-12-05 Thread Ihor Radchenko
Rudolf Adamkovič writes: > A quick heads-up about a typo at > > https://orgmode.org/worg/contributors.html > > Actual heading: > > Current contributors with FSF assignement > > Expected heading: > > Current contributors with FSF assignment Thanks! Fixed, on master.

Re: [BUG] Hard lockup on org-display-inline-images

2023-12-05 Thread JD Smith
> On Dec 5, 2023, at 7:26 AM, Ihor Radchenko wrote: > > JD Smith writes: > >> Eli and I recently patched a problem >> with pixel position >> reporting with inline images (which I had discovered in a large org buffer >> with

Syncing orgcard.tex with upstream Emacs (was: bug#64578: orgcard.tex fixes to allow PDF rendering to be used as a triptych.)

2023-12-05 Thread Ihor Radchenko
Kyle Meyer writes: > Here is the difference between the two cards, as of the last sync: > > -\input org-version.tex > +\def\orgversionnumber{9.6.11} > +\def\versionyear{2023} % latest update > +\input emacsver.tex > ... > +\centerline{For more Emacs documentation, and the

Re: [BUG] subheadings disappear from buffer [9.6.6 (release_9.6.6 @ /opt/local/share/emacs/29.1/lisp/org/)]

2023-12-05 Thread Ihor Radchenko
Peter Mao writes: > This is an incomplete initial bug report. I don't have time right now to > chase down all the details. > > A couple of times in the past month, the subheadings in the org file I'm > working on (with lots of org-babel code blocks) disappear. does not > fold or unfold those

Re: Bug in org-insert-link?

2023-12-05 Thread Ihor Radchenko
Guillaume MULLER writes: > The problem is still here, and I managed to find the actual problem. > > The problem happens when I do the "C-C C-l file:" then select a file. The > root cause is that the mini-buffer then lists all the files in the current > directory, and when there are many, the

Re: [BUG] Hard lockup on org-display-inline-images

2023-12-05 Thread Ihor Radchenko
JD Smith writes: > Eli and I recently patched a problem > with pixel position > reporting with inline images (which I had discovered in a large org buffer > with latex-preview). With this patch installed, now on master as of this >

Re: ODT export failing

2023-12-05 Thread Ihor Radchenko
"Fraga, Eric" writes: > On Monday, 27 Nov 2023 at 19:49, Ihor Radchenko wrote: >> AFAIU, that message is for fuzzy and id links that do not point to >> heading or target - such links are not supported. > > I've had this before when the target (i.e. the label within the org > file) did not exist.

Re: [BUG] org-babel-load-file, org-babel-tangle-use-relative-file-links and :tangle header [9.6.11 (release_9.6.11 @ /opt/emacs/share/emacs/30.0.50/lisp/org/)]

2023-12-05 Thread Ihor Radchenko
TAKAHASHI Yoshio writes: > When org-babel-tangle-use-relative-file-links is t (default), > org-babel-load-file ignores any source block that does not have `:tangle > "yes"' or `:tangle filepath' header. > > Even if org-babel-default-header-args is changed like > (setq

Re: [PATCH] Set Python shell in Org edit buffer

2023-12-05 Thread Ihor Radchenko
Liu Hui writes: > When editing python src block using C-c ', the python shell is not set > in Org edit buffer according to the :session header argument of the > block. Consequently, commands such as python-shell-send-region cannot > send python code to the correct python process. To address

Re: What is the status of ob-maxima.el? Is this a bug?

2023-12-05 Thread Eduardo Ochs
Ouch! I'm so used to using Maxima from its REPL that I forgot to test that... thanks and sorry! =/ Eduardo On Tue, 5 Dec 2023 at 07:36, Fraga, Eric wrote: > > I think ob-maxima will only output the actual explicit "output" of the > script, so something like > > #+begin_src maxima > print(2+3);

Re: [BUG] org-babel-tangle may fail due to (org-babel-tangle-collect-blocks lang-re tangle-file) [9.6.9 ( @ /home/andrea/.emacs.d/elpa/org-9.6.9/)]

2023-12-05 Thread Ihor Radchenko
Andrea writes: > Sorry Ihor for the long delay. > I got the error again for the second source block in the attached file. > That is a sample of my configuration. Oddly, I am unable to reproduce the problem using your file. I tried built-in Org version for Emacs 30, Org main branch, and Org

Re: Citation bug: cite/a does not work with basic

2023-12-05 Thread Ihor Radchenko
William Denton writes: > Make an Org file with three lines, using cite/a to get the author citation: > > ┌ > │ #+bibliography: Test.bib > │ #+cite_export: basic author author-year > │ [cite/a:@test2023] > └ > > Try to export it to LaTeX with "C-c C-e l l" and we get this error: > > Wrong

Re: What is the status of ob-maxima.el? Is this a bug?

2023-12-05 Thread Fraga, Eric
I think ob-maxima will only output the actual explicit "output" of the script, so something like #+begin_src maxima print(2+3); #+end_src should work. -- : Eric S Fraga, with org release_9.6.7-661-g34ee6f in Emacs 30.0.50

[PATCH] Set Python shell in Org edit buffer

2023-12-05 Thread Liu Hui
Hi, When editing python src block using C-c ', the python shell is not set in Org edit buffer according to the :session header argument of the block. Consequently, commands such as python-shell-send-region cannot send python code to the correct python process. To address this, the attached patch

Re: [BUG] error: Invalid search bound [9.6.11 ( @ /home/nikratio/.emacs.d/elpa/28.2/develop/org-9.6.11/)]

2023-12-05 Thread Nikolaus Rath
On Mon, 4 Dec 2023, at 14:53, Ihor Radchenko wrote: > "Nikolaus Rath" writes: > >> When running org-agenda and pressing "x" (see below for configuration), I am >> occasionally getting the following error: >> >> Warning (org-element-cache): org-element--cache: Added org-data parent to >>