GNU bug report logs - #16346
24.3; electric-pair-mode close-paren issue

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Sun, 5 Jan 2014 02:58:02 UTC

Severity: normal

Found in version 24.3

Done: Leo Liu <sdl.web <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Leo Liu <sdl.web <at> gmail.com>
Subject: bug#16346: closed (Re: bug#16346: 24.3; electric-pair-mode
 close-paren issue)
Date: Sun, 12 Jan 2014 04:22:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#16346: 24.3; electric-pair-mode close-paren issue

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 16346 <at> debbugs.gnu.org.

-- 
16346: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16346
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Leo Liu <sdl.web <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 16346-done <at> debbugs.gnu.org
Subject: Re: bug#16346: 24.3; electric-pair-mode close-paren issue
Date: Sun, 12 Jan 2014 12:21:50 +0800
Fixed 24.4

On 2014-01-12 11:35 +0800, Stefan Monnier wrote:
>> If you have no objection I will install the following final patch.
>
> OK
>
>
>         Stefan

OK installed and closing this bug. Thanks for your time.

Leo

[Message part 3 (message/rfc822, inline)]
From: Leo Liu <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; electric-pair-mode close-paren issue
Date: Sun, 05 Jan 2014 10:57:02 +0800
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



This bug report was last modified 11 years and 137 days ago.

Previous Next


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