From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Liu Newsgroups: gmane.emacs.bugs Subject: bug#16346: 24.3; electric-pair-mode close-paren issue Date: Sun, 05 Jan 2014 10:57:02 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1388890698 7182 80.91.229.3 (5 Jan 2014 02:58:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jan 2014 02:58:18 +0000 (UTC) Cc: joaotavora@gmail.com To: 16346@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 05 03:58:23 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vzduw-0006Ni-QB for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Jan 2014 03:58:23 +0100 Original-Received: from localhost ([::1]:56462 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vzduw-00008m-GC for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jan 2014 21:58:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vzdul-00007e-Pw for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2014 21:58:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vzdud-0000lW-DK for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2014 21:58:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49040) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vzdud-0000lS-9k for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2014 21:58:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vzduc-0005z9-KD; Sat, 04 Jan 2014 21:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Leo Liu Original-Sender: "Debbugs-submit" Resent-CC: joaotavora@gmail.com, monnier@iro.umontreal.ca, bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jan 2014 02:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16346 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: , Stefan Monnier Original-Received: via spool by submit@debbugs.gnu.org id=B.138889065722968 (code B ref -1); Sun, 05 Jan 2014 02:58:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Jan 2014 02:57:37 +0000 Original-Received: from localhost ([127.0.0.1]:34825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzduC-0005yM-4d for submit@debbugs.gnu.org; Sat, 04 Jan 2014 21:57:36 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40355) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzduA-0005yA-Bp for submit@debbugs.gnu.org; Sat, 04 Jan 2014 21:57:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vzdu1-0000fc-Np for submit@debbugs.gnu.org; Sat, 04 Jan 2014 21:57:34 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:42261) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vzdu1-0000fY-Kg for submit@debbugs.gnu.org; Sat, 04 Jan 2014 21:57:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vzdtt-00006H-6s for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2014 21:57:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vzdtk-0000UP-Pt for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2014 21:57:17 -0500 Original-Received: from mail-pa0-x229.google.com ([2607:f8b0:400e:c03::229]:65373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vzdtk-0000UK-IX for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2014 21:57:08 -0500 Original-Received: by mail-pa0-f41.google.com with SMTP id lf10so17341322pab.0 for ; Sat, 04 Jan 2014 18:57:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=AezpfhrcTZoSumcaTXVI8hNLUOquBDuwmA2qKltgVAE=; b=w/V1T8brTtuWsuvyAxZ4e480fRncyJgBgOnnAh7lF8WW+l0WqMSW+mkBAM6GRYu9oQ NGKflh9YHxQzdUcFw+rwZVRd8CW0f4pJxePJsFdBoCz7hVNldBqHIuLzZUt6JN8U2JSH EOEC6Vlv+yAiHftWmQH0cNGlQldU85UH3UpRVGbFYnw0XxGycPmv5dgzQ7a2ND51AsR+ SE2Jdb6OYTNTWDTEWuzdxRwQuehFIzqYX8UjiPKhxSa+PegoD8Y9ag3L2/rBSz20Z8Q1 qgKCPG30P/cEqzbNuTttXa+KNu2HIZMEAIh3Zl5f735YKkiFfBReYiqCw0HSgFExoMsd Tf4g== X-Received: by 10.68.20.1 with SMTP id j1mr111281403pbe.148.1388890627004; Sat, 04 Jan 2014 18:57:07 -0800 (PST) Original-Received: from localhost ([221.220.128.204]) by mx.google.com with ESMTPSA id dq3sm118835069pbc.35.2014.01.04.18.57.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Jan 2014 18:57:06 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:82965 Archived-At: In some of the eldoc-documentation-function's when used by eldoc-post-insert-mode, for example octave-eldoc-function, the eldoc (calltip) is only shown after inserting the ( and inside the (). The new feature introduced to electric-pair-mode fails the above by triggering two successive runs of post-self-insert-hook, one for inserting the open-paren and the other for the close-paren. Thus the eldoc message is immediately cleared by the second run. My impression is if a user didn't type ) it should not trigger post-self-insert-hook. WDYT? Leo