[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Skipping words with C-<right> like other editors do
From: |
Stefan Monnier |
Subject: |
Re: Skipping words with C-<right> like other editors do |
Date: |
Tue, 17 Apr 2018 08:09:03 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>>> I came up with the following functions. Usage:
>> Why not use find-word-boundary-function-table?
>
> Hm, no luck.
>
> Consider the following buffer text (with ‘|’ indicating point and
> second line showing numeric positions):
>
> foo| *** +++ bar
> 1.. .5...10....5
>
> Invoking ‘forward-word’ here causes the function registered in
> ‘find-word-boundary-function-table’ to be called with arguments (13
> 16), but we wanted to stop at 8. By the time the driver asks if anyone
> wants off the bus, we’re already way past our stop!
I think this deserves a bug report, then. You shouldn't need to
override umpteen commands to provide you own definition of what is a word.
Stefan
- Re: Skipping words with C-<right> like other editors do, (continued)
- Re: Skipping words with C-<right> like other editors do, Emanuel Berg, 2018/04/15
- Re: Skipping words with C-<right> like other editors do, James K. Lowden, 2018/04/15
- Re: Skipping words with C-<right> like other editors do, Yuri Khan, 2018/04/16
- Re: Skipping words with C-<right> like other editors do, Yuri Khan, 2018/04/16
- Re: Skipping words with C-<right> like other editors do, Stefan Monnier, 2018/04/16
- Re: Skipping words with C-<right> like other editors do, Yuri Khan, 2018/04/16
- Re: Skipping words with C-<right> like other editors do, Yuri Khan, 2018/04/17
- Re: Skipping words with C-<right> like other editors do,
Stefan Monnier <=
- Re: Skipping words with C-<right> like other editors do, Yuri Khan, 2018/04/18
Message not available