unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Martin Steffen <msteffen@ifi.uio.no>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: help-gnu-emacs@gnu.org
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	[thread overview]
Message-ID: <86lerrt3mm.fsf@login.ifi.uio.no> (raw)
In-Reply-To: <878rnrf7xg.fsf@gmx.de> (Michael Albinus's message of "Sun, 14 Aug 2022 12:14:51 +0200")

>>>>> "Michael" == Michael Albinus <michael.albinus@gmx.de> writes:

    Michael> Martin Steffen <msteffen@ifi.uio.no> 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:<login>@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





  reply	other threads:[~2022-08-14 12:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-14  9:19 unable to kill-emacs due to failure to save buffers (in connection with tramp) Martin Steffen
2022-08-14 10:14 ` Michael Albinus
2022-08-14 12:24   ` Martin Steffen [this message]
2022-08-14 13:09     ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-08-14 13:19       ` Martin Steffen
2022-08-17  2:40         ` Martin Steffen

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=86lerrt3mm.fsf@login.ifi.uio.no \
    --to=msteffen@ifi.uio.no \
    --cc=help-gnu-emacs@gnu.org \
    --cc=michael.albinus@gmx.de \
    /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.
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).