GNU bug report logs - #76417
[PATCH] Add tramp-cleanup-bufferless-connections

Previous Next

Package: emacs;

Reported by: Ship Mints <shipmints <at> gmail.com>

Date: Wed, 19 Feb 2025 17:45:02 UTC

Severity: wishlist

Tags: patch

Fixed in version 31.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Ship Mints <shipmints <at> gmail.com>
Cc: 76417 <at> debbugs.gnu.org
Subject: bug#76417: [PATCH] Add tramp-cleanup-bufferless-connections
Date: Fri, 21 Feb 2025 14:24:27 +0100
Ship Mints <shipmints <at> gmail.com> writes:

Hi,

> I spent some more time on this and I think there's an "impedance
> mismatch" between cleanup-some-buffers and cleaning up unused
> connections.  I'm finding it cumbersome to mix the two as I have to
> move back and forth between "buffer space" and "connection space" to
> achieve connection cleanup.  My original patch seems like the cleanest
> approach, and can be made shorter with a few tramp utility function
> changes.  Would you like to see a patch based on those?

Well, likely it will be a ship-only command in Tramp. But so what, show
it. If time permits (I hope so!), I'll play with your patch and see,
whether I could improve it in order to approach my target, use of
tramp-cleanup-some-buffers.

If I fail, I will install your patch.

Best regards, Michael.




This bug report was last modified 142 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.