Re: org-search-view across all org-agenda-files ?

2023-10-26 Thread Samuel Wales
"This command searches the agenda files, and in addition the files listed in ‘org-agenda-text-search-extra-files’ unless a restriction lock is active." -- On 10/26/23, David Masterson wrote: > Can org-search-view work across all org-agenda-files? Is there an > alternative? > -- > David

org-search-view across all org-agenda-files ?

2023-10-26 Thread David Masterson
Can org-search-view work across all org-agenda-files? Is there an alternative? -- David Masterson

[BUG] org-comment-dwim does not work with temporary Transient Mark mode [9.7-pre (release_9.6.10-902-g41ff56 @ /home/jschmidt/work/org-mode/lisp/)]

2023-10-26 Thread Jens Schmidt
* Reproducer Save the following files: - /tmp/test.org - #+begin_src bash foo bar baz #+end_src - /tmp/test.org - - /tmp/test.el -

man pages references (Re: [PATCH] ox-ascii.el: Consistently add brackets around links)

2023-10-26 Thread Max Nikulin
On 25/10/2023 17:34, Ihor Radchenko wrote: Max Nikulin writes: Should be [man] () Side note: it should be either just "man(1)" or "man(8)" without any URL for plain text export, but it is another story. I would not say "should". May? Yes. URL also makes

Link translation & relative path export_file_name

2023-10-26 Thread Psionic K
When using an +#export_file_name directive, is it possible to have links translated to match the directory offset of the target? I came across this while working on a documentation generation scheme for https://github.com/positron-solutions/elisp-repo-kit The links in the org document are

Re: org-ditaa woes

2023-10-26 Thread Leo Butler
On Tue, Oct 24 2023, Max Nikulin wrote: > On 23/10/2023 18:18, Florin Boariu wrote: >> >>> sh-5.1$ flatpak-spawn --host toolbox run /usr/bin/ditaa >>> /tmp/foo.txt -o /tmp/foo.png > > thanks > >> I really _need_ to generically execute a command. > > I hope, a couple of workarounds are still

Re: [BUG] Undo eats buffer [9.7-pre (release_9.6.10-888-g098f08 @ /home/kdm/local/src/org-mode/lisp/)]

2023-10-26 Thread Ken Mankoff
Hi Ihor, On 2023-10-26 at 05:10 -07, Ihor Radchenko wrote... > Have you tried reporting your problem to emacs-jupyter devs? There > might be a better chance that they can fix or suggest something. There is an open issue on that GitHub repository but someone thought it might be org-cache

Re: bash source code block: problem after ssh commands

2023-10-26 Thread Russell Adams
On Wed, Oct 25, 2023 at 01:17:42PM +0200, alain.coch...@unistra.fr wrote: >#+begin_src bash :results output >ssh coch...@fruc.u-strasbg.fr "echo foo>foo_file" >echo "bar" >#+end_src I know that Ihor has already reproduced, but are you using an SSH key to connect, or entering a

Re: bash source code block: problem after ssh commands

2023-10-26 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > Ihor Radchenko writes on Thu 26 Oct 2023 08:44: > > > I currently do not have a setup to test ssh commands, > > Sorry if that's irrelevant: I realized that one can ssh to the *same* > machine. You are indeed right. I can now reproduce the problem locally. It

Re: bash source code block: problem after ssh commands

2023-10-26 Thread Alain . Cochard
Ihor Radchenko writes on Thu 26 Oct 2023 08:44: > I currently do not have a setup to test ssh commands, Sorry if that's irrelevant: I realized that one can ssh to the *same* machine.

Re: [BUG] Undo eats buffer [9.7-pre (release_9.6.10-888-g098f08 @ /home/kdm/local/src/org-mode/lisp/)]

2023-10-26 Thread Ihor Radchenko
Ken Mankoff writes: > I'm running into a bug where if I (undo) after evaluating an Org Babel > emacs-jupyter code block, several hundred lines of the Org buffer below are > erased. Unfortunately I am having trouble creating an MWE that demonstrates > this, but I hope the org-element-cache

[BUG] Undo eats buffer [9.7-pre (release_9.6.10-888-g098f08 @ /home/kdm/local/src/org-mode/lisp/)]

2023-10-26 Thread Ken Mankoff
I'm running into a bug where if I (undo) after evaluating an Org Babel emacs-jupyter code block, several hundred lines of the Org buffer below are erased. Unfortunately I am having trouble creating an MWE that demonstrates this, but I hope the org-element-cache warning below may still be

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-26 Thread Po Lu
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.

Re: Feature request: IDs for everything

2023-10-26 Thread Ihor Radchenko
Max Nikulin writes: >> If we simply allow id: links to point to non-headings, it will be a >> major breaking change that may affect third-party packages. So, we >> need to design the extended ids carefully to avoid breakage. > > A defcusom user options whether id:UUID links for non-heading

Re: Best practice for writing and debugging shell source blocks?

2023-10-26 Thread Max Nikulin
On 24/10/2023 21:54, Tim Landscheidt wrote: The same thing happens if I add ":session my-test" to all source blocks, Have you tried to combine variables and session? #+name: get-random-value #+begin_src bash echo "$RANDOM" #+end_src #+header: :var random_var=get-random-value #+begin_src sh

Re: org-ditaa woes

2023-10-26 Thread Ihor Radchenko
Leo Butler writes: >> Writing a patch is also welcome. > > I am looking at ob-ditaa. Patching it looks within my reach. > > Is there no testsuite for it? No test suite. But you may refer to testing/lisp/test-ob-jave.el to see how to write simple ob-* tests. -- Ihor Radchenko // yantar92, Org

Re: Feature request: IDs for everything

2023-10-26 Thread Max Nikulin
On 21/10/2023 20:05, Ihor Radchenko wrote: Tor Erlend Fjelde writes: I was wondering if there's a reason why we couldn't have IDs a la org-id.el for everything? It seem to me that it would be useful to use something like `#+ID` in place of `#+NAME` for tables, blocks, etc. as well as

Re: Are 'placement' and 'float' "obsolete terms" in inline images export

2023-10-26 Thread Ihor Radchenko
Juan Manuel Macías writes: >> What about :wrap? > > I like :wrap. What's more, remembering that old thread where > some questions about code before/after the image were discussed, > what if the expected value of :wrap were a kind of template? This would > allow code to be placed before and/or

Re: Feature request: IDs for everything

2023-10-26 Thread Ihor Radchenko
Tor Erlend Fjelde writes: >> If we simply allow id: links to point to non-headings, it will be a >> major breaking change that may affect third-party packages. So, we >> need to design the extended ids carefully to avoid breakage. For >> example, `org-id-find' and other API function may need to

Re: org-ditaa woes

2023-10-26 Thread Max Nikulin
On 26/10/2023 02:00, Leo Butler wrote: I am looking at ob-ditaa. Patching it looks within my reach. Is there no testsuite for it? Unfortunately there is only a couple of examples at https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ditaa.html

Re: bash source code block: problem after ssh commands

2023-10-26 Thread Ihor Radchenko
Leo Butler writes: > It looks like an issue in comint-mode and the way that it is handling > the temporary ssh session. This is not an issue with org-mode. > ... > Not working: > > #+begin_src bash :results output > ssh SSH-HOST 'echo foo>/tmp/foo_file' > echo $(uname -a) |tee

Re: Feature request: IDs for everything

2023-10-26 Thread Tor Erlend Fjelde
> Although we have at least one caveat that we need to consider - the > current users of the id: links blindly assume that they always link to > headings. This includes many third-party packages, like org-roam. > > If we simply allow id: links to point to non-headings, it will be a > major