GNU bug report logs -
#30815
26.0.91; unicode right single quote mark with syntax entry of w not respected by forward-word
Previous Next
Reported by: Aaron Jensen <aaronjensen <at> gmail.com>
Date: Wed, 14 Mar 2018 00:16:01 UTC
Severity: wishlist
Tags: confirmed, notabug
Merged with 10494,
13129
Found in versions 24.0.92, 24.1, 25.1, 26.0.91
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #10 received at control <at> debbugs.gnu.org (full text, mbox):
unarchive 10494
close 30815
merge 30815 10494
quit
Aaron Jensen <aaronjensen <at> gmail.com> writes:
> Perhaps I'm doing something wrong or there's some setting I'm missing,
> but this doesn't appear to work as I'd expect.
>
> 1. emacs -Q
> 2. M-: (modify-syntax-entry ?’ "w" text-mode-syntax-table)
> 3. Type (note the unicode ’): doesn’t
> 4. Use M-b/M-f to get to the beginning of the line and back to the end
>
> Actual behavior:
>
> M-b and M-f stop at the ’ instead of bypassing it. Compare it to doing
> the same thing with ?_.
>
> Expected behavior:
>
> ’ is treated as part of the word and is skipped over by M-f and M-b
See `(elisp) Word Motion':
Characters that belong to different scripts (as defined by
`char-syntax-table'), also define a word boundary
and discussion in Bug#10494 which prompted the update of that section.
Hmm, I think I meant `char-script-table', as `char-syntax-table' doesn't
seem to exist...
This bug report was last modified 7 years and 66 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.