From unknown Tue Jun 17 01:47:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction Resent-From: Aaron Ecay Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Jan 2012 08:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 10494@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.132644409410770 (code B ref -1); Fri, 13 Jan 2012 08:42:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jan 2012 08:41:34 +0000 Received: from localhost ([127.0.0.1]:55820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rlcha-0002nf-ES for submit@debbugs.gnu.org; Fri, 13 Jan 2012 03:41:34 -0500 Received: from eggs.gnu.org ([140.186.70.92]:38756) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RlchX-0002nX-Gb for submit@debbugs.gnu.org; Fri, 13 Jan 2012 03:41:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rlcgs-0006ux-4Y for submit@debbugs.gnu.org; Fri, 13 Jan 2012 03:40:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:43123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rlcgs-0006ut-2r for submit@debbugs.gnu.org; Fri, 13 Jan 2012 03:40:50 -0500 Received: from eggs.gnu.org ([140.186.70.92]:48730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rlcgq-0001fy-VA for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2012 03:40:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rlcgk-0006tv-RH for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2012 03:40:48 -0500 Received: from mail-qw0-f41.google.com ([209.85.216.41]:62358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rlcgk-0006tq-Nb for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2012 03:40:42 -0500 Received: by qats34 with SMTP id s34so690012qat.0 for ; Fri, 13 Jan 2012 00:40:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:user-agent:date:message-id:mime-version :content-type:content-transfer-encoding; bh=1Fq/vre97e6mLnvC8epUgss5RkMrf0e0aGB66K59zJc=; b=L551GXpKJvO0zsUTNeKZ0hjdbHileEtyvXUT4gdVcYTau4gnMK8ALwILqty3DPe4gh 7c5e/vmvNNlUnZy5D9c1a74RCS3vKCisFdo5bphUlgU71xmqkMlmi4MhvrMppuEeyEMY 72IJ5IgBx1c4E7I9IzN/ABzDWsnQoStZraBz4= Received: by 10.224.200.197 with SMTP id ex5mr16520qab.88.1326444041431; Fri, 13 Jan 2012 00:40:41 -0800 (PST) Received: from localhost (c-68-80-94-73.hsd1.pa.comcast.net. [68.80.94.73]) by mx.google.com with ESMTPS id j18sm15323258qag.17.2012.01.13.00.40.39 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 13 Jan 2012 00:40:40 -0800 (PST) From: Aaron Ecay User-Agent: Notmuch/0.10.1+56~gd709fd6 (http://notmuchmail.org) Emacs/24.0.92.1 (i386-apple-darwin10.8.0) Date: Fri, 13 Jan 2012 03:40:34 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': This bug relates to setting a non-ASCII character punctuation character (U+2019, which is =E2=80=99) to have word syntax, and using word-motion commands. Here=E2=80=99s a recipe from emacs -Q: M-x text-mode don't C-a M-f -> (as expected, the cursor moves to the end of the line) RET RET don M-x ucs-insert 2019 t -> (text in buffer: "don=E2=80=99t") C-a M-f -> (cursor is on the quotation mark, as expected) M-: (modify-syntax-entry ?=E2=80=99 "w" text-mode-syntax-table) C-a M-f -> (BUG: cursor is on quotation mark, which should count as part of the w= ord) If you re-run the experiment substituting - for =E2=80=99 everywhere, there= is a difference in behavior =E2=80=93 the cursor moves to the end of the line af= ter the call to modify-syntax-entry, as expected. This leads me to think that the problem has to do with =E2=80=99 being outside the ASCII charset. This is with a recent-ish bzr trunk build, btw. The most recent commit is: revno: 106824 [merge] committer: Chong Yidong branch nick: trunk timestamp: Mon 2012-01-09 13:48:13 +0800 message: Merge changes from emacs-23 branch If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /Users/aecay/Applications/Emacs.app/Contents/Resources/etc/DEBUG. In GNU Emacs 24.0.92.1 (i386-apple-darwin10.8.0, NS apple-appkit-1038.36) of 2012-01-09 on awe Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--with-ns' '--without-gnutls'' --=20 Aaron Ecay From unknown Tue Jun 17 01:47:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Jan 2012 10:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Aaron Ecay Cc: 10494@debbugs.gnu.org Received: via spool by 10494-submit@debbugs.gnu.org id=B10494.132645156121776 (code B ref 10494); Fri, 13 Jan 2012 10:46:02 +0000 Received: (at 10494) by debbugs.gnu.org; 13 Jan 2012 10:46:01 +0000 Received: from localhost ([127.0.0.1]:55876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rlee0-0005fA-Qz for submit@debbugs.gnu.org; Fri, 13 Jan 2012 05:46:01 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:44029) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rledz-0005f3-52 for 10494@debbugs.gnu.org; Fri, 13 Jan 2012 05:46:00 -0500 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 025E01C0F597; Fri, 13 Jan 2012 11:45:21 +0100 (CET) X-Auth-Info: 1PzlT1PMZGfJiDBo3otMze8I9pSQupMWt5I3FIWBHpk= Received: from igel.home (ppp-93-104-143-179.dynamic.mnet-online.de [93.104.143.179]) by mail.mnet-online.de (Postfix) with ESMTPA id AC82B1C0012A; Fri, 13 Jan 2012 11:45:21 +0100 (CET) Received: by igel.home (Postfix, from userid 501) id 5C544CA29F; Fri, 13 Jan 2012 11:45:21 +0100 (CET) From: Andreas Schwab References: X-Yow: Yow! STYROFOAM.. Date: Fri, 13 Jan 2012 11:45:21 +0100 In-Reply-To: (Aaron Ecay's message of "Fri, 13 Jan 2012 03:40:34 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Aaron Ecay writes: > M-x text-mode > don't > C-a M-f > -> (as expected, the cursor moves to the end of the line) > RET RET > don M-x ucs-insert 2019 t > -> (text in buffer: "don’t") > C-a M-f > -> (cursor is on the quotation mark, as expected) > M-: (modify-syntax-entry ?’ "w" text-mode-syntax-table) > C-a M-f > -> (BUG: cursor is on quotation mark, which should count as part of the word) ?’ isn't of the same script as the surrounding characters, so there are word boundaries before and after it. See also word-combining-categories. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From unknown Tue Jun 17 01:47:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction Resent-From: Aaron Ecay Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Jan 2012 17:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andreas Schwab Cc: 10494@debbugs.gnu.org Received: via spool by 10494-submit@debbugs.gnu.org id=B10494.132647431129653 (code B ref 10494); Fri, 13 Jan 2012 17:06:01 +0000 Received: (at 10494) by debbugs.gnu.org; 13 Jan 2012 17:05:11 +0000 Received: from localhost ([127.0.0.1]:56648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RlkYw-0007iE-NF for submit@debbugs.gnu.org; Fri, 13 Jan 2012 12:05:10 -0500 Received: from mail-qw0-f51.google.com ([209.85.216.51]:54529) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RlkYu-0007i5-3O for 10494@debbugs.gnu.org; Fri, 13 Jan 2012 12:05:08 -0500 Received: by qadc14 with SMTP id c14so1160358qad.3 for <10494@debbugs.gnu.org>; Fri, 13 Jan 2012 09:04:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type:content-transfer-encoding; bh=+QO6V4dTovDt9AHh3KHmW2cJtypIoQb63S6KN7c0nso=; b=PO3OeFj4Jhpg90OREF3JJJ87gqWLrgAUcIseaYGuoWnkp9zaUnmd3j2FQjxY9897kO WZ2dKhTyEExrMzbI+iLKbRJoP5WDKBKy/QWUKLarpeHN7D1cdKZuUzy/5gkVVGUMXrb2 jGOK8VVV8etwb3ZKNlSHLF/Pb+Z3oCxkjwWx4= Received: by 10.224.196.66 with SMTP id ef2mr2824028qab.94.1326474269836; Fri, 13 Jan 2012 09:04:29 -0800 (PST) Received: from localhost (wal067.wireless-pennnet.upenn.edu. [128.91.71.196]) by mx.google.com with ESMTPS id o8sm17675249qaj.0.2012.01.13.09.04.28 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 13 Jan 2012 09:04:28 -0800 (PST) From: Aaron Ecay In-Reply-To: References: User-Agent: Notmuch/0.10.1+56~gd709fd6 (http://notmuchmail.org) Emacs/24.0.92.1 (i386-apple-darwin10.8.0) Date: Fri, 13 Jan 2012 12:04:26 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Fri, 13 Jan 2012 11:45:21 +0100, Andreas Schwab = wrote: > ?=E2=80=99 isn't of the same script as the surrounding characters, so the= re are > word boundaries before and after it. See also > word-combining-categories. What does that mean? I assume it has something to do with the =E2=80=9Ccategory:=E2=80=9D line in the output of describe-char. For ?=E2= =80=99 this gives: =E2=80=9C.:Base, c:Chinese, h:Korean, j:Japanese=E2=80=9D; for ?' it is =E2= =80=9C.:Base, a:ASCII, l:Latin, r:Roman=E2=80=9D. So, what does ?=E2=80=99 have to do wi= th CJK scripts? More specifically, I would like to use ?=E2=80=99 as an apostrophe in writi= ng text, so I=E2=80=99d like for word-motion commands to treat it as part of a word, just as they do ?'. How might this be accomplished? Thanks, --=20 Aaron Ecay From unknown Tue Jun 17 01:47:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Aug 2016 00:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Aaron Ecay Cc: 10494@debbugs.gnu.org Received: via spool by 10494-submit@debbugs.gnu.org id=B10494.14708753511266 (code B ref 10494); Thu, 11 Aug 2016 00:30:03 +0000 Received: (at 10494) by debbugs.gnu.org; 11 Aug 2016 00:29:11 +0000 Received: from localhost ([127.0.0.1]:52761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXdrz-0000KG-Cr for submit@debbugs.gnu.org; Wed, 10 Aug 2016 20:29:11 -0400 Received: from mail-it0-f54.google.com ([209.85.214.54]:36387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXdrw-0000Jy-FG; Wed, 10 Aug 2016 20:29:09 -0400 Received: by mail-it0-f54.google.com with SMTP id x130so353295ite.1; Wed, 10 Aug 2016 17:29:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=o+7MwILK7d49AxD6WBQZn4i3N4J77s/GxBob921EDe4=; b=sGFAJV2M3RGDuabZR1CH/XRYTwqO6Yl6vBsQVn8qDIdy2pk6UpNj19nUGhAClLkh6M Igj1kl+ncXJj56qL5URSRgJcvqbcaOjqhBfJea+NM9pzMnm6CyVJwGOLy18ct4iHvqaR eORFbfVttkFCcwX2PPLdlwUynUCe/xBv03Ill2gVBJUZlS24lbtY96cLSaMmcf8vrOVS fkwCT40t5Pd+NrHvPbu/KTj8SU5bJa8UnZJGfRohVybpwnOqOqHkDANTVIHietcAfGUF xaLiy66Dxf27degGZBgG8U5l9hWVVkDekP6XUNx4KgRQl0o4lPGCzvidCWIfLXV+f6nM 28bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=o+7MwILK7d49AxD6WBQZn4i3N4J77s/GxBob921EDe4=; b=FoEcPZ83MvhC2Z5FozF9o9EVKr0j1IgvDKRtMaroZvdJTuYybxE+zMZ6BLhgGh0VSs Sd7GP6N8pBdyqZx9m9IcTV+ir2usIZlQD0UVhMGidONZefC+zsa/bGoEw4MzdjmnabYf uU1UoAWc3EH8mYlr4lfeyW9l4iQco2khvzS4ogoO5YkAtKLqnHW9HtjNucd/Y9BvsevX dEGBY6jkIyGf2fTNPi6fEh44bjcik5NSAySDzKfzv0GeQXcn5s4IANajIUkDnF7PG+Yf d/FRjtqYvjRtVa3GDB58FbaDK6GbGjPMMIssWwnLxeUHnLyNltlSSUxhRV+mFL2+bl8O BEkA== X-Gm-Message-State: AEkoouuUnLb/jHhN6zP/0T2PXK7b7BlLtUq0hDgxr/5+w+CGSCMra/08seBXgtEh5dCXmA== X-Received: by 10.36.20.75 with SMTP id 72mr6331569itg.83.1470875342966; Wed, 10 Aug 2016 17:29:02 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id o201sm291905iod.16.2016.08.10.17.29.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Aug 2016 17:29:02 -0700 (PDT) From: npostavs@users.sourceforge.net References: Date: Wed, 10 Aug 2016 20:29:05 -0400 In-Reply-To: (Aaron Ecay's message of "Fri, 13 Jan 2012 03:40:34 -0500") Message-ID: <87wpjoxi5q.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tags 10494 confirmed found 10494 25.1 quit I confirm this is still the case in 25.1-rc1. Aaron Ecay writes: > > This bug relates to setting a non-ASCII character punctuation character > (U+2019, which is =E2=80=99) to have word syntax, and using word-motion > commands. Here=E2=80=99s a recipe from emacs -Q: > > M-x text-mode > don't > C-a M-f > -> (as expected, the cursor moves to the end of the line) > RET RET > don M-x ucs-insert 2019 t This should now use insert-char (C-x 8 RET) instead of ucs-insert. > -> (text in buffer: "don=E2=80=99t") > C-a M-f > -> (cursor is on the quotation mark, as expected) > M-: (modify-syntax-entry ?=E2=80=99 "w" text-mode-syntax-table) > C-a M-f > -> (BUG: cursor is on quotation mark, which should count as part of the= word) > > If you re-run the experiment substituting - for =E2=80=99 everywhere, the= re is a > difference in behavior =E2=80=93 the cursor moves to the end of the line = after > the call to modify-syntax-entry, as expected. This leads me to think > that the problem has to do with =E2=80=99 being outside the ASCII charset. From unknown Tue Jun 17 01:47:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Aug 2016 15:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: npostavs@users.sourceforge.net Cc: aaronecay@gmail.com, 10494@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 10494-submit@debbugs.gnu.org id=B10494.14709290855997 (code B ref 10494); Thu, 11 Aug 2016 15:25:02 +0000 Received: (at 10494) by debbugs.gnu.org; 11 Aug 2016 15:24:45 +0000 Received: from localhost ([127.0.0.1]:54173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXrqf-0001Yf-0C for submit@debbugs.gnu.org; Thu, 11 Aug 2016 11:24:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXrqc-0001YR-TI for 10494@debbugs.gnu.org; Thu, 11 Aug 2016 11:24:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXrqU-0006b7-EO for 10494@debbugs.gnu.org; Thu, 11 Aug 2016 11:24:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXrqU-0006au-Ao; Thu, 11 Aug 2016 11:24:34 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1691 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bXrqS-0000xC-FX; Thu, 11 Aug 2016 11:24:32 -0400 Date: Thu, 11 Aug 2016 18:24:22 +0300 Message-Id: <83h9arfhw9.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87wpjoxi5q.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net) References: <87wpjoxi5q.fsf@users.sourceforge.net> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.5 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) > From: npostavs@users.sourceforge.net > Date: Wed, 10 Aug 2016 20:29:05 -0400 > Cc: 10494@debbugs.gnu.org > > I confirm this is still the case in 25.1-rc1. > > Aaron Ecay writes: > > > > This bug relates to setting a non-ASCII character punctuation character > > (U+2019, which is ’) to have word syntax, and using word-motion > > commands. Here’s a recipe from emacs -Q: > > > > M-x text-mode > > don't > > C-a M-f > > -> (as expected, the cursor moves to the end of the line) > > RET RET > > don M-x ucs-insert 2019 t > > This should now use insert-char (C-x 8 RET) instead of ucs-insert. > > > -> (text in buffer: "don’t") > > C-a M-f > > -> (cursor is on the quotation mark, as expected) > > M-: (modify-syntax-entry ?’ "w" text-mode-syntax-table) > > C-a M-f > > -> (BUG: cursor is on quotation mark, which should count as part of the word) > > > > If you re-run the experiment substituting - for ’ everywhere, there is a > > difference in behavior – the cursor moves to the end of the line after > > the call to modify-syntax-entry, as expected. This leads me to think > > that the problem has to do with ’ being outside the ASCII charset. Indeed. This is a feature: we don't let word-movement commands to cross into a different script. IOW, if (aref char-script-table C1) and (aref char-script-table C2) return different values, then we decide that there's a word boundary between C1 and C2. See the function word_boundary_p, which is called from scan_words. Maybe we should document this somewhere, like the ELisp manual. From unknown Tue Jun 17 01:47:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Aug 2016 22:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com Received: via spool by 10494-submit@debbugs.gnu.org id=B10494.147104147726010 (code B ref 10494); Fri, 12 Aug 2016 22:38:02 +0000 Received: (at 10494) by debbugs.gnu.org; 12 Aug 2016 22:37:57 +0000 Received: from localhost ([127.0.0.1]:55526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYL5R-0006lR-15 for submit@debbugs.gnu.org; Fri, 12 Aug 2016 18:37:57 -0400 Received: from mail-it0-f51.google.com ([209.85.214.51]:37404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYL5P-0006l3-Cg for 10494@debbugs.gnu.org; Fri, 12 Aug 2016 18:37:55 -0400 Received: by mail-it0-f51.google.com with SMTP id f6so26418514ith.0 for <10494@debbugs.gnu.org>; Fri, 12 Aug 2016 15:37:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=lqfWCne9InzAxePbYEYdhqbYlXVCSyCDoJHf6uGDPdQ=; b=ODBbW+eZImv59Fs7RUMmBSXDRp1ZpXbMZV+W+OWgO2z2iMdMpsjJvAx6cm1zsB6uxS vIY1gDFG/cLj6VlqEHPJMvE8vKTVxcKUxg+lfEiBtSi1Hzl6t8hDdOaGc2e5x7Hadq4t D0uXTQycoebs6FFrpZ5ZwAy3hWRfFkJ3sNiLEh/xKk7kKnb+b7PG3oxyxl3Vn+gb8Kpc Iln4fXLvCTjPXf/YCxd0yf2FkcbtjNuN7ci/nJiCkWiODTKz1n0X3EHb1Bzjwymd6p/V zTcWbPxPI/kTPDaMRKTwTqTiGxnZ+Ympzek6Ct3D/CdnfWOBlGS89UsA6vToDwBkGG+h qijg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=lqfWCne9InzAxePbYEYdhqbYlXVCSyCDoJHf6uGDPdQ=; b=UwECgL4yAHKfXx/U8AdmJAOgQ8JbbdmGcJ8OaHu2eD5z+K2qUzc1qDFLKVUyBtCLJd v32q0VBL7YZrbpBf1NVSRBUY08p9rtXA4CL3U9lsGZecVxwR9u0eC6V0L4Yuy2QUrrXS /LAd/yYVGf9r7me4c9nbGVEhMWH1F3SqIDmxeIZHa2R5967Oo3KArsTqPPl1iHCR53jC baR+8mlzWcxnrqRxwd9l7rqufg95j6Tww/1GRPW4SZiBG+NmQUCuEIF2xZdGyyky+cFN 1cxD8Nv95HhhimGr+KOHFVT9cAr/mq5mOMK5XuD3jlZuXQCqiCpyB7l7g5qhMwmlv8wq D1+Q== X-Gm-Message-State: AEkooutPlaU3IAZG6hTCie/AdsYu4oGbTrhLu0nWTJsbxk5cyXQ1/ZppUqy9kYcAfhavtg== X-Received: by 10.36.19.75 with SMTP id 72mr1432379itz.83.1471041469862; Fri, 12 Aug 2016 15:37:49 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id o15sm2362334ith.2.2016.08.12.15.37.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Aug 2016 15:37:48 -0700 (PDT) From: npostavs@users.sourceforge.net References: <87wpjoxi5q.fsf@users.sourceforge.net> <83h9arfhw9.fsf@gnu.org> Date: Fri, 12 Aug 2016 18:37:56 -0400 In-Reply-To: <83h9arfhw9.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 11 Aug 2016 18:24:22 +0300") Message-ID: <87h9apy5ob.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: > Indeed. This is a feature: Ah, so doing (modify-syntax-entry ?=E2=80=99 "w" text-mode-syntax-table) (aset char-script-table ?=E2=80=99 'latin) does let word motion skip over =E2=80=99 as OP wanted. > > Maybe we should document this somewhere, like the ELisp manual. `(elisp) Word Motion' looks like a good place for it: --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=v1-0001-Document-char-script-table-s-effect-on-word-motio.patch Content-Description: patch >From 03dbee2bf6bae29b21ea36ff3d73bce773458f78 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Fri, 12 Aug 2016 18:33:17 -0400 Subject: [PATCH v1] Document char-script-table's effect on word motion * doc/lispref/positions.texi (Word Motion): Talk about char-script-table (Bug #10494). --- doc/lispref/positions.texi | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/doc/lispref/positions.texi b/doc/lispref/positions.texi index 1d748b8..3359ced 100644 --- a/doc/lispref/positions.texi +++ b/doc/lispref/positions.texi @@ -192,8 +192,8 @@ Word Motion @subsection Motion by Words The functions for parsing words described below use the syntax table -to decide whether a given character is part of a word. @xref{Syntax -Tables}. +and @code{char-script-table} to decide whether a given character is +part of a word. @xref{Syntax Tables} and @xref{Character Properties}. @deffn Command forward-word &optional count This function moves point forward @var{count} words (or backward if @@ -207,11 +207,13 @@ Word Motion that begin and end words, known as @dfn{word boundaries}, are defined by the current buffer's syntax table (@pxref{Syntax Class Table}), but modes can override that by setting up a suitable -@code{find-word-boundary-function-table}, described below. In any -case, this function cannot move point past the boundary of the -accessible portion of the buffer, or across a field boundary -(@pxref{Fields}). The most common case of a field boundary is the end -of the prompt in the minibuffer. +@code{find-word-boundary-function-table}, described below. Characters +that belong to a different script (as defined by +@code{char-syntax-table}), also mark a word boundary (@pxref{Character +Properties}). In any case, this function cannot move point past the +boundary of the accessible portion of the buffer, or across a field +boundary (@pxref{Fields}). The most common case of a field boundary +is the end of the prompt in the minibuffer. If it is possible to move @var{count} words, without being stopped prematurely by the buffer boundary or a field boundary, the value is -- 2.9.2 --=-=-=-- From unknown Tue Jun 17 01:47:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Aug 2016 06:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: npostavs@users.sourceforge.net Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com Reply-To: Eli Zaretskii Received: via spool by 10494-submit@debbugs.gnu.org id=B10494.147107143626562 (code B ref 10494); Sat, 13 Aug 2016 06:58:02 +0000 Received: (at 10494) by debbugs.gnu.org; 13 Aug 2016 06:57:16 +0000 Received: from localhost ([127.0.0.1]:55662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYSsd-0006uM-QS for submit@debbugs.gnu.org; Sat, 13 Aug 2016 02:57:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYSsc-0006u7-Rc for 10494@debbugs.gnu.org; Sat, 13 Aug 2016 02:57:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYSsW-000898-SQ for 10494@debbugs.gnu.org; Sat, 13 Aug 2016 02:57:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYSsT-00088n-4O; Sat, 13 Aug 2016 02:57:05 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4403 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bYSsR-0006iL-99; Sat, 13 Aug 2016 02:57:03 -0400 Date: Sat, 13 Aug 2016 09:56:57 +0300 Message-Id: <83eg5tdume.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87h9apy5ob.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net) References: <87wpjoxi5q.fsf@users.sourceforge.net> <83h9arfhw9.fsf@gnu.org> <87h9apy5ob.fsf@users.sourceforge.net> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.5 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) > From: npostavs@users.sourceforge.net > Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com > Date: Fri, 12 Aug 2016 18:37:56 -0400 > > Eli Zaretskii writes: > > > Indeed. This is a feature: > > Ah, so doing > > (modify-syntax-entry ?’ "w" text-mode-syntax-table) > (aset char-script-table ?’ 'latin) > > does let word motion skip over ’ as OP wanted. Yes. But I don't recommend such a "solution", because that would most probably bite elsewhere, when we do want that character behave as a symbol. > `(elisp) Word Motion' looks like a good place for it: Right, thanks. > The functions for parsing words described below use the syntax table > -to decide whether a given character is part of a word. @xref{Syntax > -Tables}. > +and @code{char-script-table} to decide whether a given character is > +part of a word. @xref{Syntax Tables} and @xref{Character Properties}. @xref generates a capitalized "See", so is inappropriate in the middle of a sentence. Please use "see @ref" instead. > +@code{find-word-boundary-function-table}, described below. Characters > +that belong to a different script (as defined by I'd say "belong to different scripts", otherwise the text begs the question "different from what?". > +@code{char-syntax-table}), also mark a word boundary (@pxref{Character "define a word boundary" sounds better to me. Othwrise, LGTM, thanks. Please push to emacs-25. From unknown Tue Jun 17 01:47:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Aug 2016 13:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com Received: via spool by 10494-submit@debbugs.gnu.org id=B10494.147109451310667 (code B ref 10494); Sat, 13 Aug 2016 13:22:01 +0000 Received: (at 10494) by debbugs.gnu.org; 13 Aug 2016 13:21:53 +0000 Received: from localhost ([127.0.0.1]:55816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYYsr-0002lz-7S for submit@debbugs.gnu.org; Sat, 13 Aug 2016 09:21:53 -0400 Received: from mail-io0-f169.google.com ([209.85.223.169]:34803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYYsp-0002li-DO for 10494@debbugs.gnu.org; Sat, 13 Aug 2016 09:21:51 -0400 Received: by mail-io0-f169.google.com with SMTP id q83so47385058iod.1 for <10494@debbugs.gnu.org>; Sat, 13 Aug 2016 06:21:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=gkWe0yjXHNmEf4tnBO94S/8ZveYNUETXZY75qzzJIeM=; b=ZRck9q0lpaXrEpRP1zZP9nJAWrTaYTpBp5BhTG43mAUng2AzmxnE8KRFS+X7OZxa4z tc9GHAsBD2z+jhnfrooapTdJtu9CtItGPub91pR7MJJyo9rr65JEFh48VvpujkWUkSya 1y6CHYkVyQIXiwRCLryRhyuGGiIMs5A9HSJyoT4Ro/29bxU6hMcJR0JkafpRRpymEFPu /rKApxsYm8AmZeBhpA9+JstqHjcYcCuzdnhDFTMqO4pryGxvSJzbnTNpYnvUUCzNzz6A E0JNTgpu4Oug1tb9F9Fqy4yA+BQXS+UxaXxBeOoulKx014z9aZBYvdNL9bwwLbaZUpTT jPOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=gkWe0yjXHNmEf4tnBO94S/8ZveYNUETXZY75qzzJIeM=; b=SQqGaiTv7Aq1Wdv+jnfl4CYS+GyEVcpmMtMsZgFGRTnK40btkuRFcs/wHD5g5JW+dS EoFkoEvdUxIaJXqL6fmbHvA2AK0cddotdc0jbONi3fiii+JLVwI4wOLVwGNmP4Lmlupr n7YMj/eWwwYeOdd0KcwfE+1yQlj2cQbG9QR+FuXGKuFg7DvOhzBzGWlEuhBWa3kE26k5 FocQpEL5TtqOo+jrmk3uIFII40zUFgw7FLVtj+Fz0OHVzrgiRdMDifFVJOBI+Z73RMSL +IPiU59QrJOSYbKEpxT73yVWylCxW+0rVVMloDcaJ7/B9yu/v6bLQd76dhtj6V4+YY6x 4u0A== X-Gm-Message-State: AEkooutP8tlwbq2rhYCB8EV0HIumhI827/+Fxn8aNA0G1zutq/8rFhPGN6IRi7Pjx2IKAw== X-Received: by 10.107.130.39 with SMTP id e39mr23146772iod.66.1471094505925; Sat, 13 Aug 2016 06:21:45 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id i80sm3134605ita.5.2016.08.13.06.21.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 13 Aug 2016 06:21:44 -0700 (PDT) From: npostavs@users.sourceforge.net References: <87wpjoxi5q.fsf@users.sourceforge.net> <83h9arfhw9.fsf@gnu.org> <87h9apy5ob.fsf@users.sourceforge.net> <83eg5tdume.fsf@gnu.org> Date: Sat, 13 Aug 2016 09:21:54 -0400 In-Reply-To: <83eg5tdume.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 13 Aug 2016 09:56:57 +0300") Message-ID: <87lh00x0r1.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: npostavs@users.sourceforge.net >> Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com >> Date: Fri, 12 Aug 2016 18:37:56 -0400 >>=20 >> Eli Zaretskii writes: >>=20 >> > Indeed. This is a feature: >>=20 >> Ah, so doing >>=20 >> (modify-syntax-entry ?=E2=80=99 "w" text-mode-syntax-table) >> (aset char-script-table ?=E2=80=99 'latin) >>=20 >> does let word motion skip over =E2=80=99 as OP wanted. > > Yes. But I don't recommend such a "solution", because that would most > probably bite elsewhere, when we do want that character behave as a > symbol. Sure, but it could be made local to text-mode: (modify-syntax-entry ?=E2=80=99 "w" text-mode-syntax-table) (defconst my-text-char-script-table (let ((table (copy-sequence char-script-table))) (aset table ?=E2=80=99 'latin) table)) (defun my-text-mode-hook () (set (make-local-variable 'char-script-table) my-text-char-script-table)) (add-hook 'text-mode-hook 'my-text-mode-hook) > >> `(elisp) Word Motion' looks like a good place for it: > > Right, thanks. > >> The functions for parsing words described below use the syntax table >> -to decide whether a given character is part of a word. @xref{Syntax >> -Tables}. >> +and @code{char-script-table} to decide whether a given character is >> +part of a word. @xref{Syntax Tables} and @xref{Character Properties}. > > @xref generates a capitalized "See", so is inappropriate in the middle > of a sentence. Please use "see @ref" instead. Uff, I find these multiple variants of reference very confusing, I also got a complaint from makeinfo that I was missing punctuation after the first @xref. Does it look okay now? (I made the other wording fixes too) --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=v2-0001-Document-char-script-table-s-effect-on-word-motio.patch Content-Description: patch v2 >From e18a6dc7be2aa245767d00ac69a0e13605fc4440 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Fri, 12 Aug 2016 18:33:17 -0400 Subject: [PATCH v2] Document char-script-table's effect on word motion * doc/lispref/positions.texi (Word Motion): Talk about char-script-table (Bug #10494). --- doc/lispref/positions.texi | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/doc/lispref/positions.texi b/doc/lispref/positions.texi index 1d748b8..b6133dc 100644 --- a/doc/lispref/positions.texi +++ b/doc/lispref/positions.texi @@ -192,8 +192,9 @@ Word Motion @subsection Motion by Words The functions for parsing words described below use the syntax table -to decide whether a given character is part of a word. @xref{Syntax -Tables}. +and @code{char-script-table} to decide whether a given character is +part of a word. @xref{Syntax Tables}, and see @ref{Character +Properties}. @deffn Command forward-word &optional count This function moves point forward @var{count} words (or backward if @@ -207,11 +208,13 @@ Word Motion that begin and end words, known as @dfn{word boundaries}, are defined by the current buffer's syntax table (@pxref{Syntax Class Table}), but modes can override that by setting up a suitable -@code{find-word-boundary-function-table}, described below. In any -case, this function cannot move point past the boundary of the -accessible portion of the buffer, or across a field boundary -(@pxref{Fields}). The most common case of a field boundary is the end -of the prompt in the minibuffer. +@code{find-word-boundary-function-table}, described below. Characters +that belong to different scripts (as defined by +@code{char-syntax-table}), also define a word boundary +(@pxref{Character Properties}). In any case, this function cannot +move point past the boundary of the accessible portion of the buffer, +or across a field boundary (@pxref{Fields}). The most common case of +a field boundary is the end of the prompt in the minibuffer. If it is possible to move @var{count} words, without being stopped prematurely by the buffer boundary or a field boundary, the value is -- 2.9.2 --=-=-=-- From unknown Tue Jun 17 01:47:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Aug 2016 13:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: npostavs@users.sourceforge.net Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com Reply-To: Eli Zaretskii Received: via spool by 10494-submit@debbugs.gnu.org id=B10494.147109521212009 (code B ref 10494); Sat, 13 Aug 2016 13:34:02 +0000 Received: (at 10494) by debbugs.gnu.org; 13 Aug 2016 13:33:32 +0000 Received: from localhost ([127.0.0.1]:55828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYZ47-00037d-Pl for submit@debbugs.gnu.org; Sat, 13 Aug 2016 09:33:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYZ45-00037Q-GZ for 10494@debbugs.gnu.org; Sat, 13 Aug 2016 09:33:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYZ3z-0002hM-9G for 10494@debbugs.gnu.org; Sat, 13 Aug 2016 09:33:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYZ3t-0002gE-QU; Sat, 13 Aug 2016 09:33:17 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1544 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bYZ3q-0001oP-FH; Sat, 13 Aug 2016 09:33:16 -0400 Date: Sat, 13 Aug 2016 16:33:03 +0300 Message-Id: <83vaz4dca8.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87lh00x0r1.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net) References: <87wpjoxi5q.fsf@users.sourceforge.net> <83h9arfhw9.fsf@gnu.org> <87h9apy5ob.fsf@users.sourceforge.net> <83eg5tdume.fsf@gnu.org> <87lh00x0r1.fsf@users.sourceforge.net> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.6 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) > From: npostavs@users.sourceforge.net > Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com > Date: Sat, 13 Aug 2016 09:21:54 -0400 > > >> (modify-syntax-entry ?’ "w" text-mode-syntax-table) > >> (aset char-script-table ?’ 'latin) > >> > >> does let word motion skip over ’ as OP wanted. > > > > Yes. But I don't recommend such a "solution", because that would most > > probably bite elsewhere, when we do want that character behave as a > > symbol. > > Sure, but it could be made local to text-mode: > > (modify-syntax-entry ?’ "w" text-mode-syntax-table) > (defconst my-text-char-script-table > (let ((table (copy-sequence char-script-table))) > (aset table ?’ 'latin) > table)) > > (defun my-text-mode-hook () > (set (make-local-variable 'char-script-table) > my-text-char-script-table)) > (add-hook 'text-mode-hook 'my-text-mode-hook) Are you sure nothing in text-mode will ever want to use \s_ in any regexp? > > @xref generates a capitalized "See", so is inappropriate in the middle > > of a sentence. Please use "see @ref" instead. > > Uff, I find these multiple variants of reference very confusing, I also > got a complaint from makeinfo that I was missing punctuation after the > first @xref. Does it look okay now? (I made the other wording fixes > too) Yes, looks good, thanks. From unknown Tue Jun 17 01:47:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Aug 2016 14:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com Received: via spool by 10494-submit@debbugs.gnu.org id=B10494.147109797216803 (code B ref 10494); Sat, 13 Aug 2016 14:20:02 +0000 Received: (at 10494) by debbugs.gnu.org; 13 Aug 2016 14:19:32 +0000 Received: from localhost ([127.0.0.1]:56494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYZme-0004Mw-KM for submit@debbugs.gnu.org; Sat, 13 Aug 2016 10:19:32 -0400 Received: from mail-it0-f42.google.com ([209.85.214.42]:38486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYZmd-0004Ml-Ey for 10494@debbugs.gnu.org; Sat, 13 Aug 2016 10:19:31 -0400 Received: by mail-it0-f42.google.com with SMTP id i186so6339429itf.1 for <10494@debbugs.gnu.org>; Sat, 13 Aug 2016 07:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=z5eLo2B37eMLyC+DqyqFDSqZqzhg3rOh24OWzUEtTZE=; b=U7zjpgGLK9M9HPIC0PnjzU3N5CAVq8t9TwTKPxMqwEWzV7oAvzZeoYSmygZTV7+1mK bb0Uq6dmEWwcp8Xs6GJQWnOn0OyNkDoHhpeKJHnEiw5pnZ4rZLCJ7iKwwX+KPWAK+qPn CnQLzoOTZ7sFRkx6lJtt0S87XQ9Xw6ypgMHfj2WsCvbP0AigUQFlBJjwEc79548i4q4l fGYjCjc5/TfRLP1mq3aL1pNV+XvgKnvkrp5Cd07wYf/Xk/a40PY8dguuVU1A8/G78uwI eE6A5sX9Lz7xT803dOTUPpIqXk1O4802a/eu5dTT0fvu1fc5D7DYSw6eKd0QHdvnu/2A PyRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=z5eLo2B37eMLyC+DqyqFDSqZqzhg3rOh24OWzUEtTZE=; b=JnUG0PSpE0mRNZJhLJY6pK9yCgI3w5aEKc+LZkVYe/V9PZ0GETttDJg0P8xzsz9NFW 6lFs+p+fqbxUL8CJt9uT8UtXKgo5dHoDJ9Sc+mF+vT1QwiuU8D+hz5f/NV73n1dHie4N G6j3NYbSCgGzpCmGN5nMkVEZdK5fl4oSpxUeudlQ7pEu4e4nvrGjnpdd6noV5+iaTQ0Q B4aUeHtNW+t2wNSakDvxz6ksiNT2MUm1QZhsMFlm6Fj9zMl7H8bpYbQ400S9KN8VqIR9 gOJFRGxHMHCp7HvaYzr9slF28pQZcWS5iKR0WQkXcaxSych/Gm26K0YY758HVqFWlVtn Pkvg== X-Gm-Message-State: AEkooutmWem2Q167Af0zb5011JddDUIWpOdQcXiPbcaGoC6fOHlwRtdZULc6K9SHTCHSTA== X-Received: by 10.36.64.151 with SMTP id n145mr4583889ita.10.1471097965884; Sat, 13 Aug 2016 07:19:25 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id x13sm3208885ite.1.2016.08.13.07.19.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 13 Aug 2016 07:19:25 -0700 (PDT) From: npostavs@users.sourceforge.net References: <87wpjoxi5q.fsf@users.sourceforge.net> <83h9arfhw9.fsf@gnu.org> <87h9apy5ob.fsf@users.sourceforge.net> <83eg5tdume.fsf@gnu.org> <87lh00x0r1.fsf@users.sourceforge.net> <83vaz4dca8.fsf@gnu.org> Date: Sat, 13 Aug 2016 10:19:34 -0400 In-Reply-To: <83vaz4dca8.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 13 Aug 2016 16:33:03 +0300") Message-ID: <87inv4wy2x.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> From: npostavs@users.sourceforge.net >> Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com >> Date: Sat, 13 Aug 2016 09:21:54 -0400 >>=20 >> >> (modify-syntax-entry ?=E2=80=99 "w" text-mode-syntax-table) >> >> (aset char-script-table ?=E2=80=99 'latin) >> >>=20 >> >> does let word motion skip over =E2=80=99 as OP wanted. >> > >> > Yes. But I don't recommend such a "solution", because that would most >> > probably bite elsewhere, when we do want that character behave as a >> > symbol. >>=20 >> Sure, but it could be made local to text-mode: >>=20 >> (modify-syntax-entry ?=E2=80=99 "w" text-mode-syntax-table) >> (defconst my-text-char-script-table >> (let ((table (copy-sequence char-script-table))) >> (aset table ?=E2=80=99 'latin) >> table)) >>=20 >> (defun my-text-mode-hook () >> (set (make-local-variable 'char-script-table) >> my-text-char-script-table)) >> (add-hook 'text-mode-hook 'my-text-mode-hook) > > Are you sure nothing in text-mode will ever want to use \s_ in any > regexp? Did you mean \> (word boundary) or \s. (punctation)? \s_ doesn't match =E2=80=99 regardless because its syntax class is punctuation, not symbol. If the user wants =E2=80=99 to be part of a word, then surely it's correct = for regexps to treat it as such. > >> > @xref generates a capitalized "See", so is inappropriate in the middle >> > of a sentence. Please use "see @ref" instead. >>=20 >> Uff, I find these multiple variants of reference very confusing, I also >> got a complaint from makeinfo that I was missing punctuation after the >> first @xref. Does it look okay now? (I made the other wording fixes >> too) > > Yes, looks good, thanks. Pushed as 8342e748 From unknown Tue Jun 17 01:47:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Aug 2016 14:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: npostavs@users.sourceforge.net Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com Reply-To: Eli Zaretskii Received: via spool by 10494-submit@debbugs.gnu.org id=B10494.147109872818027 (code B ref 10494); Sat, 13 Aug 2016 14:33:02 +0000 Received: (at 10494) by debbugs.gnu.org; 13 Aug 2016 14:32:08 +0000 Received: from localhost ([127.0.0.1]:56498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYZyp-0004gg-Pu for submit@debbugs.gnu.org; Sat, 13 Aug 2016 10:32:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYZyo-0004gD-3l for 10494@debbugs.gnu.org; Sat, 13 Aug 2016 10:32:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYZyh-0005De-VF for 10494@debbugs.gnu.org; Sat, 13 Aug 2016 10:32:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYZye-0005Co-3j; Sat, 13 Aug 2016 10:31:56 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1614 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bYZyc-0007Yy-1a; Sat, 13 Aug 2016 10:31:54 -0400 Date: Sat, 13 Aug 2016 17:31:48 +0300 Message-Id: <83shu8d9kb.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87inv4wy2x.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net) References: <87wpjoxi5q.fsf@users.sourceforge.net> <83h9arfhw9.fsf@gnu.org> <87h9apy5ob.fsf@users.sourceforge.net> <83eg5tdume.fsf@gnu.org> <87lh00x0r1.fsf@users.sourceforge.net> <83vaz4dca8.fsf@gnu.org> <87inv4wy2x.fsf@users.sourceforge.net> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.6 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) > From: npostavs@users.sourceforge.net > Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com > Date: Sat, 13 Aug 2016 10:19:34 -0400 > > >> (modify-syntax-entry ?’ "w" text-mode-syntax-table) > >> (defconst my-text-char-script-table > >> (let ((table (copy-sequence char-script-table))) > >> (aset table ?’ 'latin) > >> table)) > >> > >> (defun my-text-mode-hook () > >> (set (make-local-variable 'char-script-table) > >> my-text-char-script-table)) > >> (add-hook 'text-mode-hook 'my-text-mode-hook) > > > > Are you sure nothing in text-mode will ever want to use \s_ in any > > regexp? > > Did you mean \> (word boundary) or \s. (punctation)? \s_ doesn't match > ’ regardless because its syntax class is punctuation, not symbol. Sorry, I guess I was thinking of \cl. It will not match ’, although it might be expected. Anyway, my point is that these char-tables should really be treated as read-only by Lisp applications. > Pushed as 8342e748 Thanks. From unknown Tue Jun 17 01:47:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Aug 2016 14:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: npostavs@users.sourceforge.net Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com Reply-To: Eli Zaretskii Received: via spool by 10494-submit@debbugs.gnu.org id=B10494.147110013820037 (code B ref 10494); Sat, 13 Aug 2016 14:56:01 +0000 Received: (at 10494) by debbugs.gnu.org; 13 Aug 2016 14:55:38 +0000 Received: from localhost ([127.0.0.1]:56503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYaLZ-0005D7-RL for submit@debbugs.gnu.org; Sat, 13 Aug 2016 10:55:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYaLY-0005Cv-DJ for 10494@debbugs.gnu.org; Sat, 13 Aug 2016 10:55:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYaLS-0000fs-5A for 10494@debbugs.gnu.org; Sat, 13 Aug 2016 10:55:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34496) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYaLN-0000fN-4j; Sat, 13 Aug 2016 10:55:25 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1678 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bYaLK-0006Jl-S4; Sat, 13 Aug 2016 10:55:23 -0400 Date: Sat, 13 Aug 2016 17:55:14 +0300 Message-Id: <83r39sd8h9.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <83shu8d9kb.fsf@gnu.org> (message from Eli Zaretskii on Sat, 13 Aug 2016 17:31:48 +0300) References: <87wpjoxi5q.fsf@users.sourceforge.net> <83h9arfhw9.fsf@gnu.org> <87h9apy5ob.fsf@users.sourceforge.net> <83eg5tdume.fsf@gnu.org> <87lh00x0r1.fsf@users.sourceforge.net> <83vaz4dca8.fsf@gnu.org> <87inv4wy2x.fsf@users.sourceforge.net> <83shu8d9kb.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.6 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) > Date: Sat, 13 Aug 2016 17:31:48 +0300 > From: Eli Zaretskii > Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com > > > From: npostavs@users.sourceforge.net > > Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com > > Date: Sat, 13 Aug 2016 10:19:34 -0400 > > > > >> (modify-syntax-entry ?’ "w" text-mode-syntax-table) > > >> (defconst my-text-char-script-table > > >> (let ((table (copy-sequence char-script-table))) > > >> (aset table ?’ 'latin) > > >> table)) > > >> > > >> (defun my-text-mode-hook () > > >> (set (make-local-variable 'char-script-table) > > >> my-text-char-script-table)) > > >> (add-hook 'text-mode-hook 'my-text-mode-hook) > > > > > > Are you sure nothing in text-mode will ever want to use \s_ in any > > > regexp? > > > > Did you mean \> (word boundary) or \s. (punctation)? \s_ doesn't match > > ’ regardless because its syntax class is punctuation, not symbol. > > Sorry, I guess I was thinking of \cl. It will not match ’, although > it might be expected. > > Anyway, my point is that these char-tables should really be treated as > read-only by Lisp applications. Btw, some believe that using ’ as an apostrophe is wrong. They say U+02BC should be used instead; see, for example, this discussion: http://www.unicode.org/mail-arch/unicode-ml/y2015-m06/0047.html That character already is word-constituent. From unknown Tue Jun 17 01:47:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Aug 2016 18:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com Received: via spool by 10494-submit@debbugs.gnu.org id=B10494.14711120905636 (code B ref 10494); Sat, 13 Aug 2016 18:15:02 +0000 Received: (at 10494) by debbugs.gnu.org; 13 Aug 2016 18:14:50 +0000 Received: from localhost ([127.0.0.1]:56570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYdSL-0001Sl-Pj for submit@debbugs.gnu.org; Sat, 13 Aug 2016 14:14:49 -0400 Received: from mail-qk0-f170.google.com ([209.85.220.170]:35291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYdSI-0001SR-HO; Sat, 13 Aug 2016 14:14:48 -0400 Received: by mail-qk0-f170.google.com with SMTP id v123so13928243qkh.2; Sat, 13 Aug 2016 11:14:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=BQYUtkdS4yKcYHLe6khNZvIO632u831zysBWjFbKSKc=; b=avYSeZ3H23tbxqQJPW/Zb7RBzc6RmQpKzuXb3Y2jrOFqMvkpDTW3EBNMN38KVKWJ95 3OewN04EcNKKJ6s6jKhyGvWqMWVpnyWfhlFCDMhvSr4ltKF4HxqDEMQwDrWdHs+0QNRQ pJfVB8kSsvhJvPBghGCmFDE4OqrmPJGHR5S9W5fvWAew64DL3tjXsrJtH/Gr+/MnqV7Z K/OrnotMVesWSwGJNjXv7aFD7bDVAm2OeTenFGfy5Im936cK3ZmSeqKXFfCtsqgN4cHs uEEphYCsHArMXkbAJzOFBruFNT+IdH6jEDxrQZWly+bdpCbHVXXNCwMHFNZcpgUxtaCw ZCcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=BQYUtkdS4yKcYHLe6khNZvIO632u831zysBWjFbKSKc=; b=WfkNbnh50CPLaapJ3O6/YzqJmUEgE8w67CGSQ4fsg/znEFWNqfJaACuZ9WjUROcUBj xBbNKl7yWf3OlUxGWZPJM3L0T8nRVOXsrlWySksmgJAfhKWMV84jm4ENZSICXbMI07h3 hkOJZT8AHtE6p7UHWrZThLdqUmupF91MAQIjIWvr6ECKl3DH+QcYLwR8btHHD1D8U47H znNG4keFrqa0LrjtOGDUVB8vGkCT0cXrqn94Uza+R/v/XB2HnLt4QG6Gx6AVKf/zXczY Sm2a5Y9YU3wkP1mQShmHndujqwC9vvfr4ngXLGiQ6u/SLHLrnfuVj09FxKMJsc8ceK39 zYcQ== X-Gm-Message-State: AEkooutYa3t2iVTSO0G0oODsEyk8NOSMCRqGz1i5mdfwfDmu56Xj4WO2JDKAjCQBW6cLHg== X-Received: by 10.55.88.68 with SMTP id m65mr25129711qkb.89.1471112081026; Sat, 13 Aug 2016 11:14:41 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id m62sm6503686qke.13.2016.08.13.11.14.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 13 Aug 2016 11:14:40 -0700 (PDT) From: npostavs@users.sourceforge.net References: <87wpjoxi5q.fsf@users.sourceforge.net> <83h9arfhw9.fsf@gnu.org> <87h9apy5ob.fsf@users.sourceforge.net> <83eg5tdume.fsf@gnu.org> <87lh00x0r1.fsf@users.sourceforge.net> <83vaz4dca8.fsf@gnu.org> <87inv4wy2x.fsf@users.sourceforge.net> <83shu8d9kb.fsf@gnu.org> Date: Sat, 13 Aug 2016 14:14:49 -0400 In-Reply-To: <83shu8d9kb.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 13 Aug 2016 17:31:48 +0300") Message-ID: <87fuq8wn6u.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> From: npostavs@users.sourceforge.net >> Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com >> Date: Sat, 13 Aug 2016 10:19:34 -0400 >>=20 >> >> (modify-syntax-entry ?=E2=80=99 "w" text-mode-syntax-table) >> >> (defconst my-text-char-script-table >> >> (let ((table (copy-sequence char-script-table))) >> >> (aset table ?=E2=80=99 'latin) >> >> table)) >> >>=20 >> >> (defun my-text-mode-hook () >> >> (set (make-local-variable 'char-script-table) >> >> my-text-char-script-table)) >> >> (add-hook 'text-mode-hook 'my-text-mode-hook) >> > >> > Are you sure nothing in text-mode will ever want to use \s_ in any >> > regexp? >>=20 >> Did you mean \> (word boundary) or \s. (punctation)? \s_ doesn't match >> =E2=80=99 regardless because its syntax class is punctuation, not symbol. > > Sorry, I guess I was thinking of \cl. It will not match =E2=80=99, altho= ugh > it might be expected. Which could be fixed by (modify-category-entry ?=E2=80=99 ?l). I would suggest this additional docstring patch, because I was confused at first as to what CATEGORY was supposed to be (I looked around a bit for how to create some kind of "category object"): diff --git i/src/category.c w/src/category.c index 4397f66..31ac2ec 100644 --- i/src/category.c +++ w/src/category.c @@ -336,6 +336,7 @@ DEFUN ("modify-category-entry", Fmodify_category_entry, the current buffer's category table. CHARACTER can be either a single character or a cons representing the lower and upper ends of an inclusive character range to modify. +CATEGORY must be a category name (a character between ` ' and `~'). If optional fourth argument RESET is non-nil, then delete CATEGORY from the category set instead of adding it. */) (Lisp_Object character, Lisp_Object category, Lisp_Object table, Lisp_Ob= ject reset) > > Anyway, my point is that these char-tables should really be treated as > read-only by Lisp applications. Right, but I think this bug is about the user modifying stuff. From unknown Tue Jun 17 01:47:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Aug 2016 18:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: npostavs@users.sourceforge.net Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com Reply-To: Eli Zaretskii Received: via spool by 10494-submit@debbugs.gnu.org id=B10494.147111334613679 (code B ref 10494); Sat, 13 Aug 2016 18:36:02 +0000 Received: (at 10494) by debbugs.gnu.org; 13 Aug 2016 18:35:46 +0000 Received: from localhost ([127.0.0.1]:56578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYdmc-0003YY-IL for submit@debbugs.gnu.org; Sat, 13 Aug 2016 14:35:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYdma-0003YL-NT for 10494@debbugs.gnu.org; Sat, 13 Aug 2016 14:35:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYdmU-00060P-84 for 10494@debbugs.gnu.org; Sat, 13 Aug 2016 14:35:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYdmO-000609-GI; Sat, 13 Aug 2016 14:35:32 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1863 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bYdmL-0003GA-AN; Sat, 13 Aug 2016 14:35:30 -0400 Date: Sat, 13 Aug 2016 21:35:23 +0300 Message-Id: <83lh00cyac.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87fuq8wn6u.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net) References: <87wpjoxi5q.fsf@users.sourceforge.net> <83h9arfhw9.fsf@gnu.org> <87h9apy5ob.fsf@users.sourceforge.net> <83eg5tdume.fsf@gnu.org> <87lh00x0r1.fsf@users.sourceforge.net> <83vaz4dca8.fsf@gnu.org> <87inv4wy2x.fsf@users.sourceforge.net> <83shu8d9kb.fsf@gnu.org> <87fuq8wn6u.fsf@users.sourceforge.net> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.6 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) > From: npostavs@users.sourceforge.net > Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com > Date: Sat, 13 Aug 2016 14:14:49 -0400 > > > Sorry, I guess I was thinking of \cl. It will not match ’, although > > it might be expected. > > Which could be fixed by (modify-category-entry ?’ ?l). This is Emacs, right? But the fact that you can do this doesn't yet mean you should want to, or that we should encourage it. > I would suggest this additional docstring patch, because I was confused > at first as to what CATEGORY was supposed to be (I looked around a bit > for how to create some kind of "category object"): > > diff --git i/src/category.c w/src/category.c > index 4397f66..31ac2ec 100644 > --- i/src/category.c > +++ w/src/category.c > @@ -336,6 +336,7 @@ DEFUN ("modify-category-entry", Fmodify_category_entry, > the current buffer's category table. > CHARACTER can be either a single character or a cons representing the > lower and upper ends of an inclusive character range to modify. > +CATEGORY must be a category name (a character between ` ' and `~'). > If optional fourth argument RESET is non-nil, > then delete CATEGORY from the category set instead of adding it. */) > (Lisp_Object character, Lisp_Object category, Lisp_Object table, Lisp_Object reset) How about mentioning describe-categories as well? > > Anyway, my point is that these char-tables should really be treated as > > read-only by Lisp applications. > > Right, but I think this bug is about the user modifying stuff. Which is even less recommendable, IMO. How many users really understand the implications? From unknown Tue Jun 17 01:47:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Aug 2016 21:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com Received: via spool by 10494-submit@debbugs.gnu.org id=B10494.14711245223762 (code B ref 10494); Sat, 13 Aug 2016 21:42:02 +0000 Received: (at 10494) by debbugs.gnu.org; 13 Aug 2016 21:42:02 +0000 Received: from localhost ([127.0.0.1]:56606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYggr-0000yZ-Ko for submit@debbugs.gnu.org; Sat, 13 Aug 2016 17:42:01 -0400 Received: from mail-it0-f48.google.com ([209.85.214.48]:36231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYggq-0000yK-5L for 10494@debbugs.gnu.org; Sat, 13 Aug 2016 17:42:00 -0400 Received: by mail-it0-f48.google.com with SMTP id c13so1529760ith.1 for <10494@debbugs.gnu.org>; Sat, 13 Aug 2016 14:42:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=on2C43n0fu2KomYLIQ17OG4OrvuSE0wjCe1IFtzUgN0=; b=Q3E0InMNEjdlTrXLos3U9t0BnL9A4wHZK+A1Yu7AkkFi/2E6Vqr88WqJS8ybCiXE+c IOKCX80xlmtRTJ9KIaz/DHtZPHRHoxwhJt4wevrvIhVMm/4UypxpCd6s7uU/AwUz9E/B YbQ8KYZwGoMiXnPNzWfqfPeVNJswO/8BSs0sttc1iNmT7yoUgDGFcSx0XrTP32mo/wO7 m8EhkfTToYZwrS8R+K+B6bTzBSr+R4PvViVNCl+LcpXyVHM6q/fNKUKH+utwsbuwl61j 7SgdbBeMvQF6oY+Em2MdreHoFz9DbJJDfqOlL+9OU5pJPaUO77JN59qTHB9Terkle0nc 38RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=on2C43n0fu2KomYLIQ17OG4OrvuSE0wjCe1IFtzUgN0=; b=iRui6bAfP27DFf/4/L0DT+7AwrucVB4LZKKj+4KM6RkwKnrSbD9eFYNsi47ypHvCR2 F6nDmzOiHOGONa368bD5Of0bpgW/bMcIp/H4V2NDwMY76a7cvL4j7hCAp2ZBzNlvqokg PUVUz2C9Kli44UF0sqm5rE9Bt5iOex7pHSA6cpGrsjSkYhRSLzdnsaMXfqEKx/KiW/p/ tgZHuWA1sOLKrv87dBlxok3Wys4NyEGWaRxdv+Q2YyxM0ilMXHzsbu4Gkh/BgbMZmG0I lSczvnwxbNs0bvRAx+eyalSDiWhNBkzZeQfAOo28bLj4biXqocRQBLZ8zWN2sUcCLwLV bpEg== X-Gm-Message-State: AEkoouvhd+cFCWtOnTqWDMdROUa7VirUm1KTAGRIFtlfUZQ7TxqqUueZX/oAcrow+ODXTg== X-Received: by 10.36.13.74 with SMTP id 71mr5850773itx.69.1471124514516; Sat, 13 Aug 2016 14:41:54 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id f126sm3952596ith.7.2016.08.13.14.41.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 13 Aug 2016 14:41:53 -0700 (PDT) From: npostavs@users.sourceforge.net References: <87wpjoxi5q.fsf@users.sourceforge.net> <83h9arfhw9.fsf@gnu.org> <87h9apy5ob.fsf@users.sourceforge.net> <83eg5tdume.fsf@gnu.org> <87lh00x0r1.fsf@users.sourceforge.net> <83vaz4dca8.fsf@gnu.org> <87inv4wy2x.fsf@users.sourceforge.net> <83shu8d9kb.fsf@gnu.org> <87fuq8wn6u.fsf@users.sourceforge.net> <83lh00cyac.fsf@gnu.org> Date: Sat, 13 Aug 2016 17:42:03 -0400 In-Reply-To: <83lh00cyac.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 13 Aug 2016 21:35:23 +0300") Message-ID: <87d1lcwdlg.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: > > How about mentioning describe-categories as well? Okay, so: diff --git i/src/category.c w/src/category.c index 4397f66..8315797 100644 --- i/src/category.c +++ w/src/category.c @@ -336,6 +336,8 @@ DEFUN ("modify-category-entry", Fmodify_category_entry, the current buffer's category table. CHARACTER can be either a single character or a cons representing the lower and upper ends of an inclusive character range to modify. +CATEGORY must be a category name (a character between ` ' and `~'). +Use `describe-categories' to see existing category names. If optional fourth argument RESET is non-nil, then delete CATEGORY from the category set instead of adding it. */) (Lisp_Object character, Lisp_Object category, Lisp_Object table, Lisp_Object reset) > >> > Anyway, my point is that these char-tables should really be treated as >> > read-only by Lisp applications. >> >> Right, but I think this bug is about the user modifying stuff. > > Which is even less recommendable, IMO. How many users really > understand the implications? Well, they might find what the implications are by trying it :) Anyway, do you think there is anything else to do about this bug? From unknown Tue Jun 17 01:47:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Aug 2016 02:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: npostavs@users.sourceforge.net Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com Reply-To: Eli Zaretskii Received: via spool by 10494-submit@debbugs.gnu.org id=B10494.147114195431898 (code B ref 10494); Sun, 14 Aug 2016 02:33:01 +0000 Received: (at 10494) by debbugs.gnu.org; 14 Aug 2016 02:32:34 +0000 Received: from localhost ([127.0.0.1]:56661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYlE2-0008IP-5J for submit@debbugs.gnu.org; Sat, 13 Aug 2016 22:32:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50033) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYlE0-0008IB-Le for 10494@debbugs.gnu.org; Sat, 13 Aug 2016 22:32:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYlDu-0007BH-Fc for 10494@debbugs.gnu.org; Sat, 13 Aug 2016 22:32:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYlDp-0007A1-Tt; Sat, 13 Aug 2016 22:32:21 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2122 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bYlDn-0002ut-T3; Sat, 13 Aug 2016 22:32:20 -0400 Date: Sun, 14 Aug 2016 05:32:15 +0300 Message-Id: <83k2fkcc7k.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87d1lcwdlg.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net) References: <87wpjoxi5q.fsf@users.sourceforge.net> <83h9arfhw9.fsf@gnu.org> <87h9apy5ob.fsf@users.sourceforge.net> <83eg5tdume.fsf@gnu.org> <87lh00x0r1.fsf@users.sourceforge.net> <83vaz4dca8.fsf@gnu.org> <87inv4wy2x.fsf@users.sourceforge.net> <83shu8d9kb.fsf@gnu.org> <87fuq8wn6u.fsf@users.sourceforge.net> <83lh00cyac.fsf@gnu.org> <87d1lcwdlg.fsf@users.sourceforge.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.6 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) > From: npostavs@users.sourceforge.net > Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com > Date: Sat, 13 Aug 2016 17:42:03 -0400 > > Eli Zaretskii writes: > > > > How about mentioning describe-categories as well? > > Okay, so: > > diff --git i/src/category.c w/src/category.c > index 4397f66..8315797 100644 > --- i/src/category.c > +++ w/src/category.c > @@ -336,6 +336,8 @@ DEFUN ("modify-category-entry", Fmodify_category_entry, > the current buffer's category table. > CHARACTER can be either a single character or a cons representing the > lower and upper ends of an inclusive character range to modify. > +CATEGORY must be a category name (a character between ` ' and `~'). > +Use `describe-categories' to see existing category names. > If optional fourth argument RESET is non-nil, > then delete CATEGORY from the category set instead of adding it. */) > (Lisp_Object character, Lisp_Object category, Lisp_Object table, Lisp_Object reset) LGTM, thanks. > Anyway, do you think there is anything else to do about this bug? Not that I can see, no. From unknown Tue Jun 17 01:47:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Aug 2016 02:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 10494@debbugs.gnu.org, aaronecay@gmail.com Received: via spool by 10494-submit@debbugs.gnu.org id=B10494.14711435288236 (code B ref 10494); Sun, 14 Aug 2016 02:59:01 +0000 Received: (at 10494) by debbugs.gnu.org; 14 Aug 2016 02:58:48 +0000 Received: from localhost ([127.0.0.1]:56688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYldQ-00028h-5q for submit@debbugs.gnu.org; Sat, 13 Aug 2016 22:58:48 -0400 Received: from mail-io0-f170.google.com ([209.85.223.170]:36826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYldO-00028P-NF; Sat, 13 Aug 2016 22:58:47 -0400 Received: by mail-io0-f170.google.com with SMTP id b62so56048717iod.3; Sat, 13 Aug 2016 19:58:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=a3hX4vAeUXSOSuU+w5MYrQobYmdKhWVZXKquIJzh47I=; b=PRHn3JCfG7I9o3n8Ya450XykpVkRTRzK6pUF9rwA1jece6Ge6rK+jbJt+U8g0jSS2+ 7QNzqh3Q+3hryX8so6c+m2J1fRVJQAi2uIzuVYxjelq6zcBnLPSooCAlMt29WDQcMhn5 oH3e7XG2D2/oWXVYb0miba67MXw9ZZv8wZn6dv2GD9YwQVH6tZLz2wVoC8qFN2tBBBxx Qx+RWDkGAk3NuSGneHuIWGnbhCQJVNoKJLhBw755lTgxsKfk6bZ+E2OB1W4RZATBeg2p sPqMByTqqTDHHrh4R27TkXboz6BmXxhtPFA9ovl4MgX5cWbTss1VrAdM3jKzXsPjg2qU 2uSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=a3hX4vAeUXSOSuU+w5MYrQobYmdKhWVZXKquIJzh47I=; b=K9J7rhr1DfvFUxo7+XFU17gSvFJhP2hz8NT3Ir0ktpD++FgX+VkJNiz7xBfcmHNZV+ etaRrmSskSfYkhiNnQXqq/gY/HbmMORGL3vhWdzhg9Ze+YF58lvaT9nyoRaTgaB0rPGk piSTlMmvuQ+CNad/8/IfzFIwv/+K9OTGfbYdoaz23WCcp7O6Sh1ngf27bvKJnFuYcDcB lKLtAFC9VYZ9Bi+oZL4qJMaeotByPB9wLrcs47uM0miR1uQziOF1pvXq18Tb0lNoA3t8 57TpQ2KFdDtxkNupUyqzuePAhhyzHZ5yO8q5FvhJsQMujiCJ4fWqVpfFZSfWkFDHVkea 7K4w== X-Gm-Message-State: AEkoouufWYt3RtLKN/JMmZZy6Uvp6NHrZgIJu4w+1Dp9FI4+Z8U1r8SyUiVqKYclA1FiMA== X-Received: by 10.107.152.149 with SMTP id a143mr26028919ioe.193.1471143521199; Sat, 13 Aug 2016 19:58:41 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id o184sm4481965ith.2.2016.08.13.19.58.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 13 Aug 2016 19:58:40 -0700 (PDT) From: npostavs@users.sourceforge.net References: <87wpjoxi5q.fsf@users.sourceforge.net> <83h9arfhw9.fsf@gnu.org> <87h9apy5ob.fsf@users.sourceforge.net> <83eg5tdume.fsf@gnu.org> <87lh00x0r1.fsf@users.sourceforge.net> <83vaz4dca8.fsf@gnu.org> <87inv4wy2x.fsf@users.sourceforge.net> <83shu8d9kb.fsf@gnu.org> <87fuq8wn6u.fsf@users.sourceforge.net> <83lh00cyac.fsf@gnu.org> <87d1lcwdlg.fsf@users.sourceforge.net> <83k2fkcc7k.fsf@gnu.org> Date: Sat, 13 Aug 2016 22:58:48 -0400 In-Reply-To: <83k2fkcc7k.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 14 Aug 2016 05:32:15 +0300") Message-ID: <871t1svyxj.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tags 10494 notabug close 10494 quit Eli Zaretskii writes: > > LGTM, thanks. Pushed as 8d681476 "Document CATEGORY arg to modify-category-entry" > >> Anyway, do you think there is anything else to do about this bug? > > Not that I can see, no. Okay, I'm closing it. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 13 21:11:27 2018 Received: (at control) by debbugs.gnu.org; 14 Mar 2018 01:11:27 +0000 Received: from localhost ([127.0.0.1]:60182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evuwx-0007ZV-Ln for submit@debbugs.gnu.org; Tue, 13 Mar 2018 21:11:27 -0400 Received: from mail-io0-f177.google.com ([209.85.223.177]:36000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evuww-0007ZD-EU; Tue, 13 Mar 2018 21:11:26 -0400 Received: by mail-io0-f177.google.com with SMTP id e30so2369102ioc.3; Tue, 13 Mar 2018 18:11:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=ZSnZYRn1adyAhTDmQSjF9hzwzC7hXzksXewOd96c/VU=; b=klGS3Z9/LVWBhjKfGD20uV+gIn7A3wfg1pR2m9HKlD1vnlgZ3rTs/RDOXBa5DmhpMk I4Bfqo4WjsV2HNjglsVwmFxWPa2MbQHku6qbBI0HekEymaAMgvKS/sggMyjHnv0YT0HY sTiYsIzIK/clGYX204jtDzZKTwk863nLcv3ELNBzDLq6YlfCOLcaZLtLVwXtFl+fSUoy mJc83Z/EomDyouSmbYnKAJig5hM+J6BETEATyVviUPpVYAD6roJ+9hVr6yGIkcuzmg91 Pf0HkBZm94VC+C9PiG6dXMC7IhWEnAnjwOqBwX5WAjskDvfdX88spoUKtJ6lXhDDUP1B 2G1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=ZSnZYRn1adyAhTDmQSjF9hzwzC7hXzksXewOd96c/VU=; b=hEv6BeG7JwQsOxTEcGHR5KJ01bj41SxKGukCUucIvIabvk8V0fHna1qMXuStdRwBCA 4D9FG9QjUX6l4hdtg5ZEwAVHYcs4b9VMrj8FcqNji+HMrIbwCMglbooqKkBvrbznZN78 vsCxxQkNCbuTE3fmOrqiv1JOuZDhhywo0wxN8fDIB97g4beQl9xB4RIQPtY/U8EFgMTd quGAxxJHZPMvkYxdeyvA2XbymogAQwLqMX9cIjoHgpb9SACJ8CYjxHDYlEJUUWG+fw/K AVh5QMZs44NWmmnfp3xZWR6DINvXzAu54JJhydgutgo4OZD6fW7+PA6Ez0KZasOsDrqa /c7Q== X-Gm-Message-State: AElRT7GjT3XNDt7H8F7T1lLM/qWOQ8c9CeY7g4Vck4agdxp5Cr7N5uNh EXOJfRPSGEJh3iuUuSZ1Fchwsg== X-Google-Smtp-Source: AG47ELuMSr3SRCH4hGpASezjaXDVATX68Mgzq1OuCKwAE5IejLoaFJS+BBUXVkWA5yekuHcjaiCl6A== X-Received: by 10.107.213.5 with SMTP id m5mr3114015iog.62.1520989880849; Tue, 13 Mar 2018 18:11:20 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id v134-v6sm48650ith.27.2018.03.13.18.11.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Mar 2018 18:11:20 -0700 (PDT) From: Noam Postavsky To: Aaron Jensen Subject: Re: bug#30815: 26.0.91; unicode right single quote mark with syntax entry of w not respected by forward-word References: Date: Tue, 13 Mar 2018 21:11:19 -0400 In-Reply-To: (Aaron Jensen's message of "Tue, 13 Mar 2018 17:14:48 -0700") Message-ID: <87fu53xxzc.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control Cc: 30815@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) unarchive 10494 close 30815 merge 30815 10494 quit Aaron Jensen 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 ?=E2=80=99 "w" text-mode-syntax-table) > 3. Type (note the unicode =E2=80=99): doesn=E2=80=99t > 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 =E2=80=99 instead of bypassing it. Compare it to = doing > the same thing with ?_. > > Expected behavior: > > =E2=80=99 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... From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 13 21:45:58 2018 Received: (at control) by debbugs.gnu.org; 14 Mar 2018 01:45:58 +0000 Received: from localhost ([127.0.0.1]:60211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evvUM-000249-7Y for submit@debbugs.gnu.org; Tue, 13 Mar 2018 21:45:58 -0400 Received: from mail-io0-f179.google.com ([209.85.223.179]:41935) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evvUK-00023t-N0; Tue, 13 Mar 2018 21:45:57 -0400 Received: by mail-io0-f179.google.com with SMTP id m83so2423174ioi.8; Tue, 13 Mar 2018 18:45:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=DVGlUtkXqljT53vJ2CbDoK39HrqaE/v1p9zzhIWeEfc=; b=P18BZ+FiA0RC5FUS0U+0lAXHabheo9wxPBk2Sm3AgQXQWw5dzjjXF8JwPXlvqqm5U+ +RjASs57oZ6iRy+ABzrH7J/MxuuuwbtSy8p+vQTflV46Csn+fiuQVwa5/GUTFb4Zb4q5 kFoMRZa6ki5T3azHKfyr5RT2KVa87fa5PFM/Aqfa0Cvy34+WNtsS4UpPx8OUhLSdxVNZ NZUvS6d6riz9u3k76ZBpEIEHGAwaXOpsjglJcr9vtVCXBEqLNJkRJ/nW3O4QJaoqss7v 5UkkQgYScvsnUf9OD7PhgbPP53exlXoTQY0waWgOOSSvHb0VeImCF9Vt2MRErqjiOQ3B GuHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=DVGlUtkXqljT53vJ2CbDoK39HrqaE/v1p9zzhIWeEfc=; b=Mz2bkn9CXtzY9zfsaSdj6Yd11zEu9qqhixOhXYnuWlSDkObfaW+UlUhk9LdEV80VNq ShZoECFkcNrm2bbPsDdrIG93uxh7rX3pNBkDEp7mh4u+2fiTpi6A1KU4JgWkNPQKdTL5 T/XdO8TOMWUDL19hvEOyTxf2y1ysBYZJD1SCxsKxc43lLWNqH9yuSgPCFiUdiKHpAR5t 1XQxFzMu15dAF3aVrtb6ZR7haMPjG+AdKOZCIG0R0NTde+5lsauyTeJCzDt3P/IkHpzn PKXUp9oszrUDuYOKQ1FzdFbabZrstRUPsfVQ7jHt72uG2kUMFX5Od1BD7LkcV+au5rTI IGGA== X-Gm-Message-State: AElRT7GXH+dTI2w4PnLa/MfwEtWWQlqGVvh+hJlX0crlS2Kx265RnjGb pG75SMJUyXQfBIFDwF34LifCUw== X-Google-Smtp-Source: AG47ELuQgoKkgXuCA6Ugt4uh6divpg64cABEJapVS2kRWltJf1L3ShjVXHhPMcqZeyEiXESPv+J8Wg== X-Received: by 10.107.189.3 with SMTP id n3mr2957763iof.207.1520991951132; Tue, 13 Mar 2018 18:45:51 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id 15sm737832ion.69.2018.03.13.18.45.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Mar 2018 18:45:50 -0700 (PDT) From: Noam Postavsky To: Juri Linkov Subject: Re: bug#13129: 24.1; Please add curly single quotes to text-mode's syntax table as word components References: <87r4myc3w4.fsf@sc3d.org> <877gopeb10.fsf@mail.jurta.org> Date: Tue, 13 Mar 2018 21:45:49 -0400 In-Reply-To: <877gopeb10.fsf@mail.jurta.org> (Juri Linkov's message of "Tue, 11 Dec 2012 01:35:07 +0200") Message-ID: <87a7vbxwdu.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control Cc: 13129@debbugs.gnu.org, Reuben Thomas X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) severity 30815 wishlist quit Juri Linkov writes: >> Moving over words like =E2=80=9Cdidn=E2=80=99t=E2=80=9D, Emacs stops at = the curly quote; it >> should treat it like a straight quote. (Tested also in the default >> branch of current Bazaar.) > > `text-mode' does this for a straight quote in `text-mode-syntax-table': > > ;; We add `p' so that M-c on 'hello' leads to 'Hello' rather than 'he= llo'. > (modify-syntax-entry ?' "w p" st) > > Perhaps it could also define a word syntax for the curly quote. But it doesn't work for curly quotes, see Bug#30815 and Bug#10494. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 16 20:03:40 2018 Received: (at control) by debbugs.gnu.org; 17 Mar 2018 00:03:40 +0000 Received: from localhost ([127.0.0.1]:37401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewzJy-0006ag-3A for submit@debbugs.gnu.org; Fri, 16 Mar 2018 20:03:40 -0400 Received: from mail-io0-f180.google.com ([209.85.223.180]:39382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewzJv-0006aO-2s; Fri, 16 Mar 2018 20:03:35 -0400 Received: by mail-io0-f180.google.com with SMTP id v13so853424iob.6; Fri, 16 Mar 2018 17:03:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=oBphY6AXEco+/RanF9eIWw+jDbGrFyBy3wg3Bb/OF7o=; b=LttiP5eKrQbu8sXZKONZ1bPevxNiOwIVFgvW5tcOY4oF2Wu6XA2QvZPFWVHaq15In9 3OxG2tErRLfj+6nrmsFRAY9VcjEKmmIJA8O6SjlBK3V8LligE5Kypu2KWBzdX0L0/6h9 LxtMGt7VKkqkr+XTErnXGDq2ZPzexTMDGZJ1Wl762IdKXF2T4Rcb09NmmU0sAXy+Q4h+ xE+zgllnVbpgSGq4uGvapE8tFlUscryU1Hl6m6KTi9Y4/iqFSg+WABdfqys5tO/lijjn dFriIrgZXXEf4GCliB6av5cU2P1XYNcLU7On4ISWJQBjGRLwi90ucMsmIyXqzRFJ8Sp6 g0Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=oBphY6AXEco+/RanF9eIWw+jDbGrFyBy3wg3Bb/OF7o=; b=EJkXjXl4vfBt8/bDJNcaKvh28/35tOjpvkPoGLO5EcmVgjaIIuxggejWVGDrHSAFBg I43kRpPROYHzuKu+RjAuRtIqEudKWjRoTvgC5znVTGTGz+UhB8KEps4/em/yg90BAUvq +eIG3K3+s/yOK3kAXw5E7TYkvR8zPbAtW8u9bQilWtabb6gCt+kAXNUYVIjEBmgQ+vtc ENEb0yPiZ4e59WU08oXUbgesi1ZCjvGSDMbdqTxvL+XV43xT1TkfLRJjf07iIrNhN+FR o/SEvioMmIp/olx56eCMJhSm1g1yM3NA2fDLrPK+8mHESwZ3N6HLJFJ3232xpP1BifNh W7aA== X-Gm-Message-State: AElRT7HYoBvYAgYXJjl20shSizm8AXvw0Y5qiqQ54+Nm1d7hC/WlHqmA ZXCb12EV5Szq1FKbOg/myiZo8w== X-Google-Smtp-Source: AG47ELtROYOuC451CQovOiYxyrPvSGMK+7tYOa2H9Qr3FlOadsBDkAroU/AeH9nF9PAtR/lF+bxDdw== X-Received: by 10.107.4.74 with SMTP id 71mr3919732ioe.76.1521245009510; Fri, 16 Mar 2018 17:03:29 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id m22-v6sm389653iti.4.2018.03.16.17.03.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Mar 2018 17:03:28 -0700 (PDT) From: Noam Postavsky To: Eli Zaretskii Subject: Re: bug#30815: 26.0.91; unicode right single quote mark with syntax entry of w not respected by forward-word References: <87fu53xxzc.fsf@gmail.com> <87y3ivwg0h.fsf@gmail.com> <83a7vasl56.fsf@gnu.org> <87lgeuw8hx.fsf@gmail.com> <83fu51rgfp.fsf@gnu.org> Date: Fri, 16 Mar 2018 20:03:27 -0400 In-Reply-To: <83fu51rgfp.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 15 Mar 2018 08:39:06 +0200") Message-ID: <87sh8zva9c.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control Cc: 30815@debbugs.gnu.org, aaronjensen@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) close 13129 merge 30815 13129 quit Eli Zaretskii writes: >> Subject: [PATCH] Improve word motion docs (Bug#30815) > LGTM, thanks. Pushed to emacs-26. [1: 10bd3b3af8]: 2018-03-16 19:51:28 -0400 Improve word motion docs (Bug#30815) https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=10bd3b3af8acfc226acadc654298865cffc19cc9