GNU bug report logs - #16135
After backward-up-list in jit-lock-after-change-extend-region-functions, insert-parentheses malfunctions

Previous Next

Package: emacs;

Reported by: Barry OReilly <gundaetiapo <at> gmail.com>

Date: Fri, 13 Dec 2013 23:11:02 UTC

Severity: minor

Done: Barry OReilly <gundaetiapo <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 16135-done <at> debbugs.gnu.org (full text, mbox):

From: Barry OReilly <gundaetiapo <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 16135-done <at> debbugs.gnu.org
Subject: Re: bug#16135: After backward-up-list in
 jit-lock-after-change-extend-region-functions, 
 insert-parentheses malfunctions
Date: Sat, 14 Dec 2013 11:53:32 -0500
[Message part 1 (text/plain, inline)]
Right, I see my error.


On Fri, Dec 13, 2013 at 6:38 PM, Glenn Morris <rgm <at> gnu.org> wrote:

> Barry OReilly wrote:
>
> >   (add-hook 'jit-lock-after-change-extend-region-functions
> >             (lambda (_start _end _old-len)
> >               (condition-case nil
> >                   (backward-up-list)
> >                 (scan-error nil)))
> >             nil
> >             t)
> [...]
> > Insert parentheses:
> >
> >   M-(
> >
> > Inserted into *scratch* buffer:
> >
> >   ) (
> >
> > But expected:
> >
> >   ()
>
> Well, it sounds like you shouldn't do that, then.
>
[Message part 2 (text/html, inline)]

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

Previous Next


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