From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: mark-word Date: Wed, 14 Nov 2007 09:26:45 +0100 Message-ID: <85640544hm.fsf@lola.goethe.zz> References: <200711140835.41856.andreas.roehler@online.de> <873av9gsap.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1195031231 8112 80.91.229.12 (14 Nov 2007 09:07:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Nov 2007 09:07:11 +0000 (UTC) Cc: Andreas =?iso-8859-1?Q?R=F6hler?= , emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 14 10:07:16 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 1IsEDL-0005K9-Pc for ged-emacs-devel@m.gmane.org; Wed, 14 Nov 2007 10:07:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IsED9-0001u9-5b for ged-emacs-devel@m.gmane.org; Wed, 14 Nov 2007 04:07:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IsED5-0001qt-Vm for emacs-devel@gnu.org; Wed, 14 Nov 2007 04:07:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IsED5-0001qF-GP for emacs-devel@gnu.org; Wed, 14 Nov 2007 04:06:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IsED5-0001q0-CO for emacs-devel@gnu.org; Wed, 14 Nov 2007 04:06:59 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IsED4-0001jX-Vi for emacs-devel@gnu.org; Wed, 14 Nov 2007 04:06:59 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IsED4-0002M8-3H; Wed, 14 Nov 2007 04:06:58 -0500 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 808001C1348F; Wed, 14 Nov 2007 09:26:45 +0100 (CET) In-Reply-To: <873av9gsap.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Wed, 14 Nov 2007 17:11:42 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: 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:83175 Archived-At: "Stephen J. Turnbull" writes: > Andreas R=F6hler writes: > > > If mark-word is called while inside a word, it marks > > from this point until the end of word first AFAIS, thus > > leaving the first part of the word unmarked. > > > IMO marking the word-at-point completely then would be > > a more convenient behaviour. > > `mark-word' itself should remain compatible with `kill-word' and > `mark-sexp'. I think it would be a good idea to have a > `mark-entire-word' command and bind it to M-@, especially since C-@ > doesn't mark a character. Ditto `mark-entire-sexp' and C-M-@. Since "mark whole ..." for both directions is useful for more than words, I think it would be more useful to have a prefix for that. C-u C-u feels natural for "both directions", but to make it non-surprising, one would likely have to assign separate meaning to C-u (as opposed to C-u 4). So probably rather C-u C-@. --=20 David Kastrup, Kriemhildstr. 15, 44793 Bochum