GNU bug report logs - #76974
31.0.50; [wishlist] Add global key binding for tramp-revert-buffer-with-sudo

Previous Next

Package: emacs;

Reported by: Michael Albinus <michael.albinus <at> gmx.de>

Date: Wed, 12 Mar 2025 08:29:01 UTC

Severity: wishlist

Found in version 31.0.50

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: Filipp Gunbin <fgunbin <at> fastmail.fm>
To: 76974 <at> debbugs.gnu.org
Cc: dancol <at> dancol.org, rpluim <at> gmail.com, michael.albinus <at> gmx.de, stephen.berman <at> gmx.net, spwhitton <at> spwhitton.name
Subject: bug#76974: 31.0.50; [wishlist] Add global key binding for tramp-revert-buffer-with-sudo
Date: Wed, 12 Mar 2025 17:21:39 +0300
On 12/03/2025 13:16 +0100, Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote:

> Yes, I did. Neither tramp-revert-buffer-with-sudo nor
> tramp-revert-buffer-obtain-root are a perfect name. We don't know for
> sure, that the method will be "sudo", nor that the user will be
> "root". On my QNAP NAS, the root user is called "admin".
>
> And using a Tramp specific name for a global bound command doesn't seem
> to be proper as well.
>
> I was thinking to introduce a new command
> 'revert-buffer-<something-better-than-sudo-or-root>', which will be an
> alias of tramp-revert-buffer-with-sudo. But I'm bad with proper names.

Maybe revert-buffer-as-superuser?




This bug report was last modified 123 days ago.

Previous Next


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