From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#16135: After backward-up-list in jit-lock-after-change-extend-region-functions, insert-parentheses malfunctions Date: Fri, 13 Dec 2013 18:38:10 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1386977944 2129 80.91.229.3 (13 Dec 2013 23:39:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Dec 2013 23:39:04 +0000 (UTC) Cc: 16135@debbugs.gnu.org To: Barry OReilly Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 14 00:39:10 2013 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 1VrcK3-0006aY-VN for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Dec 2013 00:39:08 +0100 Original-Received: from localhost ([::1]:45118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrcK3-0003L6-HQ for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Dec 2013 18:39:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrcK0-0003Ij-43 for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 18:39:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrcJz-0004yw-9f for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 18:39:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrcJz-0004ys-6T for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 18:39:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VrcJy-0003fZ-Jq for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 18:39:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Dec 2013 23:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16135-submit@debbugs.gnu.org id=B16135.138697789514008 (code B ref 16135); Fri, 13 Dec 2013 23:39:02 +0000 Original-Received: (at 16135) by debbugs.gnu.org; 13 Dec 2013 23:38:15 +0000 Original-Received: from localhost ([127.0.0.1]:48991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrcJC-0003ds-DZ for submit@debbugs.gnu.org; Fri, 13 Dec 2013 18:38:14 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:45765) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrcJ9-0003dh-9H for 16135@debbugs.gnu.org; Fri, 13 Dec 2013 18:38:11 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VrcJ8-00085r-Fr; Fri, 13 Dec 2013 18:38:10 -0500 X-Spook: ANC credit card bluebird Waco, Texas Syria nitrate halcon X-Ran: XQ<*"mbw_T3j^F9KB}=B*wk**oc7!@G+hH2Ez(-3nR^uGw"X-okZQNrtc63"AI|-$I2VeB X-Hue: yellow X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) 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:81918 Archived-At: 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.