Re: One big file or multiple small ones

2025-03-17 Thread Rudolf Adamkovič
Rudolf Adamkovič writes: > Sébastien Gendre writes: > >> I have a question for other Org-mode users: [...] > > I tried both and currently use one big file. If anyone wonders, I organize the file as follows: * Area ** Concept *** Aspect For example: * Linear algebra ** Dot product

Re: [BUG] org babel uses sh-mode with zsh indentation when i specify bash or bash-ts [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/31.0.50/lisp/org/)]

2025-03-17 Thread Ihor Radchenko
the_wurfkreuz writes: > So the report can be closed now, i guess. Canceled. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at

Re: [BUG] org-gnus-follow-link tries to select dead frame [9.8-pre (release_9.7.15-163-g3ff21c.dirty @ /home/bidar/.local/etc/emacs/lib/org/lisp/)]

2025-03-17 Thread Ihor Radchenko
Björn Bidar writes: > +*** =org-link-gnus= Ensure that other frame is alive before selecting it > +Ensure that the Gnus frame is alive before selecting it if it was > +activated before. If a Gnus frame existed before call it using > +~gnus-other-frame~. Using the function also ensures that > +~o

Re: org-persist-write:index takes minutes to run

2025-03-17 Thread Ihor Radchenko
Karthik Chikmagalur writes: >> My guess is 7999433067 or 2a620113c1, but need to confirm. > > Yes it's one of those two, I'm not sure which of the two it is as I > haven't had the time to reset the branch and test each one. What if you try the attached diff? diff --git a/lisp/org-persist.el b/l

Re: [BUG] Org-babel inline overwriting src block outputs when using async + session

2025-03-17 Thread Ihor Radchenko
Jack Kamm writes: > The following patch seems to fix the issue -- does something like this > seem reasonable? > > ... > +(defun org-babel-previous-src-block-or-inline () > + "Jump to previous source block or inline block." > + (re-search-backward (rx (or (regexp org-babel-src-block-regexp) > +

Re: [FR] org-babel-n-tangle

2025-03-17 Thread Ihor Radchenko
Lei Zhe writes: >>>As for the patch, I tried to run it with simple example and got an error. > I tested on my side and didn't see any failures. Would you mind > sharing the error details? 1. git clone ... 2. cd /path/to/org/source 3. apply the patch 4. make repro 5. C-x C-f /tmp/test.org 6. Inse

Re: [BUG] Got error opening existing org file in emacs 30.1 [9.7.11 (release_9.7.11 @ /usr/share/emacs/30.1/lisp/org/)]

2025-03-17 Thread Steinar Bang
> Ihor Radchenko : > What about the attached? Hm... seems to be working from a brief test. Applied with "patch -p1" on top of currrent org-mode git HEAD and then ran "make autoloads" and then started a fresh emacs with emacs ~/git/bang-bompom/README.org and pressed TAB on the top node. Tr

Re: org-persist-write:index takes minutes to run

2025-03-17 Thread Ihor Radchenko
Karthik Chikmagalur writes: > I mistakenly replied only to you instead of the list just now. Let me > know if I should resend that email to the list. Please do.

Re: One big file or multiple small ones

2025-03-17 Thread Jean Louis
* Zororg via "General discussions about Org-mode. [2025-03-14 08:17]: > NLP and LLM models might be truly beneficial. > Although scary, its a good idea for personal knowledge management. Is it scary? Interesting to see the reaction. Though I don't know why it would be scary. I can understand i

Re: org-persist-write:index takes minutes to run

2025-03-17 Thread Karthik Chikmagalur
Ihor, I mistakenly replied only to you instead of the list just now. Let me know if I should resend that email to the list. Karthik Ihor Radchenko writes: > Karthik Chikmagalur writes: > >>> My guess is 7999433067 or 2a620113c1, but need to confirm. >> >> Yes it's one of those two, I'm not s

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?

2025-03-17 Thread Ihor Radchenko
Tor-björn Claesson writes: >> 1. Define a set of variables: >>+ -actions (if actions is not already a variable) >>+ -default-action (if not already a variable) >>+ -display (...) > Yes, this is much nicer than putting those in org-menu- alists! > >>+ -menu-system (...) >>+ -s

Re: [BUG] (Feature request) Allow org-cite-insert to completing-read-just-once [9.7.11]

2025-03-17 Thread Ihor Radchenko
First of all, thanks for providing a patch! However, please note that I cannot accept patches exceeding 15-20LOC without copyright assignment. Would you consider it? See https://orgmode.org/worg/org-contribute.html#copyright Some comments on the patch below. > Subject: [PATCH] org-cite-basic-c

[BUG] backtrace in capture buffer [9.8-pre (release_9.7.24-267-g5cfc85 @ /home/msoulier/.emacs.d/straight/build/org/)]

2025-03-17 Thread Michael P. Soulier
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.

Re: One big file or multiple small ones

2025-03-17 Thread tomas
On Mon, Mar 17, 2025 at 10:46:40PM +0300, Jean Louis wrote: > * Zororg via "General discussions about Org-mode. > [2025-03-14 08:17]: > > NLP and LLM models might be truly beneficial. > > Although scary, its a good idea for personal knowledge management. > > Is it scary? Interesting to see the r

Re: [BUG] Org-babel inline overwriting src block outputs when using async + session

2025-03-17 Thread Jack Kamm
Ihor Radchenko writes: > Jack Kamm writes: > >> The following patch seems to fix the issue -- does something like this >> seem reasonable? >> >> ... >> +(defun org-babel-previous-src-block-or-inline () >> + "Jump to previous source block or inline block." >> + (re-search-backward (rx (or (rege

how can I filter my agenda on tags?

2025-03-17 Thread Michael P. Soulier
I just can't seem to get this working. During the work hours I want to include in my agenda only TODO items that have the @work, @calls or @errands tags. I tried one tag initially and I can't get that working. Looking at the docs, regexp seems to be the only option. CONDITIONS is a list of symbol

Re: One big file or multiple small ones

2025-03-17 Thread Bob Newell
As usual I'm late to the party but I find uses for both a single large org file as well as multiple small ones. -For knowledge capture, I prefer the quick action of small files, one file per capture instance. I use a personally written system called 'scraps' (with many similarities to 'denot

Re: [FR] org-babel-n-tangle

2025-03-17 Thread Lei Zhe
Thanks. I realized that it's challenging to handle the error properly if the return value of org-babel-tangle-single-block remains unchanged. Consider your code block: #+begin_src emacs-lisp :tangle '("1.el" "2.el") (+ 1 2) #+end_src In the org-babel-tangle--unbracketed-link function, if org

Re: emacs hung chewing cpu trying to open meetings.org

2025-03-17 Thread Michael Soulier
On 2025-03-11 3:06 p.m., Ihor Radchenko wrote: Did you try sending SIGUSR2 signal? I did, and it did not respond. Multiple C-g's made it suspend and prompt me as to whether it should dump core, which is where I got the core file from. Mike

Re: emacs hung chewing cpu trying to open meetings.org

2025-03-17 Thread Michael P. Soulier
On 10/03/25 jman said: > If you suspect a recent addition is causing this issue, you can bisect the I suspected that it could be a change in my configuration. I managed to go back and find an older config where this did not happen, so I am bisecting against that to see what is triggering the bug.

Re: emacs hung chewing cpu trying to open meetings.org

2025-03-17 Thread Michael P. Soulier
On 10/03/25 jman said: > If you suspect a recent addition is causing this issue, you can bisect the > last changes by removing them one by one (with another editor) and try > opening the file (with Emacs) until you identify the change that is causing > the issue. A that point you can start investi

ox-hugo publishing problems

2025-03-17 Thread Michael P. Soulier
I am experiencing this bug https://github.com/kaushalmodi/ox-hugo/issues/740 But rebuilding has not solved the problem. Help appreciated. Using org 9.8-pre Mike

Re: [BUG] org babel uses sh-mode with zsh indentation when i specify bash or bash-ts [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/31.0.50/lisp/org/)]

2025-03-17 Thread General discussions about Org-mode.
> On my machine, my default shell is fish, so it falls back to sh-mode too. When > bash-ts-mode is enabled, it does an extra check to see if the file is actually > bash, if it can't be sure, it falls back to sh-mode. See > sh--redirect-bash-ts-mode. > > If you enable bash-ts-mode in a file that end

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?

2025-03-17 Thread Tor-björn Claesson
Thanks for looking at this! Ihor Radchenko writes: > The setq calls above are evaluated when macro is expanded, not when the > menu is called. > Macro expansion may happen during compile time, when loading un-compiled > library, or when you evaluate the macro expression manually. > If the expans