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: CC Mode and electric-pair "problem". Date: Sun, 17 Jun 2018 20:13:51 +0000 Message-ID: <20180617201351.GA4580@ACM> References: <20180531123747.GA24752@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1529266700 1720 195.159.176.226 (17 Jun 2018 20:18:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 17 Jun 2018 20:18:20 +0000 (UTC) User-Agent: Mutt/1.9.4 (2018-02-28) Cc: Emacs developers , =?iso-8859-1?Q?Jo=E3o_T=E1vora?= , Tino Calancha To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 17 22:18:16 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 1fUe7r-0000K7-0p for ged-emacs-devel@m.gmane.org; Sun, 17 Jun 2018 22:18:15 +0200 Original-Received: from localhost ([::1]:56316 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUe9y-000395-0a for ged-emacs-devel@m.gmane.org; Sun, 17 Jun 2018 16:20:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUe9o-00036n-P9 for emacs-devel@gnu.org; Sun, 17 Jun 2018 16:20:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUe9m-0004Q6-2g for emacs-devel@gnu.org; Sun, 17 Jun 2018 16:20:16 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:56383 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1fUe9l-0004PW-HZ for emacs-devel@gnu.org; Sun, 17 Jun 2018 16:20:13 -0400 Original-Received: (qmail 6480 invoked by uid 3782); 17 Jun 2018 20:20:12 -0000 Original-Received: from acm.muc.de (p5B146C57.dip0.t-ipconnect.de [91.20.108.87]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 17 Jun 2018 22:20:10 +0200 Original-Received: (qmail 4596 invoked by uid 1000); 17 Jun 2018 20:13:51 -0000 Content-Disposition: inline In-Reply-To: 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:226431 Archived-At: Hello, Glenn. On Sun, Jun 17, 2018 at 12:58:53 -0400, Glenn Morris wrote: > Alan Mackenzie wrote: > > However, the test suite (make check) threw up another discrepancy, in a > > test called > > electric-pair-whitespace-chomping-2-at-point-4-in-c++-mode-in-strings. > Hello, is this still being worked on? > The test continues to fail on RHEL 7 and hydra.nixos.org. >From my point of view, the bug is not being worked on this very day, but has by no means been forgotten. It has needed a period of mulling over. I think Joćo sees it the same way. Although it won't be difficult to fix, this bug is an awkward thing, and will need decisions (smallish ones) to be taken. My favoured method would be to alter electric-pair--skip-whitespace such that a NL terminating a string (as contrasted with a NL terminating a comment) would be allowed to be scanned over. -- Alan Mackenzie (Nuremberg, Germany).