GNU bug report logs -
#37954
27.0.50; No Tramp completion if completion-styles doesn't include basic, emacs22, or emacs21
Previous Next
Reported by: Tassilo Horn <tsdh <at> gnu.org>
Date: Mon, 28 Oct 2019 06:28:01 UTC
Severity: normal
Found in version 27.0.50
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 37954 in the body.
You can then email your comments to 37954 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#37954
; Package
emacs
.
(Mon, 28 Oct 2019 06:28:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tassilo Horn <tsdh <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 28 Oct 2019 06:28:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
With
emacs -Q --eval "(setq completion-styles '(partial-completion
substring initials flex) completion-category-overrides nil)"
Tramp file name completion does not work. E.g., C-x C-f /ssh:<tab> will
not suggest usernames and hostnames. Currently, it is mandatory to have
one of the completion styles basic, emacs22, or emacs21 enabled.
Stefan Monnier explained why that's currently the way it is and possible
solutions to the problem in
https://lists.gnu.org/archive/html/help-gnu-emacs/2019-10/msg00148.html
For the time being, I'd suggest to adapt the completion styles
documentation so that it explititly mentions keeping a basic style
(basic, emacs22, or emacs21) in completion-styles.
In GNU Emacs 27.0.50 (build 4, x86_64-pc-linux-gnu)
of 2019-10-28 built on jiffyarch
Repository revision: 7e30076225cebe85f7e60802f471b421a369abd7
Repository branch: master
System Description: Arch Linux
Recent messages:
error in process filter: image-type: Invalid image type ‘jpeg’
error in process filter: Invalid image type ‘jpeg’
error in process filter: image-type: Invalid image type ‘jpeg’
error in process filter: Invalid image type ‘jpeg’
20191028T070728.386> End of message
20191028T070728.415> End of message
20191028T070728.445> End of message
20191028T070728.476> End of message
20191028T070728.505> End of message
20191028T070728.535> End of message
Configured using:
'configure --without-x --without-x-toolkit'
Configured features:
SOUND GPM DBUS NOTIFY INOTIFY ACL GNUTLS LIBXML2 ZLIB XIM MODULES
THREADS LIBSYSTEMD PDUMPER GMP
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Summary
Minor modes in effect:
gnus-mailing-list-mode: t
hl-line-mode: t
beacon-mode: t
global-aggressive-indent-mode: t
which-key-mode: t
global-company-mode: t
global-magit-file-mode: t
magit-auto-revert-mode: t
global-git-commit-mode: t
async-bytecomp-package-mode: t
shell-dirtrack-mode: t
override-global-mode: t
icomplete-mode: t
minibuffer-depth-indicate-mode: t
electric-pair-mode: t
recentf-mode: t
global-subword-mode: t
subword-mode: t
save-place-mode: t
savehist-mode: t
show-paren-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
global-prettify-symbols-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
buffer-read-only: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow emacsbug mule-util sort gnus-cite qp gnus-bcklg gnus-async
gnus-ml hl-line nndraft nnmh rot13 utf-7 network-stream nnml nnnil
gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-cache
gnus-demon nntp spam spam-stat gnus-uu yenc gnus-msg gnus-gravatar
mail-extr gravatar url-cache gnus-topic gnus-registry registry
eieio-base th-private term/screen term/xterm xterm company-oddmuse
company-keywords company-etags etags fileloop xref company-gtags
company-dabbrev-code company-dabbrev company-files company-capf
company-cmake company-xcode company-clang company-semantic company-eclim
company-template company-bbdb org-rmail org-mhe org-irc org-info
org-gnus nnir org-docview doc-view jka-compr image-mode exif org-bibtex
bibtex org-bbdb org-w3m paredit symbol-overlay
display-fill-column-indicator auto-package-update finder-inf generic
fish-mode cargo cargo-process compile rust-mode web-mode disp-table
beacon aggressive-indent rainbow-mode vc-git vc-dir ewoc vc
vc-dispatcher epa-file org-element avl-tree generator org org-macro
org-footnote org-pcomplete org-list org-faces org-entities org-version
ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp
ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func
cal-menu calendar cal-loaddefs dired-x dired-collapse dired-hacks-utils
f s boxquote rect smtpmail-multi smtpmail sendmail ecomplete yasnippet
auto-dictionary flyspell ispell tramp-smb tramp tramp-loaddefs trampver
tramp-integration files-x tramp-compat ls-lisp which-key
highlight-parentheses company-restclient know-your-http-well
http-status-codes http-relations http-methods http-headers company pcase
raven project restclient forge-list forge-commands forge-semi
forge-bitbucket buck forge-gogs gogs forge-gitea gtea forge-gitlab glab
forge-github ghub-graphql treepy gsexp ghub let-alist gnutls
forge-notify forge-revnote forge-pullreq forge-issue forge-topic
bug-reference forge-post markdown-mode color thingatpt noutline outline
forge-repo forge forge-core forge-db closql emacsql-sqlite emacsql
emacsql-compiler magit-submodule magit-obsolete magit-blame magit-stash
magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone
magit-remote magit-commit magit-sequence magit-notes magit-worktree
magit-tag magit-merge magit-branch magit-reset magit-files magit-refs
magit-status magit magit-repos magit-apply magit-wip magit-log
which-func imenu magit-diff smerge-mode diff diff-mode magit-core
magit-autorevert autorevert filenotify magit-margin magit-transient
magit-process magit-mode transient git-commit magit-git magit-section
magit-utils crm log-edit pcvs-util add-log with-editor async-bytecomp
advice async shell pcomplete comint ansi-color ring server dash
visual-filename-abbrev debbugs soap-client url-http url-auth url-gw nsm
warnings rng-xsd rng-dt rng-util xsd-regexp use-package-ensure
use-package-bind-key bind-key easy-mmode icomplete mb-depth windmove
elec-pair regexp-opt rx recentf tree-widget cap-words superword subword
saveplace savehist paren smiley gnus-art mm-uu mml2015 mm-view mml-smime
smime dig gnus-sum url url-proxy url-privacy url-expand url-methods
url-history mailcap shr url-cookie url-domsuf url-util image svg xml dom
gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source
utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message
rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived
epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader gnus-win gnus wid-edit nnheader
gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums
text-property-search time-date mm-util mail-prsvr mail-utils edmacro
kmacro dracula-theme cl-extra help-mode use-package-core info tool-bar
package easymenu browse-url url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map
url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select mouse jit-lock font-lock syntax facemenu 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 loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads dbusbind inotify multi-tty make-network-process emacs)
Memory information:
((conses 16 553402 38611)
(symbols 48 43782 3)
(strings 32 210976 10674)
(string-bytes 1 6458314)
(vectors 16 65693)
(vector-slots 8 1143895 32620)
(floats 8 629 1083)
(intervals 56 767 33)
(buffers 1000 32))
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#37954
; Package
emacs
.
(Fri, 20 May 2022 11:01:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 37954 <at> debbugs.gnu.org (full text, mbox):
Tassilo Horn <tsdh <at> gnu.org> writes:
> With
>
> emacs -Q --eval "(setq completion-styles '(partial-completion
> substring initials flex) completion-category-overrides nil)"
>
> Tramp file name completion does not work. E.g., C-x C-f /ssh:<tab> will
> not suggest usernames and hostnames. Currently, it is mandatory to have
> one of the completion styles basic, emacs22, or emacs21 enabled.
>
> Stefan Monnier explained why that's currently the way it is and possible
> solutions to the problem in
>
> https://lists.gnu.org/archive/html/help-gnu-emacs/2019-10/msg00148.html
>
> For the time being, I'd suggest to adapt the completion styles
> documentation so that it explititly mentions keeping a basic style
> (basic, emacs22, or emacs21) in completion-styles.
(I'm going through old bug reports that unfortunately weren't resolved
at the time.)
Adding that to the doc string of `completion-styles' sounds OK to me,
but perhaps Michael has some comments about why/whether this is
necessary; added to the CCs.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) moreinfo.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Fri, 20 May 2022 11:01:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#37954
; Package
emacs
.
(Fri, 20 May 2022 13:55:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 37954 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
Hi Lars,
> Adding that to the doc string of `completion-styles' sounds OK to me,
> but perhaps Michael has some comments about why/whether this is
> necessary; added to the CCs.
Honestly, I have no idea about completion styles.
Best regards, Michael.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#37954
; Package
emacs
.
(Sat, 21 May 2022 12:49:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 37954 <at> debbugs.gnu.org (full text, mbox):
Michael Albinus <michael.albinus <at> gmx.de> writes:
>> Adding that to the doc string of `completion-styles' sounds OK to me,
>> but perhaps Michael has some comments about why/whether this is
>> necessary; added to the CCs.
>
> Honestly, I have no idea about completion styles.
OK; I've now added a note to the doc string in emacs-28, but I'm leaving
this bug report open, since the underlying problem should be fixed (as
sketched by Stefan in the URL in the bug report).
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Removed tag(s) moreinfo.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sat, 21 May 2022 12:49:02 GMT)
Full text and
rfc822 format available.
Reply sent
to
Michael Albinus <michael.albinus <at> gmx.de>
:
You have taken responsibility.
(Mon, 13 Feb 2023 09:34:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Tassilo Horn <tsdh <at> gnu.org>
:
bug acknowledged by developer.
(Mon, 13 Feb 2023 09:34:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 37954-done <at> debbugs.gnu.org (full text, mbox):
Version: 29.2
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>>> Adding that to the doc string of `completion-styles' sounds OK to me,
>>> but perhaps Michael has some comments about why/whether this is
>>> necessary; added to the CCs.
>>
>> Honestly, I have no idea about completion styles.
>
> OK; I've now added a note to the doc string in emacs-28, but I'm leaving
> this bug report open, since the underlying problem should be fixed (as
> sketched by Stefan in the URL in the bug report).
Tramp's file name completion functions have been reworked to support now
all completion-styles but initials and shorthand. This is pushed to
master, it will also appear with Tramp 2.6.0.2 on GNU ELPA.
Closing the bug.
Best regards, Michael.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#37954
; Package
emacs
.
(Mon, 13 Feb 2023 11:56:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 37954-done <at> debbugs.gnu.org (full text, mbox):
>
> Tramp's file name completion functions have been reworked to support now
> all completion-styles but initials and shorthand. This is pushed to
> master, it will also appear with Tramp 2.6.0.2 on GNU ELPA.
>
Thanks again for your work on this, Michael!
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 14 Mar 2023 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 35 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.