GNU bug report logs -
#67688
30.0.50; ffap prepends buffers default-directory to guessed file name in case of tramp's file name syntax
Previous Next
Reported by: Gregor Zattler <grfz <at> gmx.de>
Date: Thu, 7 Dec 2023 13:47:02 UTC
Severity: normal
Found in version 30.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#67688: 30.0.50; ffap prepends buffers default-directory to guessed file name in case of tramp's file name syntax
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 67688 <at> debbugs.gnu.org.
--
67688: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67688
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
> From: Visuwesh <visuweshm <at> gmail.com>
> Cc: michael.albinus <at> gmx.de, grfz <at> gmx.de, 67688 <at> debbugs.gnu.org
> Date: Sat, 16 Dec 2023 20:15:48 +0530
>
> >> --- a/etc/NEWS
> >> +++ b/etc/NEWS
> >> @@ -258,6 +258,11 @@ called in the '--eval' expression, which is useful when those
> >> arguments contain arbitrary characters that otherwise might require
> >> elaborate and error-prone escaping (to protect them from the shell).
> >>
> >> +---
> >> +** ffap-lax-url now defaults to nil.
> >> +Previously, it was set to ffap-lax-url to t but this broke remote file
> >> +name detection.
> >
> > Please quote symbols in NEWS 'like this'.
>
> Oops, fixed in attached patch.
Thanks, installed on master, and closing the bug.
[Message part 3 (message/rfc822, inline)]
Dear Emacs developers, following this recipe (in
some Gnu/Linux shell):
$ cd /tmp
tmp$ emacs -Q -nw
# type /ssh:user <at> server:/home/test
# type M-x ffap RET
the proposed file name in minibuffer then is:
/tmp/ssh:user <at> server:/home/test
instead of
/ssh:user <at> server:/home/test
Therefore it's not possible to just hit RET in order
to open that file. But that would be nice.
Thanks for your attention, Gregor
In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu,
cairo version 1.16.0) of 2023-12-02 built on no
Repository revision: fb4b0b30a24e8192e71c1425dc8a295cf39f64ff
Repository branch: HEAD
Windowing system distributor 'The X.Org Foundation', version 11.0.12101007
System Description: Debian GNU/Linux 12 (bookworm)
Configured using:
'configure --infodir=/usr/share/info/emacs --with-json
--with-file-notification=yes --with-libsystemd
--with-cairo --with-x=yes --with-x-toolkit=no
--without-toolkit-scroll-bars --without-gsettings
--enable-checking=yes,glyphs
--enable-check-lisp-object-type
--with-native-compilation 'CFLAGS=-g3 -O3
-ffile-prefix-map=/home/grfz/src/emacs-master--fb4b0b30a24e8192e71c1425dc8a295cf39f64ff--2023-12-02T22-47+01-00=. -fstack-protector-strong
-Wformat -Werror=format-security ''
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM
HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD
LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY
OLDXMENU PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS
TIFF WEBP X11 XDBE XIM XINPUT2 XPM ZLIB
Important settings:
value of $LC_ALL:
value of $LC_COLLATE: de_DE.utf8
value of $LC_CTYPE: de_DE.utf8
value of $LC_MESSAGES: POSIX
value of $LC_MONETARY: de_DE.utf8
value of $LC_NUMERIC: de_DE.utf8
value of $LC_TIME: de_DE.utf8
value of $LANG: de_DE.utf8
locale-coding-system: utf-8-unix
This bug report was last modified 1 year and 154 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.