Re: org-open-at-point fails to open files externally with double prefix

2025-07-21 Thread Ihor Radchenko
Max Nikulin writes: >> What about updating your patch to only use `call-process' on gnu systems >> and fallback to the existing code otherwise? > > Emacs developers made `call-process' default with exception for other > systems like darwin and windows. > > 5e377f4fcc0 2024-09-06 09:47:33 +0200 M

Re: org-open-at-point fails to open files externally with double prefix

2025-07-21 Thread Max Nikulin
On 20/07/2025 21:18, Ihor Radchenko wrote: Max Nikulin writes: https://list.orgmode.org/t7aqif$c2f$1...@ciao.gmane.io/ [PATCH] org.el: Use `call-process' to launch external viewers (was: Re: [BUG] org-open-file immediately termininates when calling xdg-open that calls emacsclient). Fri, 3 Jun 2

Re: org-open-at-point fails to open files externally with double prefix

2025-07-20 Thread Ihor Radchenko
Max Nikulin writes: >> https://list.orgmode.org/t7aqif$c2f$1...@ciao.gmane.io/ >> [PATCH] org.el: Use `call-process' to launch external viewers (was: Re: >> [BUG] org-open-file immediately termininates when calling xdg-open that >> calls emacsclient). >> Fri, 3 Jun 2022 00:04:12 +0700 >> >> Co

Re: org-open-at-point fails to open files externally with double prefix

2025-07-07 Thread Anush V
> From: Max Nikulin > Date: Mon, 30 Jun 2025 17:51:36 +0700 > [... 16 lines elided] > I hope, the following workaround does not override associations for > other file types. Even if I made a mistake, I think, you will be able > to adjust the recipe. > > (with-eval-after-load 'org > (push '

Re: org-open-at-point fails to open files externally with double prefix

2025-07-03 Thread Max Nikulin
On 28/06/2025 17:51, Max Nikulin wrote: The player is killed by SIGPIPE when it tries to write a warning to stderr. [...] https://list.orgmode.org/t7aqif$c2f$1...@ciao.gmane.io/ [PATCH] org.el: Use `call-process' to launch external viewers (was: Re: [BUG] org-open-file immediately termininates

Re: org-open-at-point fails to open files externally with double prefix

2025-06-30 Thread Max Nikulin
On 30/06/2025 05:19, Anush V wrote: 30461 18:02:57.315361 write(2, "MESA-INTEL: warning: ../mesa-25.1.3/src/intel/vulkan/anv_formats.c:905: FINISHME: support more multi-planar formats with DRM mod"..., 135) = -1 EPIPE (Broken pipe) 30461 18:02:57.315406 --- SIGPIPE {si_signo=SIGPIPE, si_code=SI

Re: org-open-at-point fails to open files externally with double prefix

2025-06-29 Thread Anush V
> From: Max Nikulin > Date: Sat, 28 Jun 2025 17:51:24 +0700 > > [... 35 lines elided] > You can try to evaluate (you may use specific video player instead of > xdg-open) > > (setq movie "~/big_buck_bunny.webm") > (setq movie-cmd > (format "xdg-open %s" (shell-quote-argument >

Re: org-open-at-point fails to open files externally with double prefix

2025-06-29 Thread Anush V
> From: Ihor Radchenko > Date: Fri, 27 Jun 2025 18:28:34 + > > Anush V writes: > >> I get the message “Running xdg-open >> /home//big_buck_bunny.webm...done” but doesn’t open mpv. >> >> pdf files open properly with the default pdf viewer, however. >> >> This might be similar to the "failing s

Re: org-open-at-point fails to open files externally with double prefix

2025-06-29 Thread Anush V
> From: Max Nikulin > Date: Sun, 29 Jun 2025 18:41:15 +0700 > > On 28/06/2025 17:51, Max Nikulin wrote: >> The player is killed by SIGPIPE when it tries to write a warning to >> stderr. > > Anush, please, specify > > - Linux distribution and version > lsb_release -a > - Desktop environment/w

Re: org-open-at-point fails to open files externally with double prefix

2025-06-29 Thread Max Nikulin
On 28/06/2025 17:51, Max Nikulin wrote: The player is killed by SIGPIPE when it tries to write a warning to stderr. Anush, please, specify - Linux distribution and version lsb_release -a - Desktop environment/window manager echo "$XDG_CURRENT_DESKTOP" - mpv version and package typ

Re: org-open-at-point fails to open files externally with double prefix

2025-06-28 Thread Max Nikulin
On 28/06/2025 01:28, Ihor Radchenko wrote: Anush writes: I get the message “Running xdg-open /home//big_buck_bunny.webm...done” but doesn’t open mpv. pdf files open properly with the default pdf viewer, however. This might be similar to the "failing silently" issue mentioned at https://list.o

Re: org-open-at-point fails to open files externally with double prefix

2025-06-27 Thread Ihor Radchenko
Anush V writes: > I get the message “Running xdg-open > /home//big_buck_bunny.webm...done” but doesn’t open mpv. > > pdf files open properly with the default pdf viewer, however. > > This might be similar to the "failing silently" issue mentioned at > https://list.orgmode.org/orgmode/874jedoo4d.f

Re: org-open-at-point fails to open files externally with double prefix

2025-06-23 Thread Anush V
> From: Ihor Radchenko > Date: Thu, 19 Jun 2025 16:45:39 + > > Anush V writes: > >> I believe there’s a bug in org-open-at-point. The help text states >> that with a double prefix argument (C-u C-u C-c C-o), it should “try >> to open outside of Emacs, in the application the system uses for t

Re: org-open-at-point fails to open files externally with double prefix

2025-06-19 Thread Ihor Radchenko
Anush V writes: > I believe there’s a bug in org-open-at-point. The help text states > that with a double prefix argument (C-u C-u C-c C-o), it should “try > to open outside of Emacs, in the application the system uses for this > file type.” However, when I use this command with a double prefix

org-open-at-point fails to open files externally with double prefix

2025-06-14 Thread Anush V
Hello Org Maintainers, I believe there’s a bug in org-open-at-point. The help text states that with a double prefix argument (C-u C-u C-c C-o), it should “try to open outside of Emacs, in the application the system uses for this file type.” However, when I use this command with a double prefix