From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#35254: 27.0.50; cc-mode/electric-pair-mode/electric-layout-mode: bad trailing whitespace behavior in cc-mode Date: Sat, 6 Jul 2019 23:33:18 +0100 Message-ID: References: <871s15k7ll.fsf@gmail.com> <20190513195323.GB5525@ACM> <20190514092735.GB4231@ACM> <20190515100339.GB15042@ACM> <20190701133427.GA23312@ACM> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000e978c7058d0accff" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="173973"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Noam Postavsky , Dima Kogan , 35254@debbugs.gnu.org, Stefan Monnier To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 07 00:38:40 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 1hjtKH-000j1H-C5 for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jul 2019 00:38:37 +0200 Original-Received: from localhost ([::1]:33282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjtG4-0005tx-Bw for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Jul 2019 18:34:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56990) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjtFy-0005tp-V1 for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2019 18:34:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hjtFw-0004h2-SG for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2019 18:34:10 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47150) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hjtFq-0004bz-4I; Sat, 06 Jul 2019 18:34:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hjtFp-0006lK-TV; Sat, 06 Jul 2019 18:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sat, 06 Jul 2019 22:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35254 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: fixed Original-Received: via spool by 35254-submit@debbugs.gnu.org id=B35254.156245242025964 (code B ref 35254); Sat, 06 Jul 2019 22:34:01 +0000 Original-Received: (at 35254) by debbugs.gnu.org; 6 Jul 2019 22:33:40 +0000 Original-Received: from localhost ([127.0.0.1]:55971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjtFU-0006kh-7X for submit@debbugs.gnu.org; Sat, 06 Jul 2019 18:33:40 -0400 Original-Received: from mail-io1-f45.google.com ([209.85.166.45]:35404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjtFR-0006kR-QZ for 35254@debbugs.gnu.org; Sat, 06 Jul 2019 18:33:38 -0400 Original-Received: by mail-io1-f45.google.com with SMTP id m24so17168830ioo.2 for <35254@debbugs.gnu.org>; Sat, 06 Jul 2019 15:33:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HndWB4uxJ1BHUzPD1QN4OmRN4r4cuJnH8BThYs4rVsw=; b=AC5hGZom6CYcrSpvB16uD1ldiJv9qEsjj0rHaZYeIZi+i7pOa9WfkQNPUjKb5qZuAe kKjfTeJHq4wUyoMgIFpNNPYSq7Dkk/z4FO8XIof9bw9DUqv4hk/hunKoQf5o5pTnItA6 xgvt09MpawRk45i185hg8yeOwMeY+1n8utuv6+VPcN/0X9qJ8r9blLW8GX+cU2q+3xiw GocBfN5wccrkqXmMk9hC78ZmRX4qy4YRgZ+DELlviJU9ZaInyYvFW7G4VSXsagQT2d+D 8Xbm7MSKgHtUnZUQ+hJu1xD4Ws47MMaKU+swQmV0Ct1PlCW02hvGO2QqSViK3LqVxz0t EDrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HndWB4uxJ1BHUzPD1QN4OmRN4r4cuJnH8BThYs4rVsw=; b=D7FNLrtQmA6zVXU40B7Pm8jPDY+VCkPHQ9ji+SbXbW3cyFGLB0MYINQ+GvZ0VLEvfo Zt4Om6p9o1ZpmZQ8MVIJCJ+lVcnGofYYmdLaZ66XJpshIyPWbec0HtMvdCPbA3e3HNVS aaYuveScvgdnNGja54+rT316rBmbjBwv8ukzVYzcofMm5cw5DMCr6hN8cE2+zDSe9yZ7 2Viwm29OE2z8pAHT/KW4g2+UuDRgpxjieLnHdY/QwP2u3V6VD6lYta+Gc+jjq7BKHQjk K5FZGLmV/AOSE5ztNORAVvjIjrdHviuNm/FXX9ntniZEgvlRgz+z1yd1qKvha2Rot0vY p49A== X-Gm-Message-State: APjAAAWhZm0SKtRRpchuh3Aa2hKHGFKxcsaIA88MeLa+rQ0ZvCgaEIcX b+u4gnGgX82puXTrEBXBp/h51bZXSpn7FphgsZ0= X-Google-Smtp-Source: APXvYqxxiPk5+JkIdMHCaCmK18zn77xX+T2BPBlSLE0cvhW9VeW3vrr5vXW22ebq/VRYXxXYnb6MrfqTNopCPBj4lFg= X-Received: by 2002:a02:1c0a:: with SMTP id c10mr12871489jac.69.1562452410593; Sat, 06 Jul 2019 15:33:30 -0700 (PDT) In-Reply-To: <20190701133427.GA23312@ACM> 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:162259 Archived-At: --000000000000e978c7058d0accff Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jul 1, 2019, 14:34 Alan Mackenzie wrote: > Hello, Jo=C3=A3o. > > On Mon, Jul 01, 2019 at 13:24:28 +0100, Jo=C3=A3o T=C3=A1vora wrote: > > On Wed, May 15, 2019 at 2:55 PM Jo=C3=A3o T=C3=A1vora > wrote: > > > > On Wed, May 15, 2019 at 2:19 PM Stefan Monnier < > monnier@iro.umontreal.ca> > > > wrote: > > > >> > I've just come across the bug myself, and it is indeed annoying. > > >> > Can you check if this patch, which seems the simplest, serves > > >> > all purposes? > > > >> FWIW, I find it rather ugly (makes the two minor modes too tightly > > >> intertwined). > > > > > It's no work of art. But the modes are already intertwined. > > > > Hi Stefan, > > > I still got the patch outstanding that would fix this bug, perhaps we > > can install it until someone comes up with a less ugly solution (tho > > as I stated I don't think its thaat bad). > > Could you possibly give us a reference (like the date and time you > posted it), so that we can be sure which patch we're talking about? It > was a month and a half ago since we were talking about this bug. I also > posted a patch, a relatively simple one (From 2019-05-13T19:53, modified > by Stefan at 2019-05-13T19:32), which fixes the bug. > Sorry, this message flew under the radar. If I recall correctly and from reading my replies to that patch, both your version and Stefan's modification have unwanted consequences, as evidenced by the associated test breakage. Have you tried the latest master? Jo=C3=A3o > --000000000000e978c7058d0accff Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Jul 1, 2019, 14:34 Alan Mackenzie <acm@muc.de> wrote:
Hello, Jo=C3=A3o.

On Mon, Jul 01, 2019 at 13:24:28 +0100, Jo=C3=A3o T=C3=A1vora wrote:
> On Wed, May 15, 2019 at 2:55 PM Jo=C3=A3o T=C3=A1vora <joaotavora= @gmail.com> wrote:

> > On Wed, May 15, 2019 at 2:19 PM Stefan Monnier <monnier@= iro.umontreal.ca>
> > wrote:

> >> > I've just come across the bug myself, and it is inde= ed annoying.
> >> > Can you check if this patch, which seems the simplest, s= erves
> >> > all purposes?

> >> FWIW, I find it rather ugly (makes the two minor modes too ti= ghtly
> >> intertwined).


> > It's no work of art. But the modes are already intertwined.

> Hi Stefan,

> I still got the patch outstanding that would fix this bug, perhaps we<= br> > can install it until someone comes up with a less ugly solution (tho > as I stated I don't think its thaat bad).

Could you possibly give us a reference (like the date and time you
posted it), so that we can be sure which patch we're talking about?=C2= =A0 It
was a month and a half ago since we were talking about this bug.=C2=A0 I al= so
posted a patch, a relatively simple one (From 2019-05-13T19:53, modified by Stefan at 2019-05-13T19:32), which fixes the bug.
=

Sorry, this message fle= w under the radar.

If I = recall correctly and from reading my replies to that patch, both your versi= on and Stefan's modification have unwanted consequences, as evidenced b= y the associated test breakage. Have you tried the latest master?

Jo=C3=A3o
=
--000000000000e978c7058d0accff--