unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Drew Adams <drew.adams@oracle.com>
Cc: public-emacs-devel-mXXj517/zsQ@plane.gmane.org,
	'Sebastien Vauban'
	<public-wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@plane.gmane.org>,
	emacs-devel@gnu.org
Subject: Re: Unuseful keybindings
Date: Sun, 23 Dec 2012 18:41:40 +0400	[thread overview]
Message-ID: <50D71824.90601@yandex.ru> (raw)
In-Reply-To: <0FBA2D9ECA214D82B5C65E5A09E7EE19@us.oracle.com>

On 23.12.2012 4:45, Drew Adams wrote:
>> Do the existing bindings for <f10> and <f1-4> take the
>> "properties" you mention seriously?
>
> No, which is why I brought up the _general_ topic - and I explicitly mentioned
> each of those keys too.  I would like to see us stop making such silly default
> bindings (and even free up some of them).  Emacs Dev did not used to do that
> kind of thing.
>
> We never should have bound those function keys, IMHO, with (probably) the
> exception of `f1', which has more in the way of supporting argument.

Well, that's my point. None of the current f-key bindings take into 
account repeatability, so you asking not to bind f11 for that reason 
doesn't sound very convincing, and goes against consistency.
I'd certainly prefer if different f-keys were bound or not bound on the 
same principle.

The possible reason why those keys are so nice and still mostly have no 
bindings is they are far from the home row, so the expectation is they 
can only be used for one-off commands, not in a sequence in the middle 
of other commands during an editing session.

> `f10' started the do-it-without-discussion trend, IIRC.  I opposed binding `f3'
> & `f4' at the time.  I do not recall any discussion about `f10', but I might
> have missed it.
>
> There is absolutely no reason for Emacs to bind `f3' and `f4' by default.  Emacs
> has had keyboard macros practically from Day One.  Zillions of Emacs users
> created zillions of keyboard macros, without Emacs Dev ever feeling that we
> should waste binding simple, repeatable keys to their creation and execution.

These keys are featured on the Emacs tour page, so there's no getting 
rid of them now, I suppose.

> Or consider `f5', which often refreshes/revert the current context, outside
> Emacs.  I myself bind `f5' to a command that does (revert-buffer t t).  And I've
> suggested to others that they might want to do the same.  But I don't propose
> that Emacs adopt that convention by default, even though I use it all the time.
> And when I suggest it to others, I add this caveat, just to draw their attention
> to the fact that it wastes a repeatable key:
>
> http://lists.gnu.org/archive/html/help-gnu-emacs/2012-10/msg00159.html

I don't think this command is generally useful enough.

The only kind of file that might need frequent refreshing I can imagine 
is a log file, and if you're viewing one of those in Emacs, you'd also 
have to scroll to the bottom each time.

As for infrequent refreshing (including the situation when you need to 
revert many files at once), global-auto-revert-mode is much better in my 
experience, and it doesn't require a special action from the user.



  parent reply	other threads:[~2012-12-23 14:41 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-18 13:00 Unuseful keybindings Thierry Volpiatto
2012-12-18 13:36 ` Andreas Schwab
2012-12-18 14:48   ` Thierry Volpiatto
2012-12-18 16:58     ` Sam Steingold
2012-12-18 19:30     ` Mathias Dahl
2012-12-18 19:37       ` Thierry Volpiatto
2012-12-22  3:22         ` Chong Yidong
2012-12-22  4:39           ` Drew Adams
2012-12-22  5:09             ` Xue Fuqiao
2012-12-22 21:24             ` Sebastien Vauban
2012-12-22 21:48               ` Dmitry Gutov
2012-12-22 22:46                 ` Drew Adams
2012-12-22 23:32                   ` Dmitry Gutov
2012-12-23  0:45                     ` Drew Adams
2012-12-23  1:07                       ` Xue Fuqiao
2012-12-23  1:19                         ` Daniel Colascione
2012-12-23  1:54                           ` advertizing keyboard macros better [was: Unuseful keybindings] Drew Adams
2012-12-23  2:10                             ` Xue Fuqiao
2012-12-23  9:29                       ` Unuseful keybindings Juri Linkov
2012-12-23 16:55                         ` Drew Adams
2012-12-26 14:32                           ` Kevin Rodgers
2012-12-26 22:21                             ` Xue Fuqiao
2012-12-27  3:42                               ` Eli Zaretskii
2012-12-23 14:41                       ` Dmitry Gutov [this message]
2012-12-23 14:57                         ` Jambunathan K
2012-12-23 16:52                           ` Drew Adams
2012-12-23 17:47                             ` Jambunathan K
2012-12-23 18:44                               ` Drew Adams
2012-12-23 19:36                                 ` Jambunathan K
2012-12-23 20:25                                 ` Jambunathan K
2012-12-23 21:04                                   ` Drew Adams
2012-12-24  9:35                                   ` Juri Linkov
2012-12-24 13:02                                     ` Xue Fuqiao
2012-12-24 14:13                                       ` Drew Adams
2012-12-23 17:03                         ` Drew Adams
2012-12-23 17:33                           ` Dmitry Gutov
2012-12-23 18:51                             ` Drew Adams
2012-12-23 20:53                             ` Lars Ingebrigtsen
2012-12-23 21:13                               ` Drew Adams
2012-12-24 21:43                                 ` Drew Adams
2012-12-23 21:25                               ` Andreas Schwab
2012-12-24  9:39                               ` Juri Linkov
2012-12-23 17:58                           ` Stephen J. Turnbull
2012-12-23 18:42                             ` Drew Adams
2012-12-23  0:19                   ` Mathias Dahl
2012-12-23  0:55                     ` Drew Adams
2012-12-23  9:32                 ` Juri Linkov
2012-12-23 10:37                   ` Xue Fuqiao
2012-12-23 10:56                     ` Dmitry Gutov
2012-12-23 11:22                       ` Xue Fuqiao
2012-12-22 22:28               ` Drew Adams
2012-12-22  7:42           ` Thierry Volpiatto
2012-12-22  8:23           ` Juri Linkov
2012-12-23  9:31             ` Juri Linkov
2012-12-24 10:29               ` Juri Linkov
2012-12-24 17:10                 ` Juri Linkov
2012-12-29  5:57                   ` Chong Yidong
2013-01-10 19:17                     ` Sam Steingold
2013-01-10 19:13                 ` Sam Steingold
2013-01-10 22:38                   ` Xue Fuqiao
2013-01-11  0:31                   ` Juri Linkov
2013-01-11  1:17                     ` Stefan Monnier
2013-01-11  9:58                       ` Juri Linkov
2013-01-11 14:42                         ` Stefan Monnier
2013-01-11 18:26                         ` chad
2013-01-12  0:50                           ` Juri Linkov
2013-01-12 10:03                             ` Jan Djärv
2013-01-13 10:19                               ` Juri Linkov
2013-01-13 11:19                                 ` Jan Djärv
2012-12-19  0:27       ` Drew Adams
2012-12-19  6:32         ` Thierry Volpiatto
2012-12-19 16:43         ` Leo
2012-12-18 13:40 ` Xue Fuqiao
2012-12-18 17:41 ` Eli Zaretskii
2012-12-18 17:49   ` Thierry Volpiatto
2012-12-18 19:10     ` Eli Zaretskii

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=50D71824.90601@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=public-emacs-devel-mXXj517/zsQ@plane.gmane.org \
    --cc=public-wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@plane.gmane.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).