From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction Date: Wed, 10 Aug 2016 20:29:05 -0400 Message-ID: <87wpjoxi5q.fsf@users.sourceforge.net> References: 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 1470875423 26788 195.159.176.226 (11 Aug 2016 00:30:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 11 Aug 2016 00:30:23 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 10494@debbugs.gnu.org To: Aaron Ecay Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 11 02:30:19 2016 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 1bXdt5-0006qB-7q for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Aug 2016 02:30:19 +0200 Original-Received: from localhost ([::1]:44849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXdt2-0007xi-6o for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Aug 2016 20:30:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXdsu-0007tm-D4 for bug-gnu-emacs@gnu.org; Wed, 10 Aug 2016 20:30:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXdsp-0005KV-Cr for bug-gnu-emacs@gnu.org; Wed, 10 Aug 2016 20:30:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXdsp-0005KG-9O for bug-gnu-emacs@gnu.org; Wed, 10 Aug 2016 20:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bXdsp-0000M0-4p for bug-gnu-emacs@gnu.org; Wed, 10 Aug 2016 20:30:03 -0400 X-Loop: help-debbugs@gnu.org 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: Original-Received: via spool by 10494-submit@debbugs.gnu.org id=B10494.14708753511266 (code B ref 10494); Thu, 11 Aug 2016 00:30:03 +0000 Original-Received: (at 10494) by debbugs.gnu.org; 11 Aug 2016 00:29:11 +0000 Original-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 Original-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 Original-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) Original-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) In-Reply-To: (Aaron Ecay's message of "Fri, 13 Jan 2012 03:40:34 -0500") 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:122049 Archived-At: 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.