[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do I highlight word at point?
From: |
Francis Moreau |
Subject: |
Re: How do I highlight word at point? |
Date: |
Sun, 19 Oct 2008 17:52:23 +0200 |
On Sun, Oct 19, 2008 at 5:14 PM, Giorgos Keramidas
<keramida@ceid.upatras.gr> wrote:
> 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.
>
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
Re: How do I highlight word at point?, Xah, 2008/10/19