unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53513: 28.0.50; fido-vertical-mode does not work with tramp
@ 2022-01-24 19:49 schlurfi--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-01-25  9:15 ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: schlurfi--- via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-01-24 19:49 UTC (permalink / raw)
  To: 53513


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@28/28.0.50/share/info/emacs
 --prefix=/usr/local/Cellar/emacs-plus@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))





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#53513: 28.0.50; fido-vertical-mode does not work with tramp
  2022-01-24 19:49 bug#53513: 28.0.50; fido-vertical-mode does not work with tramp schlurfi--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-01-25  9:15 ` Michael Albinus
  2022-01-25  9:35   ` schlurfi--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2022-01-25  9:15 UTC (permalink / raw)
  To: 53513; +Cc: schlurfi

schlurfi--- via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#53513: 28.0.50; fido-vertical-mode does not work with tramp
  2022-01-25  9:15 ` Michael Albinus
@ 2022-01-25  9:35   ` schlurfi--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-01-25 12:21     ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: schlurfi--- via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-01-25  9:35 UTC (permalink / raw)
  To: michael.albinus, 53513


> On 25/01/2022 09:15 Michael Albinus <michael.albinus@gmx.de> wrote:
> 
>  
> schlurfi--- via "Bug reports for GNU Emacs, the Swiss army knife of text
> editors" <bug-gnu-emacs@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!!





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#53513: 28.0.50; fido-vertical-mode does not work with tramp
  2022-01-25  9:35   ` schlurfi--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-01-25 12:21     ` Michael Albinus
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Albinus @ 2022-01-25 12:21 UTC (permalink / raw)
  To: schlurfi; +Cc: 53513, joaotavora

schlurfi@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-25 12:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-24 19:49 bug#53513: 28.0.50; fido-vertical-mode does not work with tramp schlurfi--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-25  9:15 ` Michael Albinus
2022-01-25  9:35   ` schlurfi--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-25 12:21     ` Michael Albinus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).