GNU bug report logs - #31155
26.1; electric-pair-mode sometimes inserts extra ) in process buffers

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Alex Branham <alex.branham@HIDDEN>; Keywords: moreinfo; dated Sat, 14 Apr 2018 21:06:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) moreinfo. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 31155 <at> debbugs.gnu.org:


Received: (at 31155) by debbugs.gnu.org; 19 Apr 2018 01:12:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 18 21:12:35 2018
Received: from localhost ([127.0.0.1]:59886 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f8y7n-0004yg-1t
	for submit <at> debbugs.gnu.org; Wed, 18 Apr 2018 21:12:35 -0400
Received: from mail-io0-f171.google.com ([209.85.223.171]:43979)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>)
 id 1f8y7j-0004yL-DW; Wed, 18 Apr 2018 21:12:33 -0400
Received: by mail-io0-f171.google.com with SMTP id q84-v6so4682484iod.10;
 Wed, 18 Apr 2018 18:12:31 -0700 (PDT)
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;
 bh=0XdeSB1m1RI36uEDqEG4BsSFX26YmeoCJ4Ry5JGMSdg=;
 b=fAj7NSJZRmyBOL7DIUvprxAtFcox0VR7UEaZuDDf8fnK2Em9Cw/uJMsBXr0MyjYlwa
 Xi1dKcIaA1yv24g5KKEG31X9ms/LspGA9+aQO9CAwMPKNQwNNDPIH9Hm+amHMXA1RefA
 Idxxa6avTlx7py0KMNoCFSpLPjwA28q/E7QxIDDnnmtPamAyqSF5P/czgWTuJXq8qrUb
 nd2D2A94FziRZOSe1OCzZMeMtNRYTMvogQn+Wth3Sxl08EU2Plec7VIaeIVEqPPyIMbn
 /0Erq8WgYQRKGRKM6KvWY+wVF8sprjeb7cV0CdNiDF8wsyQ/brpVWLg92p1D3iqO2yJ8
 r85w==
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;
 bh=0XdeSB1m1RI36uEDqEG4BsSFX26YmeoCJ4Ry5JGMSdg=;
 b=RLrtOdnhjDgwKYqxKs7nk8d1Jvgy+Y24PAIRgCUKKwoui7ZtDROG9MGfnhLmHjEVJV
 2bLqP9nEndsqgIw+4QZ/kqcz05+PxLX2ubXPtSBmfo1xFWkZwpqCLNSv7TwimDO41PTc
 TIrvZ5KpxOXwVO4K/L132f7XvOsk+eblicel1DS7E+Jok5uHL0bvyyaGdmNF/Y4072hx
 hp/Ih9fec7I/IF4fWnawtSDmzbowLWNLzzt+UxXx2OWwW0MiONI9RCVFzEx7l5RkPj0K
 jrULH4pRd2/3ajInlrd59VXADRo97xbGEOQTfqzNXQcvJ0or96t1EY8J08vKbnwagbsk
 gb/g==
X-Gm-Message-State: ALQs6tCrIG8g9F3Sxh4LMgCX6NnYNfCrZPxP9gXD/BpOFrzHxhzGHs6V
 kpe6RXlAlVrai7dkt/CGsUcOEA==
X-Google-Smtp-Source: AB8JxZqBR80LSSBpk4+sJcPPzqwe3K9uIaBOwFQfq445pHIHC2NhNudutmSr75Sy4xozu+R33P8I+Q==
X-Received: by 2002:a6b:db17:: with SMTP id
 t23-v6mr4559106ioc.254.1524100345772; 
 Wed, 18 Apr 2018 18:12:25 -0700 (PDT)
Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 w133-v6sm7330246itc.1.2018.04.18.18.12.24
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 18 Apr 2018 18:12:24 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: Alex Branham <alex.branham@HIDDEN>
Subject: Re: bug#31155: 26.1;
 electric-pair-mode sometimes inserts extra ) in process buffers
References: <87a7u5o5ux.fsf@HIDDEN> <87d0z1jxt6.fsf@HIDDEN>
 <878t9po5c8.fsf@HIDDEN>
Date: Wed, 18 Apr 2018 21:12:23 -0400
In-Reply-To: <878t9po5c8.fsf@HIDDEN> (Alex Branham's message of "Sat, 14
 Apr 2018 16:17:43 -0500")
Message-ID: <871sfct2x4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 31155
Cc: 31155 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 31155 + moreinfo
quit

Alex Branham <alex.branham@HIDDEN> writes:

> That might be part of the problem, but this also happens sometimes even
> when I've just started R. R prints out a little message when it starts,
> but doesn't have unmatched parens.

Hmm, maybe add some tracing to narrow down the problem a bit?

    (dolist (fun '(electric-pair--balance-info
                   electric-pair-skip-if-helps-balance
                   electric-pair-syntax-info
                   electric-pair-default-skip-self))
      (trace-function-background fun))

Then take a look at the *trace-output* buffer after you manage to
reproduce the problem.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31155; Package emacs. Full text available.

Message received at 31155 <at> debbugs.gnu.org:


Received: (at 31155) by debbugs.gnu.org; 14 Apr 2018 21:16:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 14 17:16:29 2018
Received: from localhost ([127.0.0.1]:52827 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f7SX6-0004SY-7g
	for submit <at> debbugs.gnu.org; Sat, 14 Apr 2018 17:16:28 -0400
Received: from mail-ot0-f177.google.com ([74.125.82.177]:36631)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alex.branham@HIDDEN>) id 1f7SX4-0004SH-01
 for 31155 <at> debbugs.gnu.org; Sat, 14 Apr 2018 17:16:26 -0400
Received: by mail-ot0-f177.google.com with SMTP id q11-v6so892593oti.3
 for <31155 <at> debbugs.gnu.org>; Sat, 14 Apr 2018 14:16:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=references:user-agent:from:to:cc:subject:in-reply-to:date
 :message-id:mime-version;
 bh=UQ7YqTmEx9JeqISqhbMSBU4CsxcJoAODuVRYBjXhxjc=;
 b=oZzca4A3IlKnaRZLjpEY35QnyGFtOa6haf+q8ZwX9OAfl8M0Ru2dF+y0eqKwunji4t
 OKDwiuJ2BSvAZw1rKf9LBI1T2d6Aljw1HjPws+4d7emw5mRt50TUeO3Ctva6V30EBHZ+
 WbFOPXrLtlUwJc6pw7fbVUbs9lUjIoN0DrsssvoCyRHEjAYy73RK5moYCpxVJt+b1B5e
 qcm/OXVUBTfGR3maMsPlVlPGUjTf3uJxLdxu0VAxIYNIHjwFFfrPHSLuYhI0Q8WZQ6UM
 z1USZkzAasf0/JUEmSX3zZZwKPYwH2zbQNiwfdnwvKs+pSbVoKZYGyB9kjJjezauR3qZ
 rGhA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:references:user-agent:from:to:cc:subject
 :in-reply-to:date:message-id:mime-version;
 bh=UQ7YqTmEx9JeqISqhbMSBU4CsxcJoAODuVRYBjXhxjc=;
 b=scMY4NCj6LA0BMwt774epHFG9pMDW1sHei4cdL+K6z/wIj27egeQ8uKNN7ZIghzRh3
 86iuA19nlTyCRTyHACkl3e5U/hzhfPv2um7IARFB1NUKP43Drd2VXA3dxwGCf5b95eDS
 iDcEGQ5AwFngHnfhKRhNq5SpSbcL50DxDYxDOPBnhZzK+6AglA75XIVE86NPoSWHc09N
 FZqurzvvNY7NAKCvAMHCkeDU86HMDcoCKr3fDK3gLujiCdFGkZZtR1IKWtaGvuxe4HVu
 EIBEUDw9wNkj2QN1eqoFgifIlzWh/UqPfmZ4d4I1ONlotk0J4vl2bOhfb+MjvuXOeZpo
 Xz4g==
X-Gm-Message-State: ALQs6tBga8xViejrpY8bz2+evlhmIKZh+ViCc7v0yzwaVYHuJHQu8JMr
 p39/1AUAvtDAWOLo0GrmDoia1lxU
X-Google-Smtp-Source: AIpwx48rNXIMGE6kokJ60IIXFmk0c8eO+xTn6JylVu7S7nVXfqHvorndcv9l+rIHRNi490VUKFpHAg==
X-Received: by 2002:a9d:559c:: with SMTP id m28-v6mr595853oth.31.1523740580300; 
 Sat, 14 Apr 2018 14:16:20 -0700 (PDT)
Received: from mars (cpe-70-114-192-208.austin.res.rr.com. [70.114.192.208])
 by smtp.gmail.com with ESMTPSA id d52-v6sm6026179ote.51.2018.04.14.14.16.19
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sat, 14 Apr 2018 14:16:19 -0700 (PDT)
References: <87a7u5o5ux.fsf@HIDDEN> <87d0z1jxt6.fsf@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Alex Branham <alex.branham@HIDDEN>
To: Noam Postavsky <npostavs@HIDDEN>
Subject: Re: bug#31155: 26.1;
 electric-pair-mode sometimes inserts extra ) in process buffers
In-reply-to: <87d0z1jxt6.fsf@HIDDEN>
Date: Sat, 14 Apr 2018 16:17:43 -0500
Message-ID: <878t9po5c8.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 31155
Cc: 31155 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


On Sat 14 Apr 2018 at 16:13, Noam Postavsky <npostavs@HIDDEN> wrote:

> Alex Branham <alex.branham@HIDDEN> writes:
>
>> In buffers running processes (e.g. M-x run-python or M-x R if you have
>> ESS), electric-pair-mode sometimes (but not always) inserts ) instead of
>> closing the paren pairing. So typing exit() occasionally results in
>> exit())
>>
>> I can't figure out how to reliably reproduce this.
>
> I can reproduce by executing python code that prints an unmatched open
> paren:
>
>>>> print ("(")
> (
>>>> exit())

That might be part of the problem, but this also happens sometimes even
when I've just started R. R prints out a little message when it starts,
but doesn't have unmatched parens.

Thanks,
Alex




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31155; Package emacs. Full text available.

Message received at 31155 <at> debbugs.gnu.org:


Received: (at 31155) by debbugs.gnu.org; 14 Apr 2018 21:14:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 14 17:14:09 2018
Received: from localhost ([127.0.0.1]:52823 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f7SUq-0004Ol-R6
	for submit <at> debbugs.gnu.org; Sat, 14 Apr 2018 17:14:09 -0400
Received: from mail-io0-f170.google.com ([209.85.223.170]:42156)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1f7SUm-0004O7-Qn
 for 31155 <at> debbugs.gnu.org; Sat, 14 Apr 2018 17:14:05 -0400
Received: by mail-io0-f170.google.com with SMTP id d5so13909598iob.9
 for <31155 <at> debbugs.gnu.org>; Sat, 14 Apr 2018 14:14:04 -0700 (PDT)
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;
 bh=ry0KCFOpfV7VogkH//cAlDShhruIfbDPOW/BwpYi8LM=;
 b=s/leYB2sreLAB4F1k6azgqzPVThq4sVirvG5WmJ6H9J+nS7j5ubyqLMEpHO0zBCJIP
 /2+udEz2gWgeAc5zRGVlbTW1fzzFGD4uOWIBhoujNAbHekFvibvKS3+nYJzqSy2Eipbd
 EON9zEqK41QcqEW8lVmLtKY5h1ZLsDqdXxmfeg92FkswgYZapdTAmI7WFWZKIvFmQGlq
 XVzqPcoEmCgJu6SASt9YGXYr0ejLZcacXvuH6dBn/BbiDpPgyndltD67BIsgdKxhktQz
 zngofw5FAqR/g3hU7km3nLvgBwkZkXqIgYAqysidq2M6HnGUzHK9+4V74Krmeiir7/TU
 HU4A==
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;
 bh=ry0KCFOpfV7VogkH//cAlDShhruIfbDPOW/BwpYi8LM=;
 b=IszeIKnvU9ivZYtJMeHOIVIOqwG37n/SkEKm9OsmZdthjB4JP8zZ2NWKoCqgHfbPce
 cS4LLZeDbhIrh7qHEMsYn5VVg+ASUE2rdmXSgW8dj9yt5wnkO3pJQhOLOp2E0+hl4RNc
 JkSIIX6ohSoR6l71sdGZn8M7VNDgpXXt2vBJGUxhYVMIxQ2TBTZH8bsSIx83RLloO4Jo
 UAeL9fh0wLhnTSYFs+0/VJctpuK7zwKDDnaO62MmMPKIo+PNDAD4yOp4jfV/R35qTEje
 pYYX8fAqxXsHLN1DwlyRsLq4yXnjGYSv1hvU1P7KMy7L0ajZAj37VZZuQhJ5a3An4RRd
 AIyg==
X-Gm-Message-State: ALQs6tC6H7DAEZgL8a8eq7rf/oIaEE4uYMPP981PaKs/ofCSQKo1QJ75
 mPAMHyQCYbokOr+bWZcfN5bzaw==
X-Google-Smtp-Source: AIpwx4+MpaxXLOgcRtyEyeSabdQusjw4xQee8Chf7XDFnzmzCJmfdfeHIuBzXdJnxepMDk2N6+DUUA==
X-Received: by 10.107.55.9 with SMTP id e9mr18367177ioa.69.1523740439296;
 Sat, 14 Apr 2018 14:13:59 -0700 (PDT)
Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 s79-v6sm1567886ita.2.2018.04.14.14.13.58
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sat, 14 Apr 2018 14:13:58 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: Alex Branham <alex.branham@HIDDEN>
Subject: Re: bug#31155: 26.1;
 electric-pair-mode sometimes inserts extra ) in process buffers
References: <87a7u5o5ux.fsf@HIDDEN>
Date: Sat, 14 Apr 2018 17:13:57 -0400
In-Reply-To: <87a7u5o5ux.fsf@HIDDEN> (Alex Branham's message of "Sat, 14
 Apr 2018 16:06:30 -0500")
Message-ID: <87d0z1jxt6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 31155
Cc: 31155 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Alex Branham <alex.branham@HIDDEN> writes:

> In buffers running processes (e.g. M-x run-python or M-x R if you have
> ESS), electric-pair-mode sometimes (but not always) inserts ) instead of
> closing the paren pairing. So typing exit() occasionally results in
> exit())
>
> I can't figure out how to reliably reproduce this.

I can reproduce by executing python code that prints an unmatched open
paren:

>>> print ("(")
(
>>> exit())





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31155; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 Apr 2018 21:05:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 14 17:05:23 2018
Received: from localhost ([127.0.0.1]:52818 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f7SMM-0004Cn-Tx
	for submit <at> debbugs.gnu.org; Sat, 14 Apr 2018 17:05:23 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60177)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alex.branham@HIDDEN>) id 1f7SML-0004Ca-GD
 for submit <at> debbugs.gnu.org; Sat, 14 Apr 2018 17:05:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <alex.branham@HIDDEN>) id 1f7SMF-0006qS-ER
 for submit <at> debbugs.gnu.org; Sat, 14 Apr 2018 17:05:16 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:60350)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <alex.branham@HIDDEN>)
 id 1f7SMF-0006q6-AM
 for submit <at> debbugs.gnu.org; Sat, 14 Apr 2018 17:05:15 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51117)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <alex.branham@HIDDEN>) id 1f7SME-00024m-1L
 for bug-gnu-emacs@HIDDEN; Sat, 14 Apr 2018 17:05:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <alex.branham@HIDDEN>) id 1f7SMA-0006n6-3K
 for bug-gnu-emacs@HIDDEN; Sat, 14 Apr 2018 17:05:14 -0400
Received: from mail-oi0-x234.google.com ([2607:f8b0:4003:c06::234]:34354)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <alex.branham@HIDDEN>)
 id 1f7SM9-0006mg-UX
 for bug-gnu-emacs@HIDDEN; Sat, 14 Apr 2018 17:05:10 -0400
Received: by mail-oi0-x234.google.com with SMTP id e23-v6so104701oiy.1
 for <bug-gnu-emacs@HIDDEN>; Sat, 14 Apr 2018 14:05:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=user-agent:from:to:subject:date:message-id:mime-version;
 bh=0wZPj+Sivwyc8lS+7PaSnWQ6O6OA8YrsX5yo9RgbLH0=;
 b=KF03t9Y0vqdbS2DjZNMJcsVgBLLnF/O+hXX5JpI4S7yfN3Sd5CmrBnJDhd3Kz+ZmAX
 QpW/OSLlq9yAEPytGLy+qnUjFtSsOG0X8pJyat2P+GIJR1Nm9fIYRERtnfs+ZXIV46QA
 6Wj5h+G7ae8z5W3i7HAgUf0mMWpzEcRJyeknsp/brnDGNsqjNmHncTVK/dZupvHVGGpI
 tmscgEnhmDeFQo8Vb1ZBKWVFhs8uP+7CcHHoJoS6cHaYDwuGFkGfTN2Iz0f04hi86OC2
 fudYOv3I2d2EE8PFDBRjBMIzYCv8I52ZjPWi/89GexCR+4q/enir8asBvYpdAAWuspOp
 8daw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:user-agent:from:to:subject:date:message-id
 :mime-version;
 bh=0wZPj+Sivwyc8lS+7PaSnWQ6O6OA8YrsX5yo9RgbLH0=;
 b=eOE3HfkMs6nV28LW65h+wgrJTeFZ80XAl+qPtJDPKTvl9Pd2Za1YIdnGjnqXRqr9Eh
 BDz7Kwr29wOcWf/B0e8uC4XFZ9Wi0PW+evxPBmgD0BTKZcepgiPB0lM0yiRH9PGLAd5K
 AofC4t5fGw4MU/5IvBzV9GVolYEucIqtwFmJvtFHAj5IxFh4BwLATnXQyacT4Xe0b3kM
 W69pUE4EObbKdIoTFCLCJnS2cctmB7alDfO/FKejFJoUr0Shs6ZT8/An4Yu3SLx5sRRo
 pFLQcuSFYcUan0/GuzBxN/xfhQNOHmoAaBEAR2ubVlAu6IvIWKfk1y5ei1Prlk8tavR3
 erMg==
X-Gm-Message-State: ALQs6tAijnnpzBrT0qZcMyCRoydi0AeqHdCiQdotAdgYK8EBMMTzCLKj
 abe2I7QPk164qNr1wjn8sxwZjpg6
X-Google-Smtp-Source: AIpwx4+Zs0Sy/X/nauydVz51FUhWfS1Y+UnjAy1xmcmkAjFM98s1pnfw3+GMWPBgMUUjaZYeGaLJxg==
X-Received: by 2002:aca:5e86:: with SMTP id
 s128-v6mr11857932oib.346.1523739908741; 
 Sat, 14 Apr 2018 14:05:08 -0700 (PDT)
Received: from mars (cpe-70-114-192-208.austin.res.rr.com. [70.114.192.208])
 by smtp.gmail.com with ESMTPSA id h1-v6sm5501613otg.21.2018.04.14.14.05.07
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sat, 14 Apr 2018 14:05:08 -0700 (PDT)
User-agent: mu4e 1.0; emacs 26.1
From: Alex Branham <alex.branham@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 26.1; electric-pair-mode sometimes inserts extra ) in process buffers
Date: Sat, 14 Apr 2018 16:06:30 -0500
Message-ID: <87a7u5o5ux.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

In buffers running processes (e.g. M-x run-python or M-x R if you have
ESS), electric-pair-mode sometimes (but not always) inserts ) instead of
closing the paren pairing. So typing exit() occasionally results in
exit())

I can't figure out how to reliably reproduce this.

In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2018-04-11 built on mars
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games
 --with-sound=alsa --with-modules --without-gconf --without-gsettings
 --with-mailutils --with-xml2 --with-x-toolkit=lucid --with-xft
 --with-xaw3d --with-imagemagick 'CFLAGS=-march=x86-64 -mtune=generic
 -O2 -pipe -fstack-protector-strong -fno-plt'
 CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS NOTIFY ACL
GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11
MODULES THREADS LIBSYSTEMD LCMS2

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Python

Minor modes in effect:
  anaconda-eldoc-mode: t
  anaconda-mode: t
  electric-operator-mode: t
  magit-auto-revert-mode: t
  global-git-commit-mode: t
  shell-command-with-editor-mode: t
  company-mode: t
  ws-butler-mode: t
  global-diff-hl-mode: t
  diff-hl-mode: t
  diff-auto-refine-mode: t
  global-aggressive-indent-mode: t
  pdf-occur-global-minor-mode: t
  which-key-mode: t
  helm-mode: t
  flyspell-mode: t
  minions-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  winum-mode: t
  save-place-mode: t
  projectile-mode: t
  show-paren-mode: t
  async-bytecomp-package-mode: t
  dired-async-mode: t
  flymake-mode: t
  shell-dirtrack-mode: t
  electric-pair-mode: t
  delete-selection-mode: t
  global-auto-revert-mode: t
  auto-revert-mode: t
  auto-insert-mode: t
  auto-compile-on-load-mode: t
  auto-compile-on-save-mode: t
  override-global-mode: t
  cl-old-struct-compat-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  global-prettify-symbols-mode: t
  prettify-symbols-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  global-visual-line-mode: t
  visual-line-mode: t
  transient-mark-mode: t




Acknowledgement sent to Alex Branham <alex.branham@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#31155; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 19 Apr 2018 01:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.