From: Christopher Schmidt <christopher@ch.ristopher.com>
To: 11977@debbugs.gnu.org
Subject: bug#11977: 23.2; F5 and revert without confirmation
Date: Thu, 19 Jul 2012 00:13:00 +0100 (BST) [thread overview]
Message-ID: <87sjcopssh@ch.ristopher.com> (raw)
In-Reply-To: <50073EF9.2050907@yandex.ru> (Dmitry Gutov's message of "Thu, 19 Jul 2012 02:55:53 +0400")
Dmitry Gutov <dgutov@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
next prev parent reply other threads:[~2012-07-18 23:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-18 12:41 bug#11977: 23.2; F5 and revert without confirmation Romain TROIT
2012-07-18 15:51 ` Drew Adams
2012-07-18 22:55 ` Dmitry Gutov
2012-07-18 23:13 ` Christopher Schmidt [this message]
2012-07-19 20:14 ` Romain Troit
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sjcopssh@ch.ristopher.com \
--to=christopher@ch.ristopher.com \
--cc=11977@debbugs.gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.