From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#33794: 26.1; electric-pair-mode breaks auto-newline minor mode of cc-mode Date: Sat, 22 Dec 2018 03:22:47 +0000 Message-ID: <87h8f68cu0.fsf@gmail.com> References: <20181221134829.29135.qmail@mail.muc.de> <87tvj68j15.fsf@gmail.com> <87pntu8fx8.fsf@gmail.com> <20181222024143.GA3985@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1545448869 12214 195.159.176.226 (22 Dec 2018 03:21:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 22 Dec 2018 03:21:09 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Beatrix Klebe , bea@klebe.blog, Stefan Monnier , 33794@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 22 04:21:04 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1gaXqa-00033E-4s for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Dec 2018 04:21:04 +0100 Original-Received: from localhost ([::1]:49560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gaXsg-0004KE-Py for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Dec 2018 22:23:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gaXsZ-0004Js-1i for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2018 22:23:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gaXsY-0001xl-BS for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2018 22:23:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54771) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gaXsU-0001sm-20; Fri, 21 Dec 2018 22:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gaXsT-00038h-Sk; Fri, 21 Dec 2018 22:23:01 -0500 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, 22 Dec 2018 03:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33794 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 33794-submit@debbugs.gnu.org id=B33794.154544897812046 (code B ref 33794); Sat, 22 Dec 2018 03:23:01 +0000 Original-Received: (at 33794) by debbugs.gnu.org; 22 Dec 2018 03:22:58 +0000 Original-Received: from localhost ([127.0.0.1]:59029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gaXsQ-00038D-IP for submit@debbugs.gnu.org; Fri, 21 Dec 2018 22:22:58 -0500 Original-Received: from mail-wm1-f49.google.com ([209.85.128.49]:53966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gaXsP-000382-Bi for 33794@debbugs.gnu.org; Fri, 21 Dec 2018 22:22:57 -0500 Original-Received: by mail-wm1-f49.google.com with SMTP id d15so6922491wmb.3 for <33794@debbugs.gnu.org>; Fri, 21 Dec 2018 19:22:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=xapA1ivGumxEIBAIxLcmG2l7rMvDu0v0VLYyWedrHdU=; b=oISMyF7PvJf/vhCghf6oFgVFIEzWTEWf9cvZMHu+K6wzRhuQKLKNBfNQX37GaIbDgh OXaGEGL0rjKgSytFtgqda50sp0PIulVe3A7o/AHNZy8RV+PvFCyL0/qJQgnY7edi3cCV kVWqn8jzxfOjJPqJatUuJ6RgRY14hTOlhVDXFAzXMZhKDH1PKO+5BDb49npE61H97PIg I5rFfjPZrdafEsRAl6MCnYxoxxduDfAw/IXGFt20wChP1KhvDDPj9oM08rgx2lQJCqTG eclcGQ/CBoaVKienSHM71q1Y+RZweKj2DcbXvKzLevC9iqBxBrjyrNY6M9jYrMgCzkaF drFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=xapA1ivGumxEIBAIxLcmG2l7rMvDu0v0VLYyWedrHdU=; b=F5IaphSFYY3Xo3VFSeSWjVTJe0Rd13Y0PFOqklgKMi7x0zcw8BNFmS/9HWHZNs2Y24 AmLJh08vy52exZAUzDvYX+Q7z1HtvCW3Xe8WAeJKaRpX2ec2O27w+4NxfeDpTFixP18y 1Rg8nNItmZxtStiHewHI/R88GD545UqBXSFIFQ9G9BULNrOJZ2IZ2S0KzkY129JYbfYI xdkt0bSXibZdCdsRGj8W6k/fxBSt67kjN+pEpQsQ6V071eXkUhoTgoDshoP4jEI5Vxtx 573uuY3XSF7ZTRB9GUNIJNLBUphzR6lZMmJ2Grf4ouL5Re1siQW2pECiN2+/aSGFmWSY XB3Q== X-Gm-Message-State: AA+aEWaURDDCn2FBqISpSLhgl+YEnrsLy3r6GYWaK/CAXB7pppNchf2G uxhkVZKRLRPibAlbEI1uhn5aSawT X-Google-Smtp-Source: ALg8bN6eBl8WV4M3zWkkJpAbLulff5FzqgprWEpJAXPVZs0Q0y8rWlsZKQfuWf/Q8Ept9TtaOb1gzw== X-Received: by 2002:a1c:d988:: with SMTP id q130mr5154528wmg.41.1545448971336; Fri, 21 Dec 2018 19:22:51 -0800 (PST) Original-Received: from lolita.yourcompany.com (188.139.62.94.rev.vodafone.pt. [94.62.139.188]) by smtp.gmail.com with ESMTPSA id o81sm21012406wmd.10.2018.12.21.19.22.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 21 Dec 2018 19:22:50 -0800 (PST) In-Reply-To: <20181222024143.GA3985@ACM> (Alan Mackenzie's message of "Sat, 22 Dec 2018 02:41:43 +0000") 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: 208.118.235.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:153713 Archived-At: Alan Mackenzie writes: > Hello, Beatrix. > > As maintainer of CC Mode, I earnestly recommend you NOT to follow Jo=C3= =A3o's > suggestion. It will not work, and will waste your time. What, exactly, will not work? > Even if it appears to work, you will end up picking out bugs for an > indeterminate period. What bugs? If you know of any, it would be good to report them, right? > Basically, electric-pair-mode as it is currently built is incompatible > with CC Mode, as I have pointed out here, albeit somewhat > undiplomatically. > > I suggest you do nothing until tempers amongst Emacs developers have > cooled down, and hopefully a genuine solution to the bug has been worked > out and implemented. If you don't like electric-layout-mode, don't use it. I'm trying to develop an alternative to c-toggle-auto-newline within the electric-*-mode frame. It's an experiment which I don't even know if Stefan will agree to, but it seems to work. If Beatrix wants to cooperate, why shouldn't she? I'm not asking you to nuke c-toggle-auto-newline or anything, but should we all be forced to use it? I don't think it's sensible in a free software project, Alan (and my temper is quite cool when saying this :-)) Again, I said I don't have anything against making eletric-pair-mode compatible with c-toggle-auto-newline if someone comes up with a good solution that doesn't break e-p-m for other modes. I will not invest time in looking into that solution, but you or someone else may, of course. In the meantime let people explore alternatives, right? Jo=C3=A3o