From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Francis Moreau" Newsgroups: gmane.emacs.help Subject: Re: How do I highlight word at point? Date: Sun, 19 Oct 2008 17:52:23 +0200 Message-ID: <38b2ab8a0810190852m6e50c007h7f54ea7e00a71626@mail.gmail.com> References: <1224382569.209484@nntp.acecape.com> <87vdvpmgn2.fsf@kobe.laptop> <87skqsmxc7.fsf@kobe.laptop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224432751 11344 80.91.229.12 (19 Oct 2008 16:12:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Oct 2008 16:12:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Giorgos Keramidas" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 19 18:10:08 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KrabJ-0000iC-Ud for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Oct 2008 17:53:54 +0200 Original-Received: from localhost ([127.0.0.1]:38444 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KraaE-0006UU-PL for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Oct 2008 11:52:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KraZv-0006UK-Pr for help-gnu-emacs@gnu.org; Sun, 19 Oct 2008 11:52:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KraZu-0006T1-2e for help-gnu-emacs@gnu.org; Sun, 19 Oct 2008 11:52:27 -0400 Original-Received: from [199.232.76.173] (port=48104 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KraZt-0006St-Ri for help-gnu-emacs@gnu.org; Sun, 19 Oct 2008 11:52:25 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.174]:42426) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KraZt-00011z-8S for help-gnu-emacs@gnu.org; Sun, 19 Oct 2008 11:52:25 -0400 Original-Received: by ug-out-1314.google.com with SMTP id z36so491314uge.17 for ; Sun, 19 Oct 2008 08:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=qo8qqyPITPkvLq0rNM+faW8zBnKYrzzFBCrXBDtM2AM=; b=KIedg1PegNABAG6eW4ljqB3WblZeubBo//2JyCHLx9PUqmM7/36XDD+3kjPOBDpnUH Z0Ibdyc99PiqC3gOW7yu6hLgo/+Oi7AQtcYGIK/2wSKZsLIbyWD/ZvsOrFoQ5KE4JQQP P7MmWpnKesWcvgjul93iYWfVkOcdODKNzrWco= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=gE4u7lQyAZBJU4CzZrPBiyyizRfR/932ywJmRoCh5xfmHtoogmAxS8im/4+QVpdYsK XlDrGfSW+RtMzFt6A8CQLeCaObfBvnNgaxwqm4/qwvMpU/uVG8/NOImuHoIKmatbwGmV bp6uF+X5Eyi0UH/hVrfMP0nV+Q/iI+Hjrm3f0= Original-Received: by 10.66.221.19 with SMTP id t19mr1493388ugg.69.1224431543528; Sun, 19 Oct 2008 08:52:23 -0700 (PDT) Original-Received: by 10.67.26.6 with HTTP; Sun, 19 Oct 2008 08:52:23 -0700 (PDT) In-Reply-To: <87skqsmxc7.fsf@kobe.laptop> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58924 Archived-At: On Sun, Oct 19, 2008 at 5:14 PM, Giorgos Keramidas wrote: > On Sun, 19 Oct 2008 14:09:09 +0200, Francis Moreau wrote: >> Giorgos Keramidas writes: >>> Please include the full question in the body of the post too in >>> future posts. It makes things much easier to read in some >>> environments :-) >> >> eh ? what kind of environment are you using ? >> It looks like it's high time to update ;) > > It should be easy to find out: Gnus. It's shown in the User-Agent > header of my posts, and I'm actually quite fond of it. > yes, I saw that but you seem to have missed the ';)' > I wasn't referring to *my* environment, which is mostly `ok' for all my > email and news needs. There are news readers that go out of their way > to _hide_ the header though. never hear about them. >>> I think what you asked may be done by typing `M-b M-@'. >> >> M-b is bind to 'backward-word'. >> >> Which function 'M-b M-@' is bind in your "special" environment ? > > M-b is backward-word, but I should have written a more clear explanation > of what I was aiming for. > > Yes, `M-@' is bound to `mark-word'. The important detail is that the > `mark-word' function selects the part of the word that is _after_ the > current location of the point. > > So if the current `point' is already at the start of a word, then `M-@' > will do the right thing. > > When the point is in the middle of a word, however, you can move the > point to the start of the current word with `M-b' and then use `M-@' to > mark the full word. > yes sorry I stupidely did 'C-h k' and try to type your suggestion. -- Francis