From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aaron Ecay Newsgroups: gmane.emacs.bugs Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction Date: Fri, 13 Jan 2012 03:40:34 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1326444105 22151 80.91.229.12 (13 Jan 2012 08:41:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 Jan 2012 08:41:45 +0000 (UTC) To: 10494@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 13 09:41:41 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rlchh-00047Z-6z for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jan 2012 09:41:41 +0100 Original-Received: from localhost ([::1]:43978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rlchg-0001nG-Rw for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jan 2012 03:41:40 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:48921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlchZ-0001ms-64 for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2012 03:41:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlchS-0006yt-7b for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2012 03:41:33 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlchS-0006yp-3N for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2012 03:41:26 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Rlci1-0002oP-Oz for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2012 03:42:01 -0500 X-Loop: help-debbugs@gnu.org 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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.132644409410770 (code B ref -1); Fri, 13 Jan 2012 08:42:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Jan 2012 08:41:34 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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= Original-Received: by 10.224.200.197 with SMTP id ex5mr16520qab.88.1326444041431; Fri, 13 Jan 2012 00:40:41 -0800 (PST) Original-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) User-Agent: Notmuch/0.10.1+56~gd709fd6 (http://notmuchmail.org) Emacs/24.0.92.1 (i386-apple-darwin10.8.0) 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:55672 Archived-At: 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