From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: C++ mode and c-beginning-of-current-token Date: Sat, 19 May 2007 14:59:45 +0200 Message-ID: <464EF4C1.2020505@gmx.at> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1179580425 7851 80.91.229.12 (19 May 2007 13:13:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 19 May 2007 13:13:45 +0000 (UTC) Cc: acm@muc.de, herberteuler@hotmail.com, handa@m17n.org, Stefan Monnier , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 19 15:13:43 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HpOkf-00086Z-KI for ged-emacs-devel@m.gmane.org; Sat, 19 May 2007 15:13:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HpOkf-0002rk-1R for ged-emacs-devel@m.gmane.org; Sat, 19 May 2007 09:13:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HpOkb-0002rZ-RM for emacs-devel@gnu.org; Sat, 19 May 2007 09:13:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HpOka-0002rC-Eh for emacs-devel@gnu.org; Sat, 19 May 2007 09:13:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HpOka-0002r9-7z for emacs-devel@gnu.org; Sat, 19 May 2007 09:13:36 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HpOkZ-0001Dh-Nz for emacs-devel@gnu.org; Sat, 19 May 2007 09:13:36 -0400 Original-Received: (qmail invoked by alias); 19 May 2007 13:13:34 -0000 Original-Received: from N871P000.adsl.highway.telekom.at (EHLO [62.47.52.192]) [62.47.52.192] by mail.gmx.net (mp047) with SMTP; 19 May 2007 15:13:34 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/+qTg6dQb+cRsFjVWBUfnUP0OAlWxN1a1cwf5+Xt yodlbJ5xGMWtua User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:71386 Archived-At: > Is this bug only in unicode-2? Does it affect Emacs 22? There are two bugs with identical structure - one in `skip_chars' and one in `scan_words'. The bug in `skip_chars' occurs when you invoke Emacs with the unibyte option. IMO it's virulent in the unicode-2 branch only. The bug in `scan_words' occurs with Emacs -Q. That bug will be hardly noticed ever since `backward-word' practically never relies on syntax-table properties. Patching any of these is hairy because neither Guanpeng nor I seem to understand the interval updating code sufficiently well. Hence, unless we find someone with intimate knowledge of the interval code, I'd propose to not touch it for the release. We could try to fix them in the trunk and the Unicode branch and see what happens.