From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.bugs 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 10:43:08 -0700 Message-ID: References: <87fu53xxzc.fsf@gmail.com> <87y3ivwg0h.fsf@gmail.com> <838tauskpk.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1521049366 16989 195.159.176.226 (14 Mar 2018 17:42:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Mar 2018 17:42:46 +0000 (UTC) Cc: 30815@debbugs.gnu.org, Noam Postavsky To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 14 18:42:42 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewAQD-0004IA-O8 for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Mar 2018 18:42:41 +0100 Original-Received: from localhost ([::1]:47591 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ewASG-0004BC-Jk for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Mar 2018 13:44:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ewARZ-0003lj-FC for bug-gnu-emacs@gnu.org; Wed, 14 Mar 2018 13:44:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ewARW-0002t0-CN for bug-gnu-emacs@gnu.org; Wed, 14 Mar 2018 13:44:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53903) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ewARW-0002se-7q for bug-gnu-emacs@gnu.org; Wed, 14 Mar 2018 13:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ewARV-0005uB-OW for bug-gnu-emacs@gnu.org; Wed, 14 Mar 2018 13:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Jensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Mar 2018 17:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30815 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed notabug Original-Received: via spool by 30815-submit@debbugs.gnu.org id=B30815.152104939722629 (code B ref 30815); Wed, 14 Mar 2018 17:44:01 +0000 Original-Received: (at 30815) by debbugs.gnu.org; 14 Mar 2018 17:43:17 +0000 Original-Received: from localhost ([127.0.0.1]:33567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewAQm-0005sv-Od for submit@debbugs.gnu.org; Wed, 14 Mar 2018 13:43:17 -0400 Original-Received: from mail-qt0-f169.google.com ([209.85.216.169]:41244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewAQl-0005si-4U for 30815@debbugs.gnu.org; Wed, 14 Mar 2018 13:43:15 -0400 Original-Received: by mail-qt0-f169.google.com with SMTP id j4so4340427qth.8 for <30815@debbugs.gnu.org>; Wed, 14 Mar 2018 10:43:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=pkGVVrul4scaiNfr7KsIL1abQzeUqmywt1va3dwubO8=; b=jn9O3GtWHacAvNAXwb+5Cbd6LwkOWcKEcxhJlBV27p5wo3GQFEefwpsCv2hHE7igGV Fq+vUvFt4cotJCqp+TTYT4418g6IrwSObUtfWgcwe4Xszr8q7+HICiyeYFvfMKaNH/uk xXa8Wswl7kTxHSfbkRKlGZ8eTYRdjPfbawMJM00xg1WMSlAFPu3J/KeGS8m46mFEsLbs sEa/2UxdR9RMF00DL013aVqkqTrDI3u0oqcgQpUt9UwIT3dIBtDHCFV0GsNGvoVT/qwB tgSfwaDSyuXM9sdO3SA9usnQdxEoukRH7ZayLl6OBAEkIgO22ZOCBfd/YZ8twUsy7zwT NY0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=pkGVVrul4scaiNfr7KsIL1abQzeUqmywt1va3dwubO8=; b=RZeMKIZ7whQ4KKbt2PpJ+z8CHk7zX4rI8Yh7Vms/qnufBiE1aG1utz+EB/8QqYSKR9 WqyKMhJKpXuH6mPLIJYApD5JzwEOxIJ8SSfx1DLsU9I5/WDBS6f9eczHk0udP36MNnSj Xs4DByl4aQexPdr1Bfc+r4eA9ezR4TAjkfGJ2n5TxRH5Ky8MvxNS0yio/DtA/ArsPWYo 263FbvjBS6SL41zUH9f9S5vXBoscL5qwzHc9ScaaHpP4GFCbjDzI5VaQ74GrL1ER7bL3 fET0imztCyYAJY4p2xeBkv75RtBqCyAOjG1Skg6kol0IXQda8lrhlwI2mUunpubaU+f9 v0iw== X-Gm-Message-State: AElRT7Hp5MCtXvmBwa5OazEY8HEVlfy5rf1EyJ8MFBt8YoUGJfuMFZBJ wWBMj8ukD4IErzQJKvijdrGn8MvG47w9f/TA2iI= X-Google-Smtp-Source: AG47ELu3lc+XkNOH4mKlfkivx4Qf5jHXQzm1CILCLVdGMnfweJkszAxcVoQHS4M7us8iE2FNGUsmi2IjOuQsaMHTN4E= X-Received: by 10.237.35.76 with SMTP id i12mr8317696qtc.134.1521049389435; Wed, 14 Mar 2018 10:43:09 -0700 (PDT) Original-Received: by 10.237.60.76 with HTTP; Wed, 14 Mar 2018 10:43:08 -0700 (PDT) In-Reply-To: <838tauskpk.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:144270 Archived-At: On Wed, Mar 14, 2018 at 9:09 AM, Eli Zaretskii wrote: > 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 =E2=80=99 ? I wanted to change it because I started to use typo-mode: https://github.com/jorgenschaefer/typoel which automatically turned apostrophes I typed into right quotes in my org-mode files (which is where I had it enabled). I was ok with this, but I wanted them to behave like apostrophes did (not being word boundaries and all) so I went down this path. I have since unbound ' in that mode, so it just inserts a normal apostrophe. I'm aware of the "controversy" surrounding the different characters and, to be honest, I can't be bothered. Filing this bug was a light weight attempt to see if I was missing something and/or if this was unexpected. For right quote in particular, it's probably even more nuanced. One could use right quotes to close a single quoted piece of text. In which case, that right quote probably shouldn't be a "word" in the syntax table. Because of all of that, I'm totally happy just using ' like a normal person. I'm not an author writing manuscripts. > The next question is what other characters need this special handling, > and how many of them are there? I do not know. None others that I know of, but that doesn't mean much. > Btw, you should know that in some quarters using =E2=80=99 as an apostrop= he 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-shou= ld-represent-the-english-apostrophe-and-why-the-unicode-committee-is-very-w= rong/ This is convincing enough for me and I didn't actually know about U+02BC. That appears to work as it should out of the box. I'll open an issue on typo-mode to see if they can add support for that. I'm happy to consider this issue resolved (I know it's closed and was merged into 10494) if everyone else is after the doc changes have been merged in. Thanks.