GNU bug report logs - #78788
30.1; org-open-at-point fails to open files externally with double prefix

Previous Next

Package: emacs;

Reported by: Anush V <j <at> gnu.org>

Date: Fri, 13 Jun 2025 16:23:03 UTC

Severity: normal

Found in version 30.1

Done: Eli Zaretskii <eliz <at> gnu.org>

To reply to this bug, email your comments to 78788 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#78788; Package emacs. (Fri, 13 Jun 2025 16:23:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Anush V <j <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 13 Jun 2025 16:23:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Anush V <j <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.1; org-open-at-point fails to open files externally with double
 prefix
Date: Thu, 12 Jun 2025 17:55:38 -0400
Hello Emacs 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 argument on a media file link in org file 
(e.g., [[file:big_buck_bunny.webm]]), the media file opens inside 
Emacs instead of externally in mpv (my default video player).

This behavior is inconsistent because dired-do-open (E) in dired
buffer correctly opens the same file in mpv.

Could you confirm if I’m doing something wrong or missing something or
if it is actually a bug?

I tested this with “emacs --no-init”.


Thank you for your time.

* * *

In GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43,
cairo version 1.18.2)
System Description: Guix System

Configured using:
'configure
CONFIG_SHELL=/gnu/store/m0xdsa8cfq6mq1kxgxmpmpg71la4f0b9-bash-minimal-5.1.16/bin/bash
SHELL=/gnu/store/m0xdsa8cfq6mq1kxgxmpmpg71la4f0b9-bash-minimal-5.1.16/bin/bash --prefix=/gnu/store/lq0nwm8qkj9cmyjm85z3dcqrjnglhcym-emacs-next-pgtk-30.1-rc1-2.7144e84 --enable-fast-install --with-pgtk --with-cairo --with-modules --with-native-compilation=aot --disable-build-details'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ
JPEG LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP
NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS
TIFF TOOLKIT_SCROLL_BARS TREE_SITTER XIM GTK3 ZLIB


--
Regards,
Anush




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78788; Package emacs. (Fri, 13 Jun 2025 17:51:06 GMT) Full text and rfc822 format available.

Message #8 received at 78788 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Anush V <j <at> gnu.org>
Cc: 78788 <at> debbugs.gnu.org
Subject: Re: bug#78788: 30.1;
 org-open-at-point fails to open files externally with double prefix
Date: Fri, 13 Jun 2025 20:50:05 +0300
> From: Anush V <j <at> gnu.org>
> Date: Thu, 12 Jun 2025 17:55:38 -0400
> 
>  
> Hello Emacs 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 argument on a media file link in org file 
> (e.g., [[file:big_buck_bunny.webm]]), the media file opens inside 
> Emacs instead of externally in mpv (my default video player).
> 
> This behavior is inconsistent because dired-do-open (E) in dired
> buffer correctly opens the same file in mpv.
> 
> Could you confirm if I’m doing something wrong or missing something or
> if it is actually a bug?
> 
> I tested this with “emacs --no-init”.
> 
> 
> Thank you for your time.

Thanks, but since this is an Org command, please report this issue to
the Org developers first.  If they will tell you this is a core Emacs
problem, come back here and tell the details.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78788; Package emacs. (Sun, 22 Jun 2025 13:12:08 GMT) Full text and rfc822 format available.

Message #11 received at 78788 <at> debbugs.gnu.org (full text, mbox):

From: Anush V <j <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 78788 <at> debbugs.gnu.org
Subject: Re: bug#78788: 30.1; org-open-at-point fails to open files
 externally with double prefix
Date: Sat, 21 Jun 2025 23:04:16 -0400
> From: Eli Zaretskii <eliz <at> gnu.org>
> Date: Fri, 13 Jun 2025 20:50:05 +0300
>
>> From: Anush V <j <at> gnu.org>
>> Date: Thu, 12 Jun 2025 17:55:38 -0400
>>
>>
>> Hello Emacs 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 argument on a media file link in org file
>> (e.g., [[file:big_buck_bunny.webm]]), the media file opens inside
>> Emacs instead of externally in mpv (my default video player).
>>
>> This behavior is inconsistent because dired-do-open (E) in dired
>> buffer correctly opens the same file in mpv.
>>
>> Could you confirm if I’m doing something wrong or missing something or
>> if it is actually a bug?
>>
>> I tested this with “emacs --no-init”.
>>
>>
>> Thank you for your time.
>
> Thanks, but since this is an Org command, please report this issue to
> the Org developers first.  If they will tell you this is a core Emacs
> problem, come back here and tell the details.
>

Reported the issue to org developers.  This is not a core emacs
problem.  Please feel free to close this issue.

--
Regards,
Anush




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sun, 22 Jun 2025 14:33:02 GMT) Full text and rfc822 format available.

Notification sent to Anush V <j <at> gnu.org>:
bug acknowledged by developer. (Sun, 22 Jun 2025 14:33:02 GMT) Full text and rfc822 format available.

Message #16 received at 78788-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Anush V <j <at> gnu.org>
Cc: 78788-done <at> debbugs.gnu.org
Subject: Re: bug#78788: 30.1; org-open-at-point fails to open files
 externally with double prefix
Date: Sun, 22 Jun 2025 17:31:41 +0300
> From: Anush V <j <at> gnu.org>
> Cc: 78788 <at> debbugs.gnu.org
> Date: Sat, 21 Jun 2025 23:04:16 -0400
> 
> > From: Eli Zaretskii <eliz <at> gnu.org>
> > Date: Fri, 13 Jun 2025 20:50:05 +0300
> >
> >> From: Anush V <j <at> gnu.org>
> >> Date: Thu, 12 Jun 2025 17:55:38 -0400
> >>
> >>
> >> Hello Emacs 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 argument on a media file link in org file
> >> (e.g., [[file:big_buck_bunny.webm]]), the media file opens inside
> >> Emacs instead of externally in mpv (my default video player).
> >>
> >> This behavior is inconsistent because dired-do-open (E) in dired
> >> buffer correctly opens the same file in mpv.
> >>
> >> Could you confirm if I’m doing something wrong or missing something or
> >> if it is actually a bug?
> >>
> >> I tested this with “emacs --no-init”.
> >>
> >>
> >> Thank you for your time.
> >
> > Thanks, but since this is an Org command, please report this issue to
> > the Org developers first.  If they will tell you this is a core Emacs
> > problem, come back here and tell the details.
> >
> 
> Reported the issue to org developers.  This is not a core emacs
> problem.  Please feel free to close this issue.

Thanks, done.




This bug report was last modified 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.