From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#36423: 27.0.50; electric-pair-mode not working properly depending of file content. Date: Thu, 4 Jul 2019 14:14:54 +0000 Message-ID: <20190704141454.GB5564@ACM> References: <20190628190131.w7ajdhaqqnmebewc@Ergus> <20190702133641.GA30699@ACM> <20190703193200.awabu3ell7vsrcpj@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="67115"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: 36423@debbugs.gnu.org To: Ergus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 04 16:16:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hj2Wz-000HLu-D5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jul 2019 16:16:13 +0200 Original-Received: from localhost ([::1]:46414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hj2Wy-0001KT-Dy for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jul 2019 10:16:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56948) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hj2Wp-0001JW-JI for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 10:16:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hj2Wo-00047w-KG for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 10:16:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42854) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hj2Wo-00047p-GL for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 10:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hj2Wo-0007Kg-AO for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 10:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Jul 2019 14:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36423 X-GNU-PR-Package: emacs Original-Received: via spool by 36423-submit@debbugs.gnu.org id=B36423.156224970528106 (code B ref 36423); Thu, 04 Jul 2019 14:16:02 +0000 Original-Received: (at 36423) by debbugs.gnu.org; 4 Jul 2019 14:15:05 +0000 Original-Received: from localhost ([127.0.0.1]:51675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hj2Vs-0007JG-VM for submit@debbugs.gnu.org; Thu, 04 Jul 2019 10:15:05 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:24017 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1hj2Vr-0007It-QO for 36423@debbugs.gnu.org; Thu, 04 Jul 2019 10:15:04 -0400 Original-Received: (qmail 9683 invoked by uid 3782); 4 Jul 2019 14:14:55 -0000 Original-Received: from acm.muc.de (p4FE15EDB.dip0.t-ipconnect.de [79.225.94.219]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 04 Jul 2019 16:14:54 +0200 Original-Received: (qmail 15495 invoked by uid 1000); 4 Jul 2019 14:14:54 -0000 Content-Disposition: inline In-Reply-To: <20190703193200.awabu3ell7vsrcpj@Ergus> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de 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: 209.51.188.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:162058 Archived-At: Hello, Ergus. On Wed, Jul 03, 2019 at 21:32:00 +0200, Ergus wrote: > Hi Alan: > Sorry for the bother again. No bother! > After the fix you did, the "" issue is better, but now there are new > issues with the {} when I use pragmas for example. > I attached you a picture (because this is the easier way to explain it) Nevertheless, is there any chance you could send me a copy of the code, so that I don't have to type it in myself from the screenshots? > As you can see it does not recognize the pairs correctly in one > case. And in the other it does not recognize the () at all. (Maybe the > second is not exactly the same issue) That, indeed, needs looking at. > The main problem is that because of this the automatic indentation is > affected. > An interesting thing is that in the line 136 out(vout[0; size]) it works > correctly. Maybe it has to do with the \ in the pragmas? > Thanks for the previous patch and in advance for the next ;) > Ergus Let's look forward to that! -- Alan Mackenzie (Nuremberg, Germany).