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: Wed, 17 Aug 2022 04:40:35 +0200 Organization: IFI UiO Norway Message-ID: <8635dvsicc.fsf@login.ifi.uio.no> References: <86lerrp4hk.fsf@login.ifi.uio.no> <878rnrf7xg.fsf@gmx.de> <86lerrt3mm.fsf@login.ifi.uio.no> <86edxjt11d.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="31962"; 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 Wed Aug 17 04:42:13 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 1oO90W-0008Ap-Q3 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 17 Aug 2022 04:42:12 +0200 Original-Received: from localhost ([::1]:49320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oO90V-0001Tl-Cw for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 22:42:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oO905-0001Ta-GL for help-gnu-emacs@gnu.org; Tue, 16 Aug 2022 22:41:45 -0400 Original-Received: from mail-out01.uio.no ([2001:700:100:10::50]:56005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oO903-0000Pf-6Z for help-gnu-emacs@gnu.org; Tue, 16 Aug 2022 22:41:45 -0400 Original-Received: from mail-mx12.uio.no ([129.240.10.84]) by mail-out01.uio.no with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1oO8zu-00B0e5-PB; Wed, 17 Aug 2022 04:41:34 +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 1oO8zs-0002Kx-Tc; Wed, 17 Aug 2022 04:41:34 +0200 In-Reply-To: <86edxjt11d.fsf@login.ifi.uio.no> (Martin Steffen's message of "Sun, 14 Aug 2022 15:19:58 +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: 633DF8973D082F86DCEE324E168C8A023998A063 X-UiOonly: 8DE60FD3B17AE461D18A1549DF142E234989C7FD Received-SPF: pass client-ip=2001:700:100:10::50; envelope-from=msteffen@ifi.uio.no; helo=mail-out01.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:138895 Archived-At: Concerning the problem of being ``stuck'' unable to exit emacs: Indeed, deleting ~/.cache/org-persist/index (and for good measure additionally doing (setq org-clock-persist nil)) got me rid of the problem. Now I can exit emacs in a decent way and especially make use of emacs-client as editor for commit and log message (being forced to shoot emacs down for exiting made that impossible, the main-emacs I seldomly quit....) Martin >>>>> "Martin" =3D=3D Martin Steffen writes: >>>>> "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. Martin> That's a plausible analysis. I was originally pointing Martin> 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 Martin> i.e., since it's about ``remote'' files, it's tramp that Martin> tries to do it, but the saving seems, as you said, be Martin> triggered by ``persist''. Martin> I will look into that. I was so far not aware that I somehow Martin> use org-persist (or what its purpose is). I definitely use a Martin> lot of org-packages, and I don't load or require Martin> org-persist. The only mentioning of "persist" in my Martin> org-adaptations is Martin> (setq org-clock-persist t) (org-clock-persistence-insinuate) Martin> (though I can't remember why exactly I set that, seems also Martin> not immediately related to tramp, more about logging). Martin> Anyway, thanks for directing me to better also look into Martin> ``persist''. Martin> Martin