From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Unuseful keybindings Date: Sun, 23 Dec 2012 21:33:18 +0400 Message-ID: <50D7405E.5070604@yandex.ru> References: <87sj73qzvl.fsf@gmail.com> <87623zquvw.fsf@gmail.com><87ip7zdud3.fsf@gmail.com> <87ehiiu5x7.fsf@gnu.org><876A7D1112084247AE53F7EE42B4587C@us.oracle.com><80ehih3hlj.fsf@somewhere.org> <87pq21iwrw.fsf@yandex.ru> <87AE81CEB91846DB94BC5F3B40C788DE@us.oracle.com> <50D64318.5030501@yandex.ru> <0FBA2D9ECA214D82B5C65E5A09E7EE19@us.oracle.com> <50D71824.90601@yandex.ru> <1C9978ED468E4CC8948C1B93D6806A18@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1356284064 4159 80.91.229.3 (23 Dec 2012 17:34:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Dec 2012 17:34:24 +0000 (UTC) Cc: public-emacs-devel-mXXj517/zsQ@plane.gmane.org, 'Sebastien Vauban' , emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 23 18:34:39 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TmpRe-0004Rr-NT for ged-emacs-devel@m.gmane.org; Sun, 23 Dec 2012 18:34:38 +0100 Original-Received: from localhost ([::1]:49713 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmpRQ-0006I9-OT for ged-emacs-devel@m.gmane.org; Sun, 23 Dec 2012 12:34:24 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmpQw-0006DZ-T2 for emacs-devel@gnu.org; Sun, 23 Dec 2012 12:34:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TmpQQ-000247-8S for emacs-devel@gnu.org; Sun, 23 Dec 2012 12:33:54 -0500 Original-Received: from mail-la0-f42.google.com ([209.85.215.42]:44117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmpQP-00023g-Qi for emacs-devel@gnu.org; Sun, 23 Dec 2012 12:33:22 -0500 Original-Received: by mail-la0-f42.google.com with SMTP id s15so7687087lag.29 for ; Sun, 23 Dec 2012 09:33:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=InBn2oQURKl3gcO2MYIn0+sRCXzJdpXo+pb+FyoYZtA=; b=y0YHGTo+igga+YaDUTM2kpjo7VeZrFuasAii7jKwt8OTe++0Vf3uenZRqalK6wwj6O TIun219TDPfnQqWqMG9wSUPXkVgl2h8gzM1RZOtqKIjjTWGjHrqYQAbpvK9k8/sGQRV2 0vJyqxWTM6q7pyj9rp0DPoQItuxtI+hWWvEbxlXg2mbDVn2eoxO4oYDBqO+wEHweZ6PP /SF6kJMmZhvhY3zwbOSTclxIbSniIuCrbrtGr0S3KBmcUq7AybmGiRxfxOnWKudE8Rrs 54i65sz0yTbIIIdj6RA9+BTxciyv74s2LT7VZfzcQUTRYCQ2377E7H32PJvTqSut5yu2 8Uww== X-Received: by 10.112.46.66 with SMTP id t2mr7687927lbm.115.1356284000129; Sun, 23 Dec 2012 09:33:20 -0800 (PST) Original-Received: from [127.0.0.1] ([178.252.98.87]) by mx.google.com with ESMTPS id gr12sm6904505lab.3.2012.12.23.09.33.16 (version=SSLv3 cipher=OTHER); Sun, 23 Dec 2012 09:33:17 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: <1C9978ED468E4CC8948C1B93D6806A18@us.oracle.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.215.42 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:155820 Archived-At: On 23.12.2012 21:03, Drew Adams wrote: >>> 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. > > Two wrongs do not make a right. > > We-should-add-wrongs-in-the-name-of-consistency is misguided, and represents a > complete misunderstanding of the value of consistency. It just means that campaigning against just this one binding, at this point of time, does not make much sense. And whether these "wrongs" are such is a matter of opinion. > Among other things, consistency, like so many other things that can be helpful, > is not something to be absolute about. Consistency for a purpose, and subject > to other considerations, not just consistency for consistency's sake. Consistency for the sake of making sense to a new or casual user. For example. > And your consistency argument works both ways: Why not consistently remove all > function-key default bindings? This is reductio ad absurdum. Not every kind of consistency is equally valuable. >> The possible reason why those keys are so nice and still >> mostly have no bindings is they are far from the home row, > > I believe that Emacs Dev intentionally avoided binding them by default. They > were left for users and applications. > > `home' (Home) and the arrow keys are far from the home row also. > They have been bound since they existed, AFAIK. Because they behave the same way in many other programs, I'd wager. f-keys, on the other hand, have not enjoyed the same degree of consistent behavior across programs. >> so the expectation is they can only be used for one-off commands, > > Who's expectation? What makes you think that? Wanna guess how many users use > the arrow keys and how often? Not very one-off, is my guess. I'm among them. Again, binding arrow keys makes sense because many users are used to that. >> not in a sequence in the middle of other commands during an editing session. > > Why? Wanna guess how many users hold down an arrow key to repeat its command? > > Imagine if Emacs Dev had misguidedly bound `down' (the down arrow) by default to > a non-repeatable command such as `fullscreen'. Not as useful as the key could > be. Is that the only reason you think binding `down' to `fullscreen' is ill-advisable? :) >>> 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. > > That's silly. Just update the tour to use `C-x e e e e ...' or whatever. Emacs has a policy of backwards compatibility, whenever possible, or something. Think back to the latest reversal of the `M-=' binding, which has received a rather small backlash. >>> 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. >> >> I don't think this command is generally useful enough. > > Again, I do _not_ propose that Emacs bind `f5' by default. > As for its general usefulness: users and their uses differ. So, the fact is, Emacs doesn't have a command directly corresponding to "refresh" in a browser. That very well might be the reason f5 has no default binding. >> 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. > > But are you aware that `revert-buffer' is not only about reverting files from > disk? It reverts/refreshes all kinds of buffers, from bookmark lists to Dired > (and to a web page, I assume, if you use an Emacs browser). From the doc > string: I usually press `g' for that. Much quicker.