From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: mark-word Date: Wed, 14 Nov 2007 20:07:59 +0100 Message-ID: <473B478F.5060401@gmail.com> References: <200711140835.41856.andreas.roehler@online.de> <873av9gsap.fsf@uwakimon.sk.tsukuba.ac.jp> <85640544hm.fsf@lola.goethe.zz> <200711141227.44672.andreas.roehler@online.de> <873av84u5t.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1195067319 8425 80.91.229.12 (14 Nov 2007 19:08:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Nov 2007 19:08:39 +0000 (UTC) Cc: =?ISO-8859-1?Q?Andreas_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 20:08:43 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 1IsNbF-0003HS-Op for ged-emacs-devel@m.gmane.org; Wed, 14 Nov 2007 20:08:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IsNb2-0000kM-U0 for ged-emacs-devel@m.gmane.org; Wed, 14 Nov 2007 14:08:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IsNaz-0000he-Os for emacs-devel@gnu.org; Wed, 14 Nov 2007 14:08:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IsNay-0000fn-AK for emacs-devel@gnu.org; Wed, 14 Nov 2007 14:08:17 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IsNay-0000fc-65 for emacs-devel@gnu.org; Wed, 14 Nov 2007 14:08:16 -0500 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IsNax-00070c-Op for emacs-devel@gnu.org; Wed, 14 Nov 2007 14:08:15 -0500 Original-Received: from c83-254-148-228.bredband.comhem.se ([83.254.148.228]:62721 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1IsNar-0006K2-4M; Wed, 14 Nov 2007 20:08:09 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 In-Reply-To: <873av84u5t.fsf@uwakimon.sk.tsukuba.ac.jp> X-Antivirus: avast! (VPS 071113-1, 2007-11-13), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.148.228 X-Scan-Result: No virus found in message 1IsNar-0006K2-4M. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1IsNar-0006K2-4M 31f19b0317bd5b9d0cc2dae3d5f2f11e X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:83203 Archived-At: Stephen J. Turnbull wrote: > Andreas Röhler writes: > > > What about this? > > > > (defun mark-word-at-point () > > " " > > (interactive) > > (beginning-of-thing 'word) > > (push-mark nil nil t) > > (end-of-thing 'word)) > > The name is not descriptive of how it differs from `mark-word'; > `mark-word' already has "at point" semantics. Is there a mark-thing-at-point? If there were then mark-word-at-point could be implemented using that.