From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Martin Steffen Newsgroups: gmane.emacs.help Subject: Re: unable to kill-emacs due to failure to save buffers (in connection with tramp) Date: Sun, 14 Aug 2022 14:24:01 +0200 Organization: IFI UiO Norway Message-ID: <86lerrt3mm.fsf@login.ifi.uio.no> References: <86lerrp4hk.fsf@login.ifi.uio.no> <878rnrf7xg.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20626"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 14 14:35:39 2022 Return-path: Envelope-to: geh-help-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 1oNCqB-00059a-FS for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 14 Aug 2022 14:35:39 +0200 Original-Received: from localhost ([::1]:52040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNCq9-0007bA-TM for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 14 Aug 2022 08:35:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNCof-0007ZV-TO for help-gnu-emacs@gnu.org; Sun, 14 Aug 2022 08:34:05 -0400 Original-Received: from mail-out04.uio.no ([2001:700:100:8210::76]:54365) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNCod-0003BE-Hd for help-gnu-emacs@gnu.org; Sun, 14 Aug 2022 08:34:05 -0400 Original-Received: from mail-mx12.uio.no ([129.240.10.84]) by mail-out04.uio.no with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oNCoW-00FMcW-Md; Sun, 14 Aug 2022 14:33:56 +0200 Original-Received: from [103.142.254.1] (helo=fedora.shmi.ifi.uio.no) by mail-mx12.uio.no with esmtpsa (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) user msteffen (Exim 4.95) (envelope-from ) id 1oNCoU-0005RV-Vu; Sun, 14 Aug 2022 14:33:56 +0200 In-Reply-To: <878rnrf7xg.fsf@gmx.de> (Michael Albinus's message of "Sun, 14 Aug 2022 12:14:51 +0200") X-UiO-SPF-Received: Received-SPF: neutral (mail-mx12.uio.no: 103.142.254.1 is neither permitted nor denied by domain of ifi.uio.no) client-ip=103.142.254.1; envelope-from=msteffen@ifi.uio.no; helo=fedora.shmi.ifi.uio.no; X-UiO-Spam-info: not spam, SpamAssassin (score=-4.8, required=5.0, autolearn=disabled, T_SCC_BODY_TEXT_LINE=-0.01, UIO_HTTP=0.2, UIO_MAIL_IS_INTERNAL=-5) X-UiO-Scanned: 3563FB2957FBA60FCBFBFFC407F9416703E86347 X-UiOonly: 5CD10E012F7E653991998D376DE5F378152DF2B0 Received-SPF: pass client-ip=2001:700:100:8210::76; envelope-from=msteffen@ifi.uio.no; helo=mail-out04.uio.no X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:138859 Archived-At: >>>>> "Michael" == Michael Albinus writes: Michael> Martin Steffen writes: >> Hi, Michael> Hi Martin, >> Note, the location (resp. files at that location are not buffers >> in neither the running emacs nor the emacs-client I like just to >> get rid of. Michael> Hard to say what's up. There have been some changes in Michael> tramp-cleanup-* functions, which might improve the Michael> behavior. Do you have a chance to upgrade to Tramp 2.5.3.1 Michael> from GNU ELPA? I will try that and will see the results. Michael> If this still happens, pls set tramp-verbose to 6 and [...] >> I assume has to do with the content of some tramp-cashing in the >> file ~/.emacs.d/tramp which contains a like like Michael> No, these values are active only if a connection is Michael> active. The existence of these values does not mean that a Michael> connection is initiated. I see. I don't know where the ``persitent'' memory of emacs is concerning that ``undying'' (but not active) connection. In the meantime, I killed the emacs+client (which I was unable to leave) in the only way I know, killing both from the outside (as mentioned). The I started a fresh emacs, and without doing anything at all, try immediately to quit it again with C-x C-c. The reaction is the same as before, i.e., I cannot quit, the fresh emacs has remembered that seem to have remembered the scp-connection from some earlier emacs invokatioms. But indeed it does not take it from ~/.emacs/tramp, as I had deleted that file completly before starting emacs fresh. Grep'ping for the ``offending'' address 192.168.x.x, my current best culprit is ~/.cache/org-persist/index wich mentions it a few times. For instance is expressions like (:variable #29# :persist-file "d9/6cedfd-05fd-4dc3-8542-ee0bb93ac4b3" :path "/scp:@192.168.x.x:/var/services/homes/mobileorg/test.org" :inode 11537641 :hash "672132fcd377562aa49d8dbd0044f1c4") The file is pretty big, and I have not yet manually fiddled with it (like deleting expressions plausibly causing that particular trouble), but that's my current best suspicion. Anyway, I will try your advice upgrading tramp and see if it helps (manually managing the huge persist-index file in case of trouble without actually knowing what I am doing is not a long-term solution). thanks again, best, Martin