Re: [BUG] Org-9.6 declares compatibility with Emacs-25.1

2023-01-01 Thread Ihor Radchenko
Ihor Radchenko writes: > Max Nikulin writes: > >> lisp/org.el:10:;; Package-Requires: ((emacs "25.1")) > > We should indeed bump the minimal required Emacs version. > Should we use Emacs 26.3 as the minimal version? We should fix this before Org 9.6.1. I will leave the decision about exact

Re: [BUG] org-element--cache: (org-agenda) Cached element is incorrect [9.6 (release_9.6-90-gf49ee9 @ /home/stefan/.emacs.d/contrib/org-mode/lisp/)]

2023-01-01 Thread Ihor Radchenko
Ihor Radchenko writes: > Thanks! It looks like you found the culprit. > > `org-startup-align-all-tables' triggers a function that changes buffer > contents (tables) during Org loading. For same reason, this function is > executed with modification hooks being suppressed and cache missing the >

Re: Export Org with Org concept -- Re: Problems with C-c C-e file.org,

2023-01-01 Thread Eduardo Ochs
On Sun, 1 Jan 2023 at 11:02, Ihor Radchenko wrote: > > Eduardo Ochs writes: > > > My conclusion was that Org is much harder to learn than I thought. > > It's easy to learn if: > > > > 1) you're a "user", or > > 2) you know a lot about debugging Emacs, or > > 3) the developers like your

Refactor org-babel-shell-initialize? (was Re: ob-shell intentions and paperwork (was Bash results broken?))

2023-01-01 Thread Matt
On Sat, 31 Dec 2022 07:56:10 -0500 Ihor Radchenko wrote --- > As for being a macro, there will be not much gain - the convention is > mostly designed for things like `cl-defun' aimed to be used in the code. > `org-babel-shell-initialize' is only used by `org-babel-shell-names'. I'm

Re: ob-shell intentions and paperwork (was Bash results broken?)

2023-01-01 Thread Matt
On Sat, 31 Dec 2022 09:31:16 -0500 Ihor Radchenko wrote --- > Matt m...@excalamus.com> writes: > > > I've backed out the `require' change and adjusted everything else based on > > your feedback. There is a separate patch for each refactor that created a > > new test. The

org-up-element does not the same for all structural blocks

2023-01-01 Thread Alain . Cochard
With an org file like * h #+begin_export ascii foo #+end_export putting the cursor on 'foo' and doing M-x org-up-element brings the cursor on '* h'. Same with the following blocks: ‘#+begin_comment’ ... ‘#+end_comment’ ‘#+begin_example’ ... ‘#+end_example’ ‘#+begin_export’

Shouldn't #+EXP> complete to '#+EXPORT_FILE_NAME:'

2023-01-01 Thread Alain . Cochard
The manual (in 17.1) says that After ‘#+’, [‘M-’] complete[s] the special keywords [...] but if I do it after '#+EXP', it does not complete to #+EXPORT_FILE_NAME: Do I understand the manual incorrectly? Thanks. -- EOST (École et Observatoire des Sciences de la Terre) ITE

Re: search in org-sparse-tree for multiple files

2023-01-01 Thread Eric Chun
I think I found a solution but here are the steps in case others have the same problem: * First, I open an org file in Emacs.* I then create a sparse tree using a regular expression.* I then type M-g M-n to move to the next occurrence of my search string but it doesn't work.  I get a message

Re: Is function 'org-insert-property-drawer' usable?

2023-01-01 Thread Alain . Cochard
Ihor Radchenko writes on Sun 1 Jan 2023 13:23: > I guess we can just make it into a command. For me, that would be ideal. Otherwise, I think it would help a bit to change the manual from ... this command calls ‘org-insert-property-drawer’ ... to ... this command calls the non

Re: [org-promote-subtree + undo] adds one star

2023-01-01 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > I fear that, even if the emacs people fix the problem, it still won't > work with, say, emacs 27 or 28. > > Oh, well... If they fix this, we will at least have a clue what is causing it. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about

Re: Babel (scheme): Evaluation errors are not shown

2023-01-01 Thread Marc Nieper-Wißkirchen
Fixed. Am So., 1. Jan. 2023 um 14:53 Uhr schrieb Ihor Radchenko : > > Marc Nieper-Wißkirchen writes: > > > (defun org-babel-eval-error-notify (exit-code stderr) > > - "Open a buffer to display STDERR and a message with the value of > > EXIT-CODE." > > + "Open a buffer to display STDERR and a

Re: [org-promote-subtree + undo] adds one star

2023-01-01 Thread Alain . Cochard
Ihor Radchenko writes on Sun 1 Jan 2023 14:13: > It is indeed Org 9.6 issue. Likely related to some obscure > interaction between what Org does and `combine-after-change-calls'. > > Note that I am reporting for Emacs master, which ships with Org > 9.6. I'm afraid it is a bit complicated

Re: Broken numerical ordered list when exported to latex

2023-01-01 Thread Ihor Radchenko
Sharon Kimble writes: > My org file is attached, and the original source was a web-page, a straight > copy and paste, so its inheriting the same list structure as the original. This is expected. Lists are numbered from 1. all the time unless you explicitly state otherwise. See

Re: [org-promote-subtree + undo] adds one star

2023-01-01 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > > Confirmed. > > > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60467 > > Funny: since the problem was not present in previous versions of org, > I would have thought it was an org 9.6 issue... It is indeed Org 9.6 issue. Likely related to some obscure

Re: Broken numerical ordered list when exported to latex

2023-01-01 Thread Sharon Kimble
Ihor Radchenko writes: > Sharon Kimble writes: > >> I have a long-standing problem with a numerical ordered list which is broken >> by sub-headings, and exported to latex. >> >> On looking at the org manual, the most recent one that I have, on page 12, >> it shows something like '[@20]'

Re: [org-promote-subtree + undo] adds one star

2023-01-01 Thread Alain . Cochard
> Confirmed. > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60467 Funny: since the problem was not present in previous versions of org, I would have thought it was an org 9.6 issue... -- EOST (École et Observatoire des Sciences de la Terre) ITE (Institut Terre & Environnement) |

Re: Export Org with Org concept -- Re: Problems with C-c C-e file.org,

2023-01-01 Thread Ihor Radchenko
Eduardo Ochs writes: > My conclusion was that Org is much harder to learn than I thought. > It's easy to learn if: > > 1) you're a "user", or > 2) you know a lot about debugging Emacs, or > 3) the developers like your questions. I hope that (3) is not your experience with Org ML. If it

Re: Babel (scheme): Evaluation errors are not shown

2023-01-01 Thread Ihor Radchenko
Marc Nieper-Wißkirchen writes: > (defun org-babel-eval-error-notify (exit-code stderr) > - "Open a buffer to display STDERR and a message with the value of > EXIT-CODE." > + "Open a buffer to display STDERR and a message with the value of EXIT-CODE. > +If EXIT-CODE is nil, suppress the

Re: [org-promote-subtree + undo] adds one star

2023-01-01 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > Under release_9.6-173-g24740a > > I have file > > #+begin_src org > ,* h1 > ,** h2 > #+end_src > > I do > >M-x org-promote-subtree > > on h2, which works as expected; then > >M-x undo > ... > and I have the message > >primitive-undo: Changes to be

Re: How to disable completely org-persist

2023-01-01 Thread Jean Louis
* to...@tuxteam.de [2022-12-31 10:12]: > Perhaps it would make sense to state the goals in more > detail. I can see many "aspects": > > - "I don't want my ~/.emacs.d/ littered beyond my explicit >control" Isn't that happening anyway by various packages and functions? I see there

Re: LaTeX tutorial (focused on what Org exports) ??

2023-01-01 Thread Ihor Radchenko
"Fraga, Eric" writes: > On Saturday, 31 Dec 2022 at 23:12, David Masterson wrote: >> I'm not sure what language this one is in. > > The second link was to a PDF document that you should be able to view in > the browser or download. I think that it is not very clear how to use it. Abstract says

Re: search in org-sparse-tree for multiple files

2023-01-01 Thread Ihor Radchenko
Eric Chun writes: > I'm assuming "current buffer" is the buffer which I can currently type input > into.  The current buffer is not finding next occurrence of search string by > pressing M-g M-n.  Is this expected? Could you please elaborate? What exactly you did and what do you expect to

Re: Is function 'org-insert-property-drawer' usable?

2023-01-01 Thread Ihor Radchenko
Ruijie Yu via "General discussions about Org-mode." writes: > According to the source code of `org-insert-drawer', I think the manual > is saying that when ARG is non-nil, the function simply calls > `org-insert-property-drawer'. However, `org-insert-property-drawer' is > not declared

Re: LaTeX tutorial (focused on what Org exports) ??

2023-01-01 Thread Fraga, Eric
On Saturday, 31 Dec 2022 at 23:12, David Masterson wrote: > I'm not sure what language this one is in. The second link was to a PDF document that you should be able to view in the browser or download. -- : Eric S Fraga, with org release_9.6-124-g036cc0 in Emacs 30.0.50

Re: Persisting the current working directory in an org-babel session

2023-01-01 Thread Ihor Radchenko
Adam Sneller writes: > For some reason, I am unable to make changes to my working directory persist, > from one emacs-lisp SRC block to the next. > > For example, consider the following: > > * Literate programming in a single session > :PROPERTIES: > :header-args: :var

Persisting the current working directory in an org-babel session

2023-01-01 Thread Adam Sneller
For some reason, I am unable to make changes to my working directory persist, from one emacs-lisp SRC block to the next. For example, consider the following: * Literate programming in a single session :PROPERTIES: :header-args: :var DIR="/Users/adam/Desktop/test"