all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Aaron Jensen <aaronjensen@gmail.com>
Cc: 30815@debbugs.gnu.org, npostavs@gmail.com
Subject: bug#30815: 26.0.91; unicode right single quote mark with syntax entry of w not respected by forward-word
Date: Wed, 14 Mar 2018 18:09:11 +0200	[thread overview]
Message-ID: <838tauskpk.fsf@gnu.org> (raw)
In-Reply-To: <CAHyO48zHwNm7UvytuxCg70Z2aJL_3oo2+fvxgo4N3g8U1rGMvQ@mail.gmail.com> (message from Aaron Jensen on Tue, 13 Mar 2018 19:43:03 -0700)

> From: Aaron Jensen <aaronjensen@gmail.com>
> Date: Tue, 13 Mar 2018 19:43:03 -0700
> Cc: 30815@debbugs.gnu.org
> 
> Is the case for this when two words of different scripts are next to
> each other? I suppose that'd make sense if they also didn't have a
> space between them for some reason (probably possible with some
> languages)
> 
> > Maybe there is some other way to get the wanted behaviour though.  I
> > also found Bug#13129 asking about this.
> 
> Since the right quote is part of the General Punctuation script
> (afaict), what if some scripts, like that one, were treated neutrally?
> That is, they derived their behavior solely from the syntax entry.
> This is probably a bad idea for a number of reasons I don't even know
> I don't know.

We could introduce a new script, say, 'punctuation', and treat that
specially.  Doing that with all the characters of the 'symbol' script
is probably not what users will expect, I invite you to look in
charscript.el where you will see what Unicode blocks belong to
'symbol'.  So we will have to decide which characters to assign to
that new script.

But before we discuss this issue more, I think we need to talk about
the goals.  E.g., is this only for text-derived modes, or also for
programming modes?  More generally, why did you want to change the
syntax entry of ’ ?

The next question is what other characters need this special handling,
and how many of them are there?

Armed with answers to these questions, we could then decide how to
implement the requested feature, if at all.

Btw, you should know that in some quarters using ’ as an apostrophe is
anathema: they maintain one should use u+02B7 MODIFIER LETTER
APOSTROPHE instead, in particular because it doesn't have the script
disparity issue in this context.  See, for example, this URL:

  https://tedclancy.wordpress.com/2015/06/03/which-unicode-character-should-represent-the-english-apostrophe-and-why-the-unicode-committee-is-very-wrong/





  reply	other threads:[~2018-03-14 16:09 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
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 [this message]
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

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

  git send-email \
    --in-reply-to=838tauskpk.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=30815@debbugs.gnu.org \
    --cc=aaronjensen@gmail.com \
    --cc=npostavs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.