unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Barry OReilly <gundaetiapo@gmail.com>
To: 16135@debbugs.gnu.org
Subject: bug#16135: After backward-up-list in jit-lock-after-change-extend-region-functions, insert-parentheses malfunctions
Date: Fri, 13 Dec 2013 18:10:15 -0500	[thread overview]
Message-ID: <CAFM41H2VM8+zbA7vRTMo9JffEnx4CffztBxHLPRUMTe=1Wff6Q@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 454 bytes --]

Let jit-lock-after-change.el have:

  (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)

Start today's trunk by:

  emacs -Q --load /tmp/jit-lock-after-change.el

Insert parentheses:

  M-(

Inserted into *scratch* buffer:

  ) (

But expected:

  ()

I'm on RHEL 5.

[-- Attachment #2: Type: text/html, Size: 589 bytes --]

             reply	other threads:[~2013-12-13 23:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-13 23:10 Barry OReilly [this message]
2013-12-13 23:38 ` bug#16135: After backward-up-list in jit-lock-after-change-extend-region-functions, insert-parentheses malfunctions Glenn Morris
2013-12-14 16:53   ` Barry OReilly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFM41H2VM8+zbA7vRTMo9JffEnx4CffztBxHLPRUMTe=1Wff6Q@mail.gmail.com' \
    --to=gundaetiapo@gmail.com \
    --cc=16135@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).