From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#31155: 26.1; electric-pair-mode sometimes inserts extra ) in process buffers Date: Wed, 18 Apr 2018 21:12:23 -0400 Message-ID: <871sfct2x4.fsf@gmail.com> References: <87a7u5o5ux.fsf@gmail.com> <87d0z1jxt6.fsf@gmail.com> <878t9po5c8.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1524100269 973 195.159.176.226 (19 Apr 2018 01:11:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 19 Apr 2018 01:11:09 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: 31155@debbugs.gnu.org To: Alex Branham Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 19 03:11: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 1f8y6J-00006Y-Hr for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Apr 2018 03:11:03 +0200 Original-Received: from localhost ([::1]:36619 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8y8O-0000Zk-JJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Apr 2018 21:13:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8y8H-0000Z2-Qa for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2018 21:13:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8y8E-0002Kl-LJ for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2018 21:13:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51989) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f8y8E-0002Kf-HM for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2018 21:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f8y8E-0004zU-Au for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2018 21:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Apr 2018 01:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31155 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31155-submit@debbugs.gnu.org id=B31155.152410035519147 (code B ref 31155); Thu, 19 Apr 2018 01:13:02 +0000 Original-Received: (at 31155) by debbugs.gnu.org; 19 Apr 2018 01:12:35 +0000 Original-Received: from localhost ([127.0.0.1]:59886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8y7n-0004yg-1t for submit@debbugs.gnu.org; Wed, 18 Apr 2018 21:12:35 -0400 Original-Received: from mail-io0-f171.google.com ([209.85.223.171]:43979) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8y7j-0004yL-DW; Wed, 18 Apr 2018 21:12:33 -0400 Original-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) Original-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) In-Reply-To: <878t9po5c8.fsf@gmail.com> (Alex Branham's message of "Sat, 14 Apr 2018 16:17:43 -0500") 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:145596 Archived-At: tags 31155 + moreinfo quit Alex Branham 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.