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

2023-12-26 Thread Jack Kamm
Ihor Radchenko writes: > I think we have a misunderstanding here. > > Didn't we just discuss that C-c C-p in python is not equivalent to > `org-babel-python-initiate-session'? ob-python works fine with sessions started externally by `run-python'. And I have preserved this functionality, as I

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

2023-12-26 Thread Jack Kamm
Liu Hui writes: > I just want to set 'python-shell-buffer-name' in the edit buffer > according to the :session header and don't need to start the session > even if the session doesn't exist. Sorry that I missed this thread. I agree that `python-shell-buffer-name' should be set according to the

Re: [PATCH] org-manual: Describe export process flow

2023-12-26 Thread Matt
On Tue, 26 Dec 2023 22:56:00 +0100 Matt wrote --- > I tend leave the period of the last sentence of a list. Typo. I meant to write "I tend TO leave the period OFF the last sentence of a list." That is, the item ends without a period. -- Matt Trzcinski Emacs Org contributor

Re: [PATCH] org-manual: Describe export process flow

2023-12-26 Thread Matt
This looks useful. My only understanding of the problem this addresses is what you wrote: > create a more clear picture on how various export hooks and filters > are used. With this understanding, my first question was, "What hooks exist?" I see that

Re: [PATCH] org-manual: Describe export process flow

2023-12-26 Thread Karthik Chikmagalur
> The patch is attached. > I'd appreciate feedback from people not familiar with ox.el. - When exporting a sub-tree, at what stage of the export process is the buffer narrowed to the sub-tree? - Are "inner" and "outer" templates described in the manual, and if they are could you add a link to

Re: [PATCH] org-manual: Describe export process flow

2023-12-26 Thread Thomas S. Dye
Aloha Ihor, Ihor Radchenko writes: Hi, I'd like to add a new section to Org mode manual. The new section will describe all the steps performed by Org export process. This should hopefully create a more clear picture on how various export hooks and filters are used. The patch is attached.

Rewording the biblatex documentation

2023-12-26 Thread Pedro Andres Aranda Gutierrez
Hi, I slept over the comments and came up with a better wording. I hope it adds more information and is therefore more helpful Best wishes for 2024 /PA -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log:

Re: How can I use org-add-note with emacsclient?

2023-12-26 Thread equal . moon0346
On Mon, Dec 25, 2023, at 14:35, Ihor Radchenko wrote: > equal.moon0...@fastmail.com writes: > >> I'm trying to figure out how to start a note (C-c C-z) on the currently >> clocked task from emacsclient. Here's what I have so far: >> ... >> emacsclient -s test -nw --eval '(progn (org-clock-goto)

Re: [BUG] org-contrib: org-eldoc has an autload, but is incompatible with modern emacs. [9.6.8 (release_9.6.8-3-g21171d @ /usr/share/emacs/30.0.50/lisp/org/)]

2023-12-26 Thread Vladimir Nikishkin
Yeah, but it's still getting funky when some init files load the built-in version. But nevertheless, I don't seem to see this problem any more. This bug can be closed. On Tue, 26 Dec 2023 at 22:30, Ihor Radchenko wrote: > > Vladimir Nikishkin writes: > > > :\ that patch doesn't cleanly apply

Re: custom function for org-babel src block export

2023-12-26 Thread David Bremner
Rudolf Adamkovič writes: > How about: > > (defvar stacker-base > "\href{https://www.example.com/stacker/?program=%s}{execute on stacker}") > > (defun org-babel-execute:stacker (body params) > (format stacker-base > (org-link-encode body '(?? ? ?( ?) ?\n > Thanks, that's a

Re: [BUG] org-contrib: org-eldoc has an autload, but is incompatible with modern emacs. [9.6.8 (release_9.6.8-3-g21171d @ /usr/share/emacs/30.0.50/lisp/org/)]

2023-12-26 Thread Ihor Radchenko
Vladimir Nikishkin writes: > :\ that patch doesn't cleanly apply on top of emacs' master by itself. > > And I don't know how to merge org's master into Emacs gracefully. > > I will try with melpa's org, but it's likely to produce a mess with the > configs. > Let me see what I can do. See

[PATCH] org-manual: Describe export process flow

2023-12-26 Thread Ihor Radchenko
Hi, I'd like to add a new section to Org mode manual. The new section will describe all the steps performed by Org export process. This should hopefully create a more clear picture on how various export hooks and filters are used. The patch is attached. I'd appreciate feedback from people not

Re: [BUG] org-contrib: org-eldoc has an autload, but is incompatible with modern emacs. [9.6.8 (release_9.6.8-3-g21171d @ /usr/share/emacs/30.0.50/lisp/org/)]

2023-12-26 Thread Vladimir Nikishkin
:\ that patch doesn't cleanly apply on top of emacs' master by itself. And I don't know how to merge org's master into Emacs gracefully. I will try with melpa's org, but it's likely to produce a mess with the configs. Let me see what I can do. On Tue, 26 Dec 2023 at 21:27, Ihor Radchenko

Re: [BUG] org-contrib: org-eldoc has an autload, but is incompatible with modern emacs. [9.6.8 (release_9.6.8-3-g21171d @ /usr/share/emacs/30.0.50/lisp/org/)]

2023-12-26 Thread Ihor Radchenko
Vladimir Nikishkin writes: > org-version variable returns 9.6.13 > (org-version) function call also returns 9.6.13 > > The test.org file itself has the org version stamp. I see. What about the latest development version of Org mode (main branch)? -- Ihor Radchenko // yantar92, Org mode

Re: [BUG] org-contrib: org-eldoc has an autload, but is incompatible with modern emacs. [9.6.8 (release_9.6.8-3-g21171d @ /usr/share/emacs/30.0.50/lisp/org/)]

2023-12-26 Thread Vladimir Nikishkin
org-version variable returns 9.6.13 (org-version) function call also returns 9.6.13 The test.org file itself has the org version stamp. On Tue, 26 Dec 2023 at 21:19, Ihor Radchenko wrote: > > Vladimir Nikishkin writes: > > > Logs attached, the file is very simple, also attached: > > Looks like

Re: [BUG] org-contrib: org-eldoc has an autload, but is incompatible with modern emacs. [9.6.8 (release_9.6.8-3-g21171d @ /usr/share/emacs/30.0.50/lisp/org/)]

2023-12-26 Thread Ihor Radchenko
Vladimir Nikishkin writes: > Logs attached, the file is very simple, also attached: Looks like a bug fixed in Org 9.6.10: https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=37d6bde27 And you seems to be using Org 9.6.8. -- Ihor Radchenko // yantar92, Org mode contributor, Learn

Re: custom function for org-babel src block export

2023-12-26 Thread Rudolf Adamkovič
How about: (defvar stacker-base "\href{https://www.example.com/stacker/?program=%s}{execute on stacker}") (defun org-babel-execute:stacker (body params) (format stacker-base (org-link-encode body '(?? ? ?( ?) ?\n It works with noweb too: #+NAME: last #+BEGIN_SRC stacker

Re: [BUG] org-contrib: org-eldoc has an autload, but is incompatible with modern emacs. [9.6.8 (release_9.6.8-3-g21171d @ /usr/share/emacs/30.0.50/lisp/org/)]

2023-12-26 Thread Vladimir Nikishkin
On Tue, 26 Dec 2023 at 20:20, Ihor Radchenko wrote: > > Vladimir Nikishkin writes: > > >> If you are using the latest main, you can set `debug-on-error' to t. > >> Then, you will see the backtrace of the error that you can share. > > > > Did that, but it's not very useful: > > > > #+begin_src

Re: [BUG] org-contrib: org-eldoc has an autload, but is incompatible with modern emacs. [9.6.8 (release_9.6.8-3-g21171d @ /usr/share/emacs/30.0.50/lisp/org/)]

2023-12-26 Thread Ihor Radchenko
Vladimir Nikishkin writes: >> If you are using the latest main, you can set `debug-on-error' to t. >> Then, you will see the backtrace of the error that you can share. > > Did that, but it's not very useful: > > #+begin_src elisp > Debugger entered--Lisp error: (error "Invalid search bound

Re: [BUG] org-contrib: org-eldoc has an autload, but is incompatible with modern emacs. [9.6.8 (release_9.6.8-3-g21171d @ /usr/share/emacs/30.0.50/lisp/org/)]

2023-12-26 Thread Vladimir Nikishkin
Ihor Radchenko writes: > Vladimir Nikishkin writes: > >> So, this might not actually be the case. >> I am getting a lot of org-element-cache errors recently, and I don't >> seem to be able to find what triggers them to appear. >> The error message is always the same, >> "Invalid search bound

Re: [BUG] org-contrib: org-eldoc has an autload, but is incompatible with modern emacs. [9.6.8 (release_9.6.8-3-g21171d @ /usr/share/emacs/30.0.50/lisp/org/)]

2023-12-26 Thread Ihor Radchenko
Vladimir Nikishkin writes: > So, this might not actually be the case. > I am getting a lot of org-element-cache errors recently, and I don't > seem to be able to find what triggers them to appear. > The error message is always the same, > "Invalid search bound (wrong side of point)" > > Any

Documentation Results of Evaluation (was Re: Documentation of hline symbol in source blocks results)

2023-12-26 Thread Matt
Thanks for your message, Tim! You make many good points and I can only respond to a few of them. I'm also pleased to see you've got FSF Assignment: https://orgmode.org/worg/contributors.html Do you have time to work together on this? I have four goals: 1. Understand your perspective 2. Remove

Re: [BUG] org-contrib: org-eldoc has an autload, but is incompatible with modern emacs. [9.6.8 (release_9.6.8-3-g21171d @ /usr/share/emacs/30.0.50/lisp/org/)]

2023-12-26 Thread Vladimir Nikishkin
Vladimir Nikishkin writes: > Ihor Radchenko writes: > >> Vladimir Nikishkin writes: >> May you elaborate about incompatibility? >>> >>> Yes. With org-eldoc loaded, and having a property '#+date: unpublished' >>> in an org file, I am having the '*Messages*' buffer filled with >>>