GNU bug report logs - #53513
28.0.50; fido-vertical-mode does not work with tramp

Previous Next

Package: emacs;

Reported by: schlurfi <at> mailbox.org

Date: Mon, 24 Jan 2022 21:29:01 UTC

Severity: normal

Merged with 51386, 52758, 54042, 60505

Found in versions 28.0.50, 29.0.50, 29.0.60

Fixed in version 29.2

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53513 in the body.
You can then email your comments to 53513 AT debbugs.gnu.org in the normal way.

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#53513; Package emacs. (Mon, 24 Jan 2022 21:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to schlurfi <at> mailbox.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 24 Jan 2022 21:29:02 GMT) Full text and rfc822 format available.

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

From: schlurfi <at> mailbox.org
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 28.0.50; fido-vertical-mode does not work with tramp
Date: Mon, 24 Jan 2022 19:49:56 +0000 (GMT)
emacs -Q
C-x C-f
type: "//ssh:" -> expectation: start completion, first host, then
directories / files on host. However, nothing meaningful happens...

Note: with only fido-mode, it is possible to open a tramp connection,
but trying to change the directory deletes the whole line (//ssh:...)
instead of only the directory. This means one has to start from scratch
typing the connection details etc.

In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin20.6.0, NS appkit-2022.60 Version 11.5.2 (Build 20G95))
 of 2021-09-05 built on Zwei.local
Windowing system distributor 'Apple', version 10.3.2022
System Description:  macOS 11.6.2

Configured using:
 'configure --disable-dependency-tracking --disable-silent-rules
 --enable-locallisppath=/usr/local/share/emacs/site-lisp
 --infodir=/usr/local/Cellar/emacs-plus <at> 28/28.0.50/share/info/emacs
 --prefix=/usr/local/Cellar/emacs-plus <at> 28/28.0.50 --with-xml2
 --with-gnutls --with-native-compilation --without-dbus
 --with-imagemagick --with-modules --with-rsvg --with-ns
 --disable-ns-self-contained 'CFLAGS=-I/usr/local/opt/gcc/include
 -I/usr/local/opt/libgccjit/include -I/usr/local/opt/gmp/include
 -I/usr/local/opt/jpeg/include' 'LDFLAGS=-L/usr/local/lib/gcc/11
 -I/usr/local/opt/gcc/include -I/usr/local/opt/libgccjit/include
 -I/usr/local/opt/gmp/include -I/usr/local/opt/jpeg/include''

Configured features:
ACL GIF GLIB GMP GNUTLS IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES
NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TIFF
TOOLKIT_SCROLL_BARS XIM ZLIB

Important settings:
  value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  fido-vertical-mode: t
  icomplete-vertical-mode: t
  icomplete-mode: t
  fido-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug comp comp-cstr warnings rx cl-extra
help-mode message rmc puny rfc822 mml mml-sec epa derived epg rfc6068
epg-config gnus-util rmail rmail-loaddefs text-property-search mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils vc-hg
vc-git diff-mode easy-mmode vc-bzr vc-dispatcher cus-start cus-load
icomplete dired-aux misearch multi-isearch dired dired-loaddefs
tramp-cmds tramp-sh tramp-cache tramp tramp-loaddefs trampver
tramp-integration files-x tramp-compat shell pcomplete comint ansi-color
ring parse-time iso8601 ls-lisp format-spec auth-source cl-seq eieio
eieio-core cl-macs eieio-loaddefs password-cache json map seq byte-opt
gv bytecomp byte-compile cconv time-date subr-x cl-loaddefs cl-lib
iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads kqueue cocoa ns lcms2
multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 126397 7806)
 (symbols 48 11268 1)
 (strings 32 32874 1970)
 (string-bytes 1 1097278)
 (vectors 16 21173)
 (vector-slots 8 418334 33292)
 (floats 8 39 233)
 (intervals 56 468 140)
 (buffers 992 13))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53513; Package emacs. (Tue, 25 Jan 2022 09:16:02 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: schlurfi--- via "Bug reports for GNU Emacs, the Swiss army knife of text
 editors" <bug-gnu-emacs <at> gnu.org>
Cc: 53513 <at> debbugs.gnu.org, schlurfi <at> mailbox.org
Subject: Re: bug#53513: 28.0.50; fido-vertical-mode does not work with tramp
Date: Tue, 25 Jan 2022 10:15:14 +0100
schlurfi--- via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs <at> gnu.org> writes:

Hi,

> emacs -Q
> C-x C-f
> type: "//ssh:" -> expectation: start completion, first host, then
> directories / files on host. However, nothing meaningful happens...

In your recipe, ypu don't mention enabling fido-vertical-mode. Running
your recipe as-it-is works for me as expected.

With fido-vertical-mode enabled, this is bug #51386 and #52758, I'm
merging this bug with them. It is an unfortunate problem Tramp cannot
solve alone.

> Note: with only fido-mode, it is possible to open a tramp connection,
> but trying to change the directory deletes the whole line (//ssh:...)
> instead of only the directory. This means one has to start from scratch
> typing the connection details etc.

Hmm, this I cannot reproduce locally. Perhaps you have typed three
slashes "///" in order to change the directory? Could you pls give an
exact recipe, starting with "emacs -Q"?

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53513; Package emacs. (Tue, 25 Jan 2022 09:16:02 GMT) Full text and rfc822 format available.

Merged 51386 52758 53513. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Tue, 25 Jan 2022 09:16:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53513; Package emacs. (Tue, 25 Jan 2022 12:22:01 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: schlurfi <at> mailbox.org
Cc: "schlurfi--- via Bug reports for GNU Emacs, the Swiss army knife of text
 editors" <bug-gnu-emacs <at> gnu.org>, 53513 <at> debbugs.gnu.org,
 João Távora <joaotavora <at> gmail.com>
Subject: Re: bug#53513: 28.0.50; fido-vertical-mode does not work with tramp
Date: Tue, 25 Jan 2022 13:21:10 +0100
schlurfi <at> mailbox.org writes:

Hi,

> What I type is this:
>
> emacs -Q
> fido-mode
> C-x C-f
> //ssh:hostname:~/
> DEL
>
> for me, this then deletes the whole line. 
>
> fido-mode
> C-x C-f
> //ssh:hostname:/etc/
> DEL
> DEL
>
> also deletes the whole line, maybe that is what is suppoused to happen?

Indeed. The function in question is icomplete-fido-backward-updir, which
behaves as described. It doesn't take into account remote file names.

Whether this is intended or not, I don't know. Bug#43925 covers this
partly, but it isn't about remote file names, and it is applied to Emacs
29 only. I've added João Távora in Cc, the author of fido-mode.

> Thank you!!

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53513; Package emacs. (Tue, 25 Jan 2022 12:22:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53513; Package emacs. (Tue, 25 Jan 2022 13:14:02 GMT) Full text and rfc822 format available.

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

From: schlurfi <at> mailbox.org
To: Michael Albinus <michael.albinus <at> gmx.de>,
 "schlurfi--- via Bug reports for GNU Emacs, the Swiss army knife of text
 editors" <bug-gnu-emacs <at> gnu.org>
Cc: 53513 <at> debbugs.gnu.org
Subject: Re: bug#53513: 28.0.50; fido-vertical-mode does not work with tramp
Date: Tue, 25 Jan 2022 09:35:45 +0000 (GMT)
> On 25/01/2022 09:15 Michael Albinus <michael.albinus <at> gmx.de> wrote:
> 
>  
> schlurfi--- via "Bug reports for GNU Emacs, the Swiss army knife of text
> editors" <bug-gnu-emacs <at> gnu.org> writes:
> 
> Hi,
> 
> > emacs -Q
> > C-x C-f
> > type: "//ssh:" -> expectation: start completion, first host, then
> > directories / files on host. However, nothing meaningful happens...
> 
> In your recipe, ypu don't mention enabling fido-vertical-mode. Running
> your recipe as-it-is works for me as expected.
> 
> With fido-vertical-mode enabled, this is bug #51386 and #52758, I'm
> merging this bug with them. It is an unfortunate problem Tramp cannot
> solve alone.
> 

Indeed, I forgot to add "fido-vertical-mode" to the recipe, sorry about that. 

> > Note: with only fido-mode, it is possible to open a tramp connection,
> > but trying to change the directory deletes the whole line (//ssh:...)
> > instead of only the directory. This means one has to start from scratch
> > typing the connection details etc.
> 
> Hmm, this I cannot reproduce locally. Perhaps you have typed three
> slashes "///" in order to change the directory? Could you pls give an
> exact recipe, starting with "emacs -Q"?
> 
> Best regards, Michael.

What I type is this:

emacs -Q
fido-mode
C-x C-f
//ssh:hostname:~/
DEL

for me, this then deletes the whole line. 

fido-mode
C-x C-f
//ssh:hostname:/etc/
DEL
DEL

also deletes the whole line, maybe that is what is suppoused to happen?

Thank you!!




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53513; Package emacs. (Tue, 25 Jan 2022 13:14:02 GMT) Full text and rfc822 format available.

Merged 51386 52758 53513 54042. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Thu, 17 Feb 2022 16:43:02 GMT) Full text and rfc822 format available.

Merged 51386 52758 53513 54042 60505. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Tue, 03 Jan 2023 08:54:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 19 Mar 2023 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 39 days ago.

Previous Next


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