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 15:19:58 +0200 Organization: IFI UiO Norway Message-ID: <86edxjt11d.fsf@login.ifi.uio.no> References: <86lerrp4hk.fsf@login.ifi.uio.no> <878rnrf7xg.fsf@gmx.de> <86lerrt3mm.fsf@login.ifi.uio.no> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15543"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: Stefan Monnier To: Stefan Monnier via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 14 15:22:25 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 1oNDZQ-0003pW-PF for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 14 Aug 2022 15:22:24 +0200 Original-Received: from localhost ([::1]:43862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNDZP-0007f8-PA for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 14 Aug 2022 09:22:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNDXu-0006PH-Vq for help-gnu-emacs@gnu.org; Sun, 14 Aug 2022 09:20:51 -0400 Original-Received: from mail-out02.uio.no ([2001:700:100:8210::71]:47199) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNDXr-0002jX-Ru for help-gnu-emacs@gnu.org; Sun, 14 Aug 2022 09:20:50 -0400 Original-Received: from mail-mx11.uio.no ([129.240.10.83]) by mail-out02.uio.no with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oNDXn-0009L9-In; Sun, 14 Aug 2022 15:20:43 +0200 Original-Received: from [103.142.254.1] (helo=fedora.shmi.ifi.uio.no) by mail-mx11.uio.no with esmtpsa (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) user msteffen (Exim 4.95) (envelope-from ) id 1oNDXm-000ApF-HX; Sun, 14 Aug 2022 15:20:43 +0200 In-Reply-To: (Stefan Monnier via Users list for the's message of "Sun, 14 Aug 2022 09:09:18 -0400") X-UiO-SPF-Received: Received-SPF: neutral (mail-mx11.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: 6D11EE6575B57D8CADB73E5F920B0C0319246BDD X-UiOonly: 32831182353DA52FE1AFDFB8605C863A1856683E Received-SPF: pass client-ip=2001:700:100:8210::71; envelope-from=msteffen@ifi.uio.no; helo=mail-out02.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:138861 Archived-At: >>>>> "Stefan" =3D=3D Stefan Monnier via Users list for the GNU Emacs text = editor writes: >>=20 >> (: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") Stefan> This suggests that the problem is not in Tramp but in Stefan> `org-persist` (or in your use of it), since it seems to be Stefan> configured to save the value of some variable (not shown Stefan> here) into your remote server, and org-persist probably Stefan> tries to save this variable before exiting Emacs. That's a plausible analysis. I was originally pointing towards Tramp, as the *Messages* showed things like that > Tramp: Sending command =E2=80=98exec ssh -l -e none 192.168.x.x= =E2=80=99 i.e., since it's about ``remote'' files, it's tramp that tries to do it, but the saving seems, as you said, be triggered by ``persist''. I will look into that. I was so far not aware that I somehow use org-persist (or what its purpose is). I definitely use a lot of org-packages, and I don't load or require org-persist. The only mentioning of "persist" in my org-adaptations is (setq org-clock-persist t) (org-clock-persistence-insinuate) (though I can't remember why exactly I set that, seems also not immediately related to tramp, more about logging). Anyway, thanks for directing me to better also look into ``persist''. Martin