Re: [TASK] Allow customizeable ditaa executable in ob-ditaa.el

2023-11-08 Thread Leo Butler
On Sat, Oct 21 2023, Ihor Radchenko wrote: > "Dr. Arne Babenhauserheide" writes: > In my current source I see [...] (use C-h v org-babel-ditaa-java-cmd to see the value of the java executable — you can then customize this to use a different command) >>> >>> As far as I

Re: [PATCH] Highlight ANSI sequences in the whole buffer (was [PATCH] ANSI color on example blocks and fixed width elements)

2023-11-08 Thread Nathaniel Nicandro
Ihor Radchenko writes: > Hi, Hi Ihor, > A few months have passed since the last activity in this thread. > May I know if you are still interested in the idea? I apologize for being unresponsive all these months. Yes I'm still interested in this idea, although I have not had time to work on

Re: Issue with org-persist and Tramp

2023-11-08 Thread Fabio Natali
On 2023-11-08, 18:01 +, Ihor Radchenko wrote: > I see the problem now. > Does the attached patch solve the "freeze"? Hey, thanks for sending this, really appreciate it. Unfortunately that didn't seem to fix it though. Here's what I did. - Added `(not (file-remote-p associated))' to the

Re: bash source code block: problem after ssh commands

2023-11-08 Thread Matt
On Tue, 07 Nov 2023 09:53:46 +0100 Ihor Radchenko wrote --- > Matt m...@excalamus.com> writes: > > > On Mon, 06 Nov 2023 14:32:16 +0100 Ihor Radchenko wrote --- > > > I am wondering about the possible downsides of using script approach > > > instead of stdin

Re: Issue with org-persist and Tramp

2023-11-08 Thread Ihor Radchenko
Fabio Natali writes: > Thanks for your email. Sure, glad to share the backtrace with you. > ... > tramp-file-name-handler(file-attributes > "/ssh::/home/user/test.org") > org-persist--normalize-associated(#) I see the problem now. Does the attached patch solve the "freeze"? >From

Re: Issue with org-persist and Tramp

2023-11-08 Thread Fabio Natali
On 2023-11-08, 09:25 +, Ihor Radchenko wrote: > May you please share the backtrace? > In particular, may you (1) M-x toggle-debug-on-quit (2) try to close the > problematic file; observe Emacs "freeze" (3) C-g and post the obtained > backtrace. Hi Ihor, Thanks for your email. Sure, glad to

Re: [FR] STARTUP: hidechecked

2023-11-08 Thread Fraga, Eric
Although org doesn't have the feature you are asking for, I have the following in my configuration that you may find useful: #+begin_src emacs-lisp (font-lock-add-keywords 'org-mode `(("^[ \t]*\\(?:[-+*]\\|[0-9]+[).]\\)[ \t]+\\(\\(?:\\[@\\(?:start:\\)?[0-9]+\\][

Re: [FR] STARTUP: hidechecked

2023-11-08 Thread Ihor Radchenko
Russell Adams writes: >> It'd be nice if there was an option to automatically fold list items >> that are checked on startup, e.g. > > The behavior you describe works with headings. Plain lists don't have > as many features. AFAIK, not even for headings - that would be an equivalent of "hide

Re: [FR] STARTUP: hidechecked

2023-11-08 Thread Russell Adams
On Wed, Nov 08, 2023 at 03:25:33PM +0100, unham...@fsfe.org wrote: > Hi, > > It'd be nice if there was an option to automatically fold list items > that are checked on startup, e.g. The behavior you describe works with headings. Plain lists don't have as many features. Thanks.

[FR] STARTUP: hidechecked

2023-11-08 Thread unhammer
Hi, It'd be nice if there was an option to automatically fold list items that are checked on startup, e.g. - [ ] open I want to see the details here - [X] closed I don't want to see these details would be shown on opening the file as #+STARTUP: hidechecked - [ ] open I

Re: [ELPA] New package: ob-asymptote.el

2023-11-08 Thread Bastien Guerry
Ihor Radchenko writes: >> It should be available within 24-48 hours at: >> >> https://elpa.gnu.org/packages/ob-asymptote.html Good news, thanks! > I am thus removing ob-asymptote from org-contrib. > https://git.sr.ht/~bzg/org-contrib/commit/a56fb90b1696bb015abfbb04df08a1ebc589d686 Thanks.

Re: [RFC][PATCH v2] Allow to export to ascii custom link types as notes

2023-11-08 Thread Ihor Radchenko
Max Nikulin writes: > On 08/11/2023 17:45, Ihor Radchenko wrote: >> (unless (org-element-property :org-link-code-exported link) >> (setq link (org-element-copy link)) >> (org-element-put-property link :org-link-code-exported t) >> (org-element-put-property :raw-link

Re: [RFC][PATCH v2] Allow to export to ascii custom link types as notes

2023-11-08 Thread Max Nikulin
On 08/11/2023 17:45, Ihor Radchenko wrote: (unless (org-element-property :org-link-code-exported link) (setq link (org-element-copy link)) (org-element-put-property link :org-link-code-exported t) (org-element-put-property :raw-link (org-element-create-inline-src-block ...))) From my

Re: Exporting Hyperlinks ?

2023-11-08 Thread Max Nikulin
On 08/11/2023 16:37, Ihor Radchenko wrote: Max Nikulin writes: It would be nice to have a LaTeX package that redefines \label to generated \hypertarget from its argument. Can't we simply generate a pair of \label + \hypertarget when generating .tex files in ox-latex? This way, we can make

Re: [RFC][PATCH v2] Allow to export to ascii custom link types as notes

2023-11-08 Thread Ihor Radchenko
Max Nikulin writes: >> We can alternatively check function arity. > > 5 unnamed arguments for functions that are supposed to be implemented by > users looks rather close to a border when it becomes fragile. The > language does not enforce type checking for user-supplied functions and > users

Re: Exporting Hyperlinks ?

2023-11-08 Thread Max Nikulin
On 08/11/2023 15:02, David Masterson wrote: Max Nikulin writes: On 07/11/2023 19:36, Ihor Radchenko wrote: If \href{file.pdf#anchor} can work, we should indeed use it when publishing org->pdf. It would be nice to have a LaTeX package that redefines \label to generated \hypertarget from its

Re: [RFC][PATCH v2] Allow to export to ascii custom link types as notes

2023-11-08 Thread Max Nikulin
On 07/11/2023 18:58, Ihor Radchenko wrote: Max Nikulin writes: (funcall protocol path desc backend info *link-object*) It would require another iteration with `condition-case' to deal with functions having old signature. Is it a problem? Performance for large projects like Worg. We can

Re: [ELPA] New package: ob-asymptote.el

2023-11-08 Thread Ihor Radchenko
Stefan Kangas writes: > Ihor Radchenko writes: > >> Stefan, may I know if there is anything else blocking the addition? > > AFAICT, nothing is blocking it, so I've added it to GNU ELPA. > > It should be available within 24-48 hours at: > > https://elpa.gnu.org/packages/ob-asymptote.html I

Re: [PATCH] testing: Delete duplicate tests

2023-11-08 Thread Ihor Radchenko
Ihor Radchenko writes: > Ilya Chernyshov writes: > >> Thank you! If a function that checks for duplicate tests is a welcome >> addition to org tests, I'll send is as a patch. What do you think? > > It would be great. Thanks in advance! I saw you using your function to detect the existing

Re: [PATCH] Highlight ANSI sequences in the whole buffer (was [PATCH] ANSI color on example blocks and fixed width elements)

2023-11-08 Thread Ihor Radchenko
Ihor Radchenko writes: > A few months have passed since the last activity in this thread. Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at

Re: Exporting Hyperlinks ?

2023-11-08 Thread Ihor Radchenko
Max Nikulin writes: >> If \href{file.pdf#anchor} can work, we should indeed use it when >> publishing org->pdf. > > It would be nice to have a LaTeX package that redefines \label to > generated \hypertarget from its argument. Can't we simply generate a pair of \label + \hypertarget when

Re: Issue with org-persist and Tramp

2023-11-08 Thread Ihor Radchenko
Fabio Natali writes: > I seem to be having an issue with org-persist and Tramp which is close > to what discussed in this thread: > > https://lists.gnu.org/archive/html//emacs-orgmode/2022-05/msg00720.html After that thread, Org should not (by default) examine remote files. > - I open a Org

Re: Issue with org-persist and Tramp

2023-11-08 Thread Fabio Natali
On 2023-11-07, 22:08 +0100, Antonio Carlos Padoan Junior wrote: > My workaround is to save the buffer locally (perhaps in /tmp). This > action releases the buffer. Hi Antonio, Thanks for getting back to me. Unfortunately your work-around doesn't seem to work in my case. Just to make sure I'm

Re: Exporting Hyperlinks ?

2023-11-08 Thread David Masterson
Max Nikulin writes: > On 07/11/2023 19:36, Ihor Radchenko wrote: >> If \href{file.pdf#anchor} can work, we should indeed use it when >> publishing org->pdf. > > It would be nice to have a LaTeX package that redefines \label to > generated \hypertarget from its argument. This would make it easy