[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-10-19 Thread Vladimir Nikishkin
Dear Org developers, org-contrib has the following lines 206 and 207 in org-eldoc: #+begin_src elisp ;;;###autoload (add-hook 'org-mode-hook #'org-eldoc-load) #+end_src which set up that hook automatically when the package org-contrib is installed. that hook is, seemingly, incompatible with the

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

2023-10-19 Thread Po Lu
Ihor Radchenko writes: > Ideally, we should ask Emacs devs to provide OS-independent interface > for uri-list handling. I am not a big fan of adding special OS handling > to Org mode, unless absolutely necessary. Inasmuch as I had previously interposed myself into this conversation, it should

Re: [BUG] Search leaves draws open [9.7-pre (release_9.6.10-835-gf3de4c @ ~/.emacs.d/org-mode-git/lisp/)]

2023-10-19 Thread Paul Stansell
Hello Ihor, In the meantime, is there a command that will close all drawers, even those that are open in sections (headings) that are closed? I searched but didn't find anything. Thanks, Paul

Re: [BUG] emacs-lisp source blocks do not implement :prologue and :epilogue [9.6.9 ( @ /home/jet/.config/emacs/elpa/org-9.6.9/)]

2023-10-19 Thread Jeff Trull
Thanks for the quick fix! If my bash one-liner is right there are another 12: grep -L :prologue `fgrep -Rl --include=\*.el '(defun org-babel-expand-body:' ~/.config/emacs/elpa/org-9.6.9/` | xargs -n 1 basename ob-C.el ob-awk.el ob-lilypond.el ob-sqlite.el ob-java.el ob-org.el ob-calc.el

Re: [PATCH] org-fold: (org-fold-hide-drawer-all): Make interactive

2023-10-19 Thread Ivan Necas
Oh nice, thanks! -- Ivan On Thu, 19 Oct 2023 at 11:32, Ihor Radchenko wrote: > Ivan Necas writes: > > > Sometimes, I want to unfold all the drawers using `org-fold-show-all', > > and then I want to hide them all back. I've noticed, there is a function > > `org-fold-hide-drawer-all' does just

Re: [BUG] CI jobs do not appear to be running

2023-10-19 Thread Bastien Guerry
Ihor Radchenko writes: > Still nothing, even though I did not address some recent > failures, like "FAILED ob-octave/session-multiline". I've pushed a fix, it should be okay now. I've also updated the script which mirrors the main Org repository to GitHub and Sourcehut, things are kept in sync

Re: Case insensitivity of simple [[links]]

2023-10-19 Thread Rudolf Adamkovič
Ihor Radchenko writes: >>> Note that there is generally no guarantee that [[name]] link will be >>> exported as "name" by any particular backend. Your workaround with >>> num:nil is just a workaround that may or may not work in future. >> >> I did not know this is considered a workaround! I

Re: Re: [FR] org-num-mode inverse defaults

2023-10-19 Thread Pedro Andres Aranda Gutierrez
Yes, very helpful. Thanks a ton! /PA On Thu, 19 Oct 2023 at 11:07, Ihor Radchenko wrote: > Pedro Andres Aranda Gutierrez writes: > > > I feel the explanation in > > > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=b223a3cc7 > is > > a bit fuzzy and may not be correctly

Re: [BUG] Search leaves draws open [9.7-pre (release_9.6.10-835-gf3de4c @ ~/.emacs.d/org-mode-git/lisp/)]

2023-10-19 Thread Ihor Radchenko
Paul Stansell writes: > Using Ctrl-S to search an org file leaves drawers open after the search. > For example, open the attached org file, search_bug.org, and, with the > cursor initially at the first line of the file, search for "text" with > - Ctrl-s text > This finds the first occurrence of

Re: svg file from tikz picture

2023-10-19 Thread Ihor Radchenko
Akira Kyle writes: >> I've just checked and Akira's is a registered FSF contributor >> since >> last may. > > Unfortunately I was informed that I am only allowed to make > "small" contributions. I wasn't given any explicit metric of what > qualifies as a "small" contribution, but was informed

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

2023-10-19 Thread Ihor Radchenko
Visuwesh writes: >>> Is there any particular reason why you insert a newline after the image >>> link? >> >> It is for when you drop multiple files onto a frame. AFAIU/AFAICT >> there's no way to know beforehand if multiple files will be dropped or >> not. I will look into it in bit more

Re: [PATCH] org-fold: (org-fold-hide-drawer-all): Make interactive

2023-10-19 Thread Ihor Radchenko
Ivan Necas writes: > Sometimes, I want to unfold all the drawers using `org-fold-show-all', > and then I want to hide them all back. I've noticed, there is a function > `org-fold-hide-drawer-all' does just that, but it's not marked > as a command, so the patch is as simple as adding

RE: Re: [FR] org-num-mode inverse defaults

2023-10-19 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > I feel the explanation in > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=b223a3cc7 is > a bit fuzzy and may not be correctly understood by newcomers. A pointer to > a more detailed explanation could help a lot. I added reference to the

Re: [BUG] emacs-lisp source blocks do not implement :prologue and :epilogue [9.6.9 ( @ /home/jet/.config/emacs/elpa/org-9.6.9/)]

2023-10-19 Thread Ihor Radchenko
Jeff Trull writes: > The manual page "Environment of a Code Block" describes :prologue and > :epilogue header arguments, which are useful for applications like unit > tests and boilerplate code. No suggestion is made that these arguments > are only available for some languages. If they are not

Re: Incorrect quantity of en-spaces

2023-10-19 Thread Ihor Radchenko
"Tom Alexander" writes: >> This appears to be a special case, not documented on org-syntax page. > > Sounds good, thanks! Updated org-syntax document: https://git.sr.ht/~bzg/worg/commit/71077014 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at

Re: [BUG] CI jobs do not appear to be running

2023-10-19 Thread Ihor Radchenko
Bastien Guerry writes: >> https://lists.sr.ht/~bzg/org-build-failures ran the tests right after >> , >> but my recent Org commits did not trigger anything. > > Perhaps your email was sent less than three hours

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

2023-10-19 Thread Visuwesh
[திங்கள் அக்டோபர் 09, 2023] Visuwesh wrote: > [திங்கள் அக்டோபர் 09, 2023] Ihor Radchenko wrote: > >> Thanks! >> >>> +(defun org--dnd-attach-file (url action) >>> ... >>> +(insert >>> + (org-link-make-string >>> + (concat (if separatep >>> + "file:" >>> +

RE: Re: [FR] org-num-mode inverse defaults

2023-10-19 Thread Pedro Andres Aranda Gutierrez
Hi I feel the explanation in https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=b223a3cc7 is a bit fuzzy and may not be correctly understood by newcomers. A pointer to a more detailed explanation could help a lot. Best, /PA -- Fragen sind nicht da, um beantwortet zu werden, Fragen