From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Beatrix Klebe 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 11:34:59 -0500 Message-ID: References: <20181221134829.29135.qmail@mail.muc.de> <20181221215042.GC16032@ACM> Reply-To: bea@klebe.blog NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007ebc21057d9ef21f" X-Trace: blaine.gmane.org 1545496516 2741 195.159.176.226 (22 Dec 2018 16:35:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 22 Dec 2018 16:35:16 +0000 (UTC) Cc: Alan Mackenzie , bea@klebe.blog, 33794@debbugs.gnu.org, =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 22 17:35:12 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 1gakF4-0000ZT-Tp for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Dec 2018 17:35:11 +0100 Original-Received: from localhost ([::1]:60132 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gakHB-0006T4-FO for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Dec 2018 11:37:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gakFz-0005nY-IA for bug-gnu-emacs@gnu.org; Sat, 22 Dec 2018 11:36:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gakFx-0005MS-D3 for bug-gnu-emacs@gnu.org; Sat, 22 Dec 2018 11:36:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55925) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gakFu-0005Jh-8U; Sat, 22 Dec 2018 11:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gakFu-0003Zd-4N; Sat, 22 Dec 2018 11:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Beatrix Klebe Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sat, 22 Dec 2018 16:36:02 +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.154549651913677 (code B ref 33794); Sat, 22 Dec 2018 16:36:02 +0000 Original-Received: (at 33794) by debbugs.gnu.org; 22 Dec 2018 16:35:19 +0000 Original-Received: from localhost ([127.0.0.1]:60183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gakFB-0003YW-VU for submit@debbugs.gnu.org; Sat, 22 Dec 2018 11:35:19 -0500 Original-Received: from mail-ot1-f52.google.com ([209.85.210.52]:41220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gakFA-0003YI-4j for 33794@debbugs.gnu.org; Sat, 22 Dec 2018 11:35:16 -0500 Original-Received: by mail-ot1-f52.google.com with SMTP id u16so7872536otk.8 for <33794@debbugs.gnu.org>; Sat, 22 Dec 2018 08:35:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=/z8sliAenUi92cvgyMsK63ay/6E5XTKgf429LwPyj+U=; b=KFnGEryWjjbVvMfXT18WTFm8SZfBGzQFfy7AiLhqkBkBBGAtccD4fN9fawvNtsNqi4 gP6GVP5ITcrx0nfYkfD0jGttL7b/VbQtJ5DXdBOxTvKj5PL/2UlbyIpFBgre417uOWQt A74bJBrmih4qbMA3fcmGXPPivuJIr04G3j+qJDIyePFsI7wokG5sk7Mz8gmX0rDlMo3s hH1zE3qPXU+1YM5fmt3d0AzbOuHeSM2EJuVEhOapvN25OMNSek59Z42PZ6+EUdFZBImC iPQpKWprFiIJZyW28z7MtXA9pyVMiiiD9J+fiFk09+stBqToYE7l1WZRZSGrPPcLcVaL 2K+w== 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:reply-to :from:date:message-id:subject:to:cc; bh=/z8sliAenUi92cvgyMsK63ay/6E5XTKgf429LwPyj+U=; b=huTcpTEo5mmaa6onCqc8iFJHPAU7Ul1UcwfslquPH8bNIXUoWQXdb0WPjTuc/MF1bO hjQPANmnnscvfEINln2q6MoQ5J6h7tSQHpqwLjL6B3zgrWEPbEv6+yuVaRNZvhrAY4t9 x38VwyXT9DxgAW1c9Qw5cD+gIyv/xamgqV3IpJkrAFSJd55OmovTTwJaDQkAfCloABER Zd35XfV9ilvN0DwxQw0rHxujnDFhVQ2TrKqS/6BJsKTCOe+FHx9USAOMUyQg0RhjHnDy WNToNizx4wvgfXbRaRpCcC1Rt0uWErHzPGsy7qqOoErHekcoZyLJjzvTQBpVKpBmbOS8 F9QA== X-Gm-Message-State: AJcUukcgF2PB0Iex+1yqkK8YJsXTJ6AgAt4phNPgyuZENMJAfB0X7FaA KIXmey1R78/ciJvUdoG4W6j5KusypwYhDZfHUPY= X-Google-Smtp-Source: ALg8bN4dtCU+sTP2s1lU32xPtiF8kgws5YZHA9Z5ILcJNinj6t6kbsw50eBB3XXad6dyNo1+xUBuFxCtcKAddmPr7RE= X-Received: by 2002:a9d:3d42:: with SMTP id a60mr4561458otc.285.1545496510248; Sat, 22 Dec 2018 08:35:10 -0800 (PST) In-Reply-To: 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:153748 Archived-At: --0000000000007ebc21057d9ef21f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable To clarify Jo=C3=A3o, I make no judgment about the utility or morality of q= uick hacks broadly. However, as someone who spends the majority of their time in languages and systems which generally take a dim view of pervasive mutable state, I am intensely wary of doing things to my configuration which risk making it incompatible with future updates in dependent parts. Should this problem ever be resolved more generally, it is quite possible I will not hear about it, and your quick hack will start causing unexpected behavior that I will then have to fix myself down the line. Indeed, I have oft mused about creating an Emacslike programming environment in which packages are pure and persistent and upgrades are done in a way that can be provably reversed, like nix-pkgs does for system packages, purely because of my historical frustration with things breaking when they shouldn=E2=80=99t and= me not being able to reliably isolate the cause of their failure. On Sat, Dec 22, 2018 at 11:22 AM Stefan Monnier wrote: > > I think I've worked out what I don't like about such (ab)use of > > post-self-insert-hook. > > Great. I'm not sure how it helps us fix the problem, tho. > > > Stefan > --0000000000007ebc21057d9ef21f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
To clarify Jo=C3=A3o, I make no judgment about the u= tility or morality of quick hacks broadly. However, as someone who spends t= he majority of their time in languages and systems which generally take a d= im view of pervasive mutable state, I am intensely wary of doing things to = my configuration which risk making it incompatible with future updates in d= ependent parts. Should this problem ever be resolved more generally, it is = quite possible I will not hear about it, and your quick hack will start cau= sing unexpected behavior that I will then have to fix myself down the line.= Indeed, I have oft mused about creating an Emacslike programming environme= nt in which packages are pure and persistent and upgrades are done in a way= that can be provably reversed, like nix-pkgs does for system packages, pur= ely because of my historical frustration with things breaking when they sho= uldn=E2=80=99t and me not being able to reliably isolate the cause of their= failure.=C2=A0

On Sat, Dec 22, 2018 at 11:22 AM Stefan Monnier <monnier@iro.umontreal.ca> wrote:
=
> I think I've worked out what I don&= #39;t like about such (ab)use of
> post-self-insert-hook.

Great.=C2=A0 I'm not sure how it helps us fix the problem, tho.


=C2=A0 =C2=A0 =C2=A0 =C2=A0 Stefan
--0000000000007ebc21057d9ef21f--