unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Filipp Gunbin <fgunbin@fastmail.fm>
To: 58782@debbugs.gnu.org
Subject: bug#58782: 29.0.50; tramp-kubernetes - connection cache not cleared
Date: Tue, 25 Oct 2022 23:11:01 +0300	[thread overview]
Message-ID: <m2sfjb7jfu.fsf@fastmail.fm> (raw)


Kubernetes from Docker Desktop
(https://www.docker.com/products/docker-desktop/), one pod
"myapp-67cd597654-wxdjn" in namespace "main".

emacs -Q

1) shell command: kubectl config set-context --current --namespace=main
2) C-x C-f /kubernetes:myapp-67cd597654-wxdjn:/
3) M-x tramp-cleanup-this-connection
4) shell command: kubectl config set-context --current --namespace=
5) Again C-x C-f /kubernetes:myapp-67cd597654-wxdjn:/

I get an error, and completion cache (C-x C-f /kubernetes: TAB) is
cleared properly.

But if at the step 5 I instead go to existing dired buffer opened at
step 2, and type, say, "i" on a subdirectory, I get the same error,
but the cache is NOT cleared - this is the bug.

The workaround is to set tramp-completion-use-cache to nil.  But
perhaps there exists a better fix.

Thanks.



In GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin20.6.0, NS
 appkit-2202.70 Version 11.7 (Build 20G817)) of 2022-10-25 built on
 fgunbin.local
Repository revision: 7e60246ab3cb7a3c40ca48d8ea9c107f00a6aea6
Repository branch: master
System Description:  macOS 11.7

Configured using:
 'configure --enable-check-lisp-object-type --with-file-notification=no'

Configured features:
ACL GLIB GNUTLS LCMS2 LIBXML2 MODULES NS PDUMPER PNG RSVG SQLITE3
THREADS TOOLKIT_SCROLL_BARS WEBP XIM ZLIB

Important settings:
  value of $LC_ALL: ru_RU.UTF-8
  value of $LC_CTYPE: UTF-8
  locale-coding-system: utf-8-unix





             reply	other threads:[~2022-10-25 20:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-25 20:11 Filipp Gunbin [this message]
2022-10-29 16:03 ` bug#58782: 29.0.50; tramp-kubernetes - connection cache not cleared Michael Albinus
2022-11-22 15:55   ` Michael Albinus
2022-12-02 11:05     ` Michael Albinus
     [not found] ` <handler.58782.D58782.166997914629734.notifdone@debbugs.gnu.org>
2022-12-02 14:24   ` bug#58782: closed (Re: bug#58782: 29.0.50; tramp-kubernetes - connection cache not cleared) Filipp Gunbin
2022-12-02 15:05     ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2sfjb7jfu.fsf@fastmail.fm \
    --to=fgunbin@fastmail.fm \
    --cc=58782@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).