GNU bug report logs - #11977
23.2; F5 and revert without confirmation

Previous Next

Package: emacs;

Reported by: Romain TROIT <romain.troit <at> aviation-civile.gouv.fr>

Date: Wed, 18 Jul 2012 15:39:01 UTC

Severity: wishlist

Tags: wontfix

Found in version 23.2

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Christopher Schmidt <christopher <at> ch.ristopher.com>
To: 11977 <at> debbugs.gnu.org
Subject: bug#11977: 23.2; F5 and revert without confirmation
Date: Thu, 19 Jul 2012 00:13:00 +0100 (BST)
Dmitry Gutov <dgutov <at> yandex.ru> writes:
[...]
> 2. (define-key global-map [f5] 'revert-buffer-no-confirm)
>
> is not that much shorter than
>
>   (define-key global-map [f5] (lambda () (interactive) (revert-buffer t t)))

C-h k <f5>, C-h b and friends won't display much helpful information in
this case.

I don't think that any key should be bound to revert-buffer without
confirmation.  It is too easy to hit the key by accident.

        Christopher




This bug report was last modified 12 years and 264 days ago.

Previous Next


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