From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: c-forward-sws: Is the code right? Date: Mon, 2 Apr 2018 19:58:16 +0000 Message-ID: <20180402195816.GB16027@ACM> References: <20180327164156.GA4105@ACM> <20180328190518.GA6592@ACM> <83d0zndv5a.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1522699056 24213 195.159.176.226 (2 Apr 2018 19:57:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 2 Apr 2018 19:57:36 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: emacs-devel@gnu.org, ccsmile2008@outlook.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 02 21:57:32 2018 Return-path: Envelope-to: ged-emacs-devel@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 1f35a7-0006CE-FR for ged-emacs-devel@m.gmane.org; Mon, 02 Apr 2018 21:57:31 +0200 Original-Received: from localhost ([::1]:59577 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f35cB-0002YK-9J for ged-emacs-devel@m.gmane.org; Mon, 02 Apr 2018 15:59:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f35bJ-0002W3-0V for emacs-devel@gnu.org; Mon, 02 Apr 2018 15:58:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f35bF-0000O5-Ty for emacs-devel@gnu.org; Mon, 02 Apr 2018 15:58:45 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:35222 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1f35bF-0000MV-JC for emacs-devel@gnu.org; Mon, 02 Apr 2018 15:58:41 -0400 Original-Received: (qmail 54166 invoked by uid 3782); 2 Apr 2018 19:58:40 -0000 Original-Received: from acm.muc.de (p5B1477DA.dip0.t-ipconnect.de [91.20.119.218]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 02 Apr 2018 21:58:39 +0200 Original-Received: (qmail 14871 invoked by uid 1000); 2 Apr 2018 19:58:16 -0000 Content-Disposition: inline In-Reply-To: <83d0zndv5a.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:224258 Archived-At: Hello, Eli. On Thu, Mar 29, 2018 at 13:38:09 +0300, Eli Zaretskii wrote: > > Date: Wed, 28 Mar 2018 19:05:18 +0000 > > From: Alan Mackenzie > > Cc: Emacs developers > > > It matchs when cursor is between a Chinese char and an ASCII char like “你hao”( cursor before ‘h’). > > I've committed a fix to master which should fix this bug. Basically, > > instead of "\\<\\>" CC Mode now uses Stefan's suggestion of "a\\`". > Please comment the use of this everywhere. AFAICS, you have a comment > only in some places. (Maybe it's better to have a (pair of) > defconst(s) with these regexps with some descriptive names, in which > case we need only comment them in one place.) I've just commented these "a\\`"s everywhere, and committed the fixes to master. > Thanks. -- Alan Mackenzie (Nuremberg, Germany).