From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 22.1.50; Augmenting Emacs Keybindings To Match Included Packages? Date: Thu, 30 Aug 2007 23:47:36 +0200 Organization: The Church of Emacs Message-ID: <87sl60snif.fsf@debby.local.net> References: <87wsvdsdpw.fsf@debby.local.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188510372 6498 80.91.229.12 (30 Aug 2007 21:46:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2007 21:46:12 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 30 23:46:09 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IQrq3-00078F-FM for ged-emacs-devel@m.gmane.org; Thu, 30 Aug 2007 23:46:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQrq2-0006ij-VT for ged-emacs-devel@m.gmane.org; Thu, 30 Aug 2007 17:46:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IQrpz-0006iL-Ip for emacs-devel@gnu.org; Thu, 30 Aug 2007 17:46:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IQrpw-0006hu-W8 for emacs-devel@gnu.org; Thu, 30 Aug 2007 17:46:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQrpw-0006hr-Sl for emacs-devel@gnu.org; Thu, 30 Aug 2007 17:46:00 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IQrpw-0008WI-K7 for emacs-devel@gnu.org; Thu, 30 Aug 2007 17:46:00 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IQrpn-0001dH-5c for emacs-pretest-bug@gnu.org; Thu, 30 Aug 2007 17:45:51 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IQrps-0008W0-VC for emacs-pretest-bug@gnu.org; Thu, 30 Aug 2007 17:46:00 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IQrps-0008Vw-Ib for emacs-pretest-bug@gnu.org; Thu, 30 Aug 2007 17:45:56 -0400 Original-Received: from drms-590d5a74.pool.einsundeins.de [89.13.90.116] (helo=debby.local.net) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis), id 0ML31I-1IQrpr1ITQ-0001Ro; Thu, 30 Aug 2007 23:45:55 +0200 Original-Received: from dieter by debby.local.net with local (Exim 4.63) (envelope-from ) id 1IQrrU-0003Dh-6b; Thu, 30 Aug 2007 23:47:36 +0200 In-Reply-To: (Drew Adams's message of "Thu\, 30 Aug 2007 08\:03\:59 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Provags-ID: V01U2FsdGVkX18Ci71feQs1oRYrG0fon1oCGBpmB2OUi1QwACy 1K/42rSncXpWNtB6cbCnH+Jg21poztCKQgP9CYsLlzb5u2G2is 28k71wrj4oepL6gbR6pf/FF3RNhLxyb X-Detected-Kernel: Linux 2.6? (barebone, rare!) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:77443 gmane.emacs.pretest.bugs:19668 Archived-At: "Drew Adams" writes: >> >> Also, I've long bound M-r to replace-string >> >> The default binding for M-r (move-to-window-line) is also quite >> helpful > > The usefulness of a key sequence is one consideration. Other possible Well, I actually meant the help fullness of the command itself and that users are already used to M-r. It would be interesting to know when this key combination was introduced. > considerations include the difficulty of effecting it (on common keyboards) > and whether or not you can auto-repeat it by holding it pressed. True, that's a point. > It seems a shame to spend (waste) a (typically) repeatable key such as `M-r' > on a command such as `move-to-window-line' or `replace-string' that cannot > take advantage of holding the key (chord) down to repeat the command. Not a > big deal, admittedly, but something else to perhaps keep in mind. Not necessarily at all circumstances. Some more commands could be as intelligent/subservient as C-x zzzzzz (just repeating the last char for repetition) C-x ^ or C-x comes to mind. > Short key sequences are relatively scarce. In general, it's better to use a > key that cannot repeat, such as `C-x ' for a command that > typically will not be repeated. There are exceptions, of course, including > quick keys that you want to be able to use often. Admitted, I'm not using M-r as often as C-s or M-f for example but in the process of positioning the cursor as near as possible to a visual target within the window (my use of M-r) one is impatient and happy to use short key sequences or might otherwise succumb to the mouse. -- Best wishes H. Dieter Wilhelm Darmstadt, Germany