From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.bugs Subject: bug#58782: 29.0.50; tramp-kubernetes - connection cache not cleared Date: Tue, 25 Oct 2022 23:11:01 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32258"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: 58782@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 25 22:14:13 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1onQJL-00085U-Lr for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Oct 2022 22:14:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onQHL-0006Oq-Vz; Tue, 25 Oct 2022 16:12:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onQHL-0006O9-Ah for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2022 16:12:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1onQHL-0002UC-2h for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2022 16:12:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1onQHK-0005G6-Lu for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2022 16:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Filipp Gunbin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Oct 2022 20:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58782 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166672868020161 (code B ref -1); Tue, 25 Oct 2022 20:12:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Oct 2022 20:11:20 +0000 Original-Received: from localhost ([127.0.0.1]:52478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onQGd-0005F7-Rs for submit@debbugs.gnu.org; Tue, 25 Oct 2022 16:11:20 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:50402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onQGb-0005Ez-MI for submit@debbugs.gnu.org; Tue, 25 Oct 2022 16:11:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onQGb-0005ST-Di for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2022 16:11:17 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onQGQ-0002Km-35 for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2022 16:11:17 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 06CC15C0094 for ; Tue, 25 Oct 2022 16:11:04 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 25 Oct 2022 16:11:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm3; t= 1666728664; x=1666815064; bh=Z4tFwZNYzwmcyk0nZODZxRNtDuHkTojNAFz cvacnVe8=; b=uk8A6t9di+gj92qZfn8H4rPxV/AYayYNGgHpELhXFD/yX6XJFb6 gOlza/SH3dylzDZIWLGQbDZZaxo5Dsdsues+PbTIs+9CEcaGWQlZ884GwtutaDM1 4FdhQQzwn7j9t8dMVS10E7GaC9erFHWg+ruyuWFzXNVpSw3LROXtZVuKbhFSHUh3 DVSWl9KaSH9AjgcWz26Maz9N1tis+1qQBDUXsGV9/C7vDyFvG+9Gy/NmPo1h8VIe jQu0OfMB05gOMcZf9VquqCkhLyIhfl7mXm7yH/Dab7YZGis0SObI0VbaX+OvudTW TsHapvEXM3f2GX7lSrQuPa1/trLpIj+06Ag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1666728664; x= 1666815064; bh=Z4tFwZNYzwmcyk0nZODZxRNtDuHkTojNAFzcvacnVe8=; b=L cdU1IienXDFaPwXye+dCziCq3MTwPSMKftWRRv6iAdqQ7rjejzg5Zy3EK90H+s9H 8ygzPYN6xz9S9JHo5bI3ncxgMRwVYR0tOvSaDIlPrlXvlp9ehu3taFs+aAykLNml sqrYQVcisv45qsF5AXBX2eUqhWTh7WxpifpBnevt/XILHUSU1NXpNrnLG7vTjegY EhyS/eJeqWS+taozLZCXDwHGbYCkQFRcOglpHBfzVGuXqZbVMcaRp/2skGKRw5BZ APG63cjcQYShI4x/iwq/8m9BrL+ShXme7iHsoORWojBau2Hpqi/MATpoo7qRDQbd iVewJUKDIFgRV84IcQ4nQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrtddtgdduudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufgffkfggtgesthdtredttd ertdenucfhrhhomhephfhilhhiphhpucfiuhhnsghinhcuoehfghhunhgsihhnsehfrghs thhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpeekveegvefhlefhveegvddtffevle fhvddvhfetfffhieeffeelleegleefjeeivdenucffohhmrghinhepughotghkvghrrdgt ohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepfh hguhhnsghinhesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: id48c41f1:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 25 Oct 2022 16:11:03 -0400 (EDT) Mail-Followup-To: bug-gnu-emacs@gnu.org Received-SPF: pass client-ip=66.111.4.27; envelope-from=fgunbin@fastmail.fm; helo=out3-smtp.messagingengine.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246173 Archived-At: 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