unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Aaron Jensen <aaronjensen@gmail.com>
Cc: 30815@debbugs.gnu.org
Subject: bug#30815: 26.0.91; unicode right single quote mark with syntax entry of w not respected by forward-word
Date: Tue, 13 Mar 2018 21:11:19 -0400	[thread overview]
Message-ID: <87fu53xxzc.fsf@gmail.com> (raw)
In-Reply-To: <m2r2onjyx3.fsf@gmail.com> (Aaron Jensen's message of "Tue, 13 Mar 2018 17:14:48 -0700")

unarchive 10494
close 30815
merge 30815 10494
quit

Aaron Jensen <aaronjensen@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...







  reply	other threads:[~2018-03-14  1:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-14  0:14 bug#30815: 26.0.91; unicode right single quote mark with syntax entry of w not respected by forward-word Aaron Jensen
2018-03-14  1:11 ` Noam Postavsky [this message]
2018-03-14  2:07   ` Aaron Jensen
2018-03-14  2:24     ` Noam Postavsky
2018-03-14  2:43       ` Aaron Jensen
2018-03-14 16:09         ` Eli Zaretskii
2018-03-14 17:43           ` Aaron Jensen
2018-03-14 17:51             ` Eli Zaretskii
2018-03-14 15:59       ` Eli Zaretskii
2018-03-14 23:19         ` Noam Postavsky
2018-03-15  6:39           ` Eli Zaretskii
2018-03-17  0:03             ` Noam Postavsky

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=87fu53xxzc.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=30815@debbugs.gnu.org \
    --cc=aaronjensen@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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