unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Giorgos Keramidas <keramida@ceid.upatras.gr>
To: help-gnu-emacs@gnu.org
Subject: Re: How do I highlight word at point?
Date: Sun, 19 Oct 2008 18:14:00 +0300	[thread overview]
Message-ID: <87skqsmxc7.fsf@kobe.laptop> (raw)
In-Reply-To: mailman.1504.1224419414.25473.help-gnu-emacs@gnu.org

On Sun, 19 Oct 2008 14:09:09 +0200, Francis Moreau <francis.moro@gmail.com> wrote:
> Giorgos Keramidas <keramida@ceid.upatras.gr> 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.

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.  It's a very common form of courtesy to
spare the reader the trouble of going back and forth, by typing fully
legible, complete sentences in the body of email & news messages.

>> 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.




  parent reply	other threads:[~2008-10-19 15:14 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-19  2:16 How do I highlight word at point? Wei Weng
2008-10-19  3:02 ` Giorgos Keramidas
2008-10-19 12:09   ` Francis Moreau
2008-10-19 16:19     ` Nikolaj Schumacher
     [not found]   ` <mailman.1504.1224419414.25473.help-gnu-emacs@gnu.org>
2008-10-19 13:24     ` Thorsten Bonow
2008-10-19 15:54       ` Francis Moreau
2008-10-19 15:14     ` Giorgos Keramidas [this message]
2008-10-19 15:52       ` Francis Moreau
2008-10-29 22:13   ` Francis Moreau
2008-10-29 22:44     ` Andreas Politz
2008-10-30 20:22       ` Francis Moreau
2008-10-30 13:57     ` Scott Frazer
2008-10-19  5:44 ` Xah
2008-10-19 17:00   ` Nikolaj Schumacher
     [not found]   ` <mailman.1521.1224435664.25473.help-gnu-emacs@gnu.org>
2008-10-19 20:10     ` Xah
2008-10-19 22:16       ` Drew Adams
2008-10-19 23:58       ` Nikolaj Schumacher
     [not found]       ` <mailman.1544.1224460736.25473.help-gnu-emacs@gnu.org>
2008-10-20  3:46         ` Xah
2008-10-20 12:31           ` Nikolaj Schumacher
     [not found]           ` <mailman.1579.1224505887.25473.help-gnu-emacs@gnu.org>
2008-10-20 18:43             ` Xah
2008-10-21  8:57               ` Nikolaj Schumacher
2008-10-19 23:35 ` Drew Adams
2008-10-19 23:39   ` Drew Adams
2008-10-21  3:43 ` htbest2000

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87skqsmxc7.fsf@kobe.laptop \
    --to=keramida@ceid.upatras.gr \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).