org-ctags-find-tag should not prompt inside org-open-at-point

2023-09-24 Thread Joseph Turner
functionality. Thanks! Joseph Turner

Re: org-ctags-find-tag should not prompt inside org-open-at-point

2023-09-28 Thread Joseph Turner
Rudolf Adamkovič writes: > Joseph Turner writes: > >> (setopt org-ctags-open-link-functions nil) > > Oh, thank you! This regularly drives me crazy. You're welcome! > I added the following to my Emacs/Org configuration: > > #+BEGIN_SRC emacs-lisp :results none &g

Re: org-ctags-find-tag should not prompt inside org-open-at-point

2023-09-26 Thread Joseph Turner
Ihor Radchenko writes: > Joseph Turner writes: > >> When org-ctags-find-tag is a member of org-open-link-functions, fuzzy >> links and custom-id links are broken. Instead of following those links, >> Emacs prompts for a filename with "Visit tags table (default

How to HTML export non-Emacs/Elisp info manual links?

2023-10-10 Thread Joseph Turner
Hello! I'd like for exported HTML output to include HTTP links to info manuals besides the Emacs and Elisp manuals. Is this possible? For example, the hyperdrive.el info manual links to the transient.el info manuals using the info: protocol. In the exported HTML document

Re: How to HTML export non-Emacs/Elisp info manual links?

2023-10-10 Thread Joseph Turner
Ihor Radchenko writes: > Joseph Turner writes: > >> I'd like for exported HTML output to include HTTP links to info manuals >> besides the Emacs and Elisp manuals. Is this possible? >> ... > > Now, you can. > https://git.savannah.gnu.org/cgit/emacs/org-mode

Re: [PATCH] lisp/ob-plantuml.el: Insert results in buffer

2022-07-25 Thread Joseph Turner
Thank you for your feedback, Ihor! > Most importantly, the patch does not change the default value of > org-babel-default-header-args:plantuml. :results header arg is set to > "file" by default. Yes, I noticed this issue also. > The solution will be simply removing the default :results setting.

[PATCH] lisp/ob-plantuml.el: Insert results in buffer

2022-07-21 Thread Joseph Turner
Allow src block execution without ":file" header arg. When ":file" is omitted, insert txt output in buffer below src block. TINYCHANGE --- etc/ORG-NEWS| 5 + lisp/ob-plantuml.el | 10 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/etc/ORG-NEWS

Re: [PATCH] lisp/ob-plantuml.el: Insert results in buffer

2022-07-27 Thread Joseph Turner
Ihor Radchenko writes: > You can examine :result-params property inside params plist. If that > property does not explicitly mention different results Type (see 16.6 > Results of Evaluation), ob-plantuml may set the type to "file" with > plist-put. Perhaps I'm confused, but I think

Re: [PATCH] org-contrib/babel/languages/ob-doc-plantuml.org: ASCII output

2022-09-21 Thread Joseph Turner
Actually, I just looked at the org-mode documentation on the site today, and noticed that the examples of use section (https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-plantuml.html#org6cd541e) has the wrong ASCII output. The output should be ,---. ,-. |Bob|

Re: [PATCH] org-contrib/babel/languages/ob-doc-plantuml.org: ASCII output

2022-09-15 Thread Joseph Turner
No worries! Thanks for your patient help. Ihor Radchenko writes: > Ihor Radchenko writes: > >> Joseph Turner writes: >> >>> You're right! Thank you for catching my mistake. I'll send another patch. >> >> Did you have a chance to work on the patch? &g

Re: [BUG] Server-side export problem in Worg?

2022-09-22 Thread Joseph Turner
Thank you for the fix! Joseph Bastien Guerry writes: > Ihor Radchenko writes: > >> Bastien, there seems to be an issue with Worg export on server. Can you >> please check? > > This is now fixed, thanks: > > https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-plantuml.html#org6cd541e

[PATCH v2] lisp/ob-plantuml.el: Insert results in buffer

2022-08-03 Thread Joseph Turner
When :results header arg is set to a value that doesn't include "file", insert txt output in buffer below src block. TINYCHANGE --- etc/ORG-NEWS| 7 +++ lisp/ob-plantuml.el | 13 ++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/etc/ORG-NEWS

Re: [PATCH v2] lisp/ob-plantuml.el: Insert results in buffer

2022-08-05 Thread Joseph Turner
Ihor Radchenko writes: > Let's take this opportunity and fix another omission in ob-plantuml. > :results may generally contain Elisp sexps to be evaluated and the whole > split-string busyness is not accurate. Please use :result-params list > instead of :results. Good catch! I will submit a v3

[PATCH v3] lisp/ob-plantuml.el: Insert results in buffer

2022-08-05 Thread Joseph Turner
When :results header arg is set to a value that doesn't include "file", insert txt output in buffer below src block. TINYCHANGE --- etc/ORG-NEWS| 7 +++ lisp/ob-plantuml.el | 12 +--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS

[PATCH] org-contrib/babel/languages/ob-doc-plantuml.org: ASCII output

2022-08-05 Thread Joseph Turner
Document the new functionality of ob-plantuml to insert ASCII diagrams directly in the buffer. --- This patch documents the changes made here: https://lists.gnu.org/archive/html/emacs-orgmode/2022-08/msg00110.html .../babel/languages/ob-doc-plantuml.org | 55 +++ 1 file

Re: [PATCH v3] lisp/ob-plantuml.el: Insert results in buffer

2022-08-06 Thread Joseph Turner
You're very welcome! Thank you for your guidance. I learned quite a lot of Elisp during this process. On August 6, 2022 1:24:46 AM PDT, Ihor Radchenko wrote: >Joseph Turner writes: > >> When :results header arg is set to a value that doesn't include >> "file", inser

Re: [PATCH] org-contrib/babel/languages/ob-doc-plantuml.org: ASCII output

2022-08-13 Thread Joseph Turner
You're right! Thank you for catching my mistake. I'll send another patch. Joseph Ihor Radchenko writes: > Joseph Turner writes: > >> Document the new functionality of ob-plantuml to insert ASCII diagrams >> directly in the buffer. > > Thanks! > >> -=PlantU

[PATCH v2] org-contrib/babel/languages/ob-doc-plantuml.org: ASCII output

2022-08-13 Thread Joseph Turner
Document the new functionality of ob-plantuml to insert ASCII diagrams directly in the buffer. --- .../babel/languages/ob-doc-plantuml.org | 57 +++ 1 file changed, 46 insertions(+), 11 deletions(-) diff --git a/org-contrib/babel/languages/ob-doc-plantuml.org

Re: [PATCH] lisp/ob-plantuml.el: Insert results in buffer

2022-07-31 Thread Joseph Turner
Ihor Radchenko writes: > You also need to change :result-params and :result-type. > See `org-babel-execute-src-block'. Here's what I've got so far: ``` (defvar org-babel-default-header-args:plantuml '((:exports . "results")) "Default arguments for evaluating a plantuml source block.")

Re: [PATCH v2] lisp/ob-plantuml.el: Insert results in buffer

2022-10-31 Thread Joseph Turner
No worries!! Have a good day :) On October 30, 2022 11:02:18 PM PDT, Ihor Radchenko wrote: >Ihor Radchenko writes: > >>> Good catch! I will submit a v3 patch. >> >> Did you have a chance to work on the patch? > >Oops. I missed that you did and I even merged it. :facepalm: >Sorry for the noise.

[PATCH] Silently remove lockfiles from org-agenda-files

2024-01-18 Thread Joseph Turner
da files was open and modified in a buffer, and so the lockfile was not deleted? >From e69e69a03c215704d83f8388370f0db2bc93891d Mon Sep 17 00:00:00 2001 From: Joseph Turner Date: Thu, 18 Jan 2024 22:24:10 -0800 Subject: [PATCH] * lisp/org.el (org-check-agenda-file): Silently exclude lockfiles ---

Should org-link-parser add type "file" when link has no "file:" prefix?

2023-12-28 Thread Joseph Turner
Hello! I expect the following to return "[[/foobar]]": (with-temp-buffer (delay-mode-hooks (org-mode)) (insert "[[/foobar]]") (goto-char (point-min)) (let ((link (org-element-link-parser))) (org-element-link-interpreter link nil))) Instead, it returns "[[file:/foobar]]". In

Re: Should org-link-parser add type "file" when link has no "file:" prefix?

2023-12-30 Thread Joseph Turner
Ihor Radchenko writes: > Joseph Turner writes: [...] > Thanks for reporting! > Fixed, on main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d15e52fef Thank you for the quick fix! >> In hyperdrive.el currently, "[[/foobar]]" and "[[

Re: Should org-link-parser add type "file" when link has no "file:" prefix?

2023-12-30 Thread Joseph Turner
Joseph Turner writes: > - When handling "file" type links, check if `org-current-uri-scheme' > matches one of the keys in `org-link-parameters', and use the > appropriate handler instead of the "file" handler. (see attached patch > for an example usage in `org-lin

Re: Should org-link-parser add type "file" when link has no "file:" prefix?

2024-01-01 Thread Joseph Turner
Ihor Radchenko writes: > Joseph Turner writes: > >>> It would be more reliable to provide a separate link type. >>> We might even extend the special file+application: link type syntax that >>> already allows special behavior for opening file links. >>

Re: Should org-link-parser add type "file" when link has no "file:" prefix?

2024-01-15 Thread Joseph Turner
Ihor Radchenko writes: > Joseph Turner writes: > >>> See `org-open-file' IN-EMACS argument - we may use different handlers >>> to open file links. Currently, IN-EMACS can be 'system or 'emacs. But >>> nothing stops us from adding more options. >> >&g

Re: Should org-link-parser add type "file" when link has no "file:" prefix?

2024-01-16 Thread Joseph Turner
Ihor Radchenko writes: > Joseph Turner writes: > >>>> I'd like for users to be able to take an existing directory of Org mode >>>> documents and copy them all into a hyperdrive. I think the least >>>> surprising behavior is for the links between thos

Re: [PATCH] Silently remove lockfiles from org-agenda-files

2024-01-31 Thread Joseph Turner
Hi Ihor, Ihor Radchenko writes: > Joseph Turner writes: > >> My Emacs setup broke today due to the presence of a lockfile inside >> "~/.local/share/org/todo". I use EXWM, and I show org-agenda on startup: >> >> (add-hook 'after-init-hook >

Re: Using search options in HTTP-style links

2024-04-17 Thread Joseph Turner
Ihor Radchenko writes: > Joseph Turner writes: > >> ... >> (eww "https://ushin.org/needs-list.org#%3A%3A%23care;) >> >> ...loads the file in eww-mode with point at the top of the file. >> >> I think it would be more useful to instead activate org-

Using search options in HTTP-style links

2024-04-15 Thread Joseph Turner
Hello! [[info:org#Search Options]] says that search options are intended for file: type links only. However, since Org documents can also be loaded over network protocols like HTTP and hyper://, I'd like to deliberate if/how search options might be encoded inside HTTP-style link fragments.