From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aaron Ecay Newsgroups: gmane.emacs.bugs Subject: bug#13529: 24.3.50; wrong-type-argument with show-paren-mode Date: Thu, 24 Jan 2013 14:45:51 -0500 Message-ID: <87k3r2xt3k.fsf@gmail.com> References: <87libkepmj.fsf@gmail.com> <87fw1s2odb.fsf@bzg.ath.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1359056824 10786 80.91.229.3 (24 Jan 2013 19:47:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jan 2013 19:47:04 +0000 (UTC) Cc: 13529-done@debbugs.gnu.org To: Bastien Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 24 20:47:23 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 1TySlf-0001a6-6Y for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Jan 2013 20:47:23 +0100 Original-Received: from localhost ([::1]:41001 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TySlN-0002sf-TS for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Jan 2013 14:47:05 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TySlJ-0002sa-MB for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 14:47:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TySlH-0000Tg-Bz for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 14:47:01 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TySlH-0000Tc-8B for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 14:46:59 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TySlK-00041E-Rt for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 14:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Ecay Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Jan 2013 19:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13529 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13529-done@debbugs.gnu.org id=D13529.135905676215362 (code D ref 13529); Thu, 24 Jan 2013 19:47:02 +0000 Original-Received: (at 13529-done) by debbugs.gnu.org; 24 Jan 2013 19:46:02 +0000 Original-Received: from localhost ([127.0.0.1]:48169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TySkM-0003zf-6m for submit@debbugs.gnu.org; Thu, 24 Jan 2013 14:46:02 -0500 Original-Received: from mail-vc0-f174.google.com ([209.85.220.174]:52383) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TySkJ-0003zS-Nz for 13529-done@debbugs.gnu.org; Thu, 24 Jan 2013 14:46:00 -0500 Original-Received: by mail-vc0-f174.google.com with SMTP id n11so6888346vch.19 for <13529-done@debbugs.gnu.org>; Thu, 24 Jan 2013 11:45:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:in-reply-to:references:user-agent :date:message-id:mime-version:content-type; bh=GrqmV1Vt1B6FhIzc8oboR6kPnDXjgFtO0WEYZg13tcM=; b=RHYBCoD2rDXzNFdXZ4T7i25aACSlozB219f+NYSU4Tt/NvlFqTn5cXWyHec/RfRlzf T5/bZDgtBfbZQZffY3q4nhX8JYpSk5s5/yB8Q099MVYOWhjAm2pPbIHXPLV5083LAixT JjAXuANsEj/v4Z3uconOjt2dMzhY3M1L3Fw9y3g06TTQBi9mshzFrJ1yCyc9Dq/F/Q1s WABWpYW5Jxqvou4Z4YZFy8VvLDTLh3f6hAS44n5C7xn77Yfu0LFpfPK8kmtvsn4LMJTy avtPfoslvXVEvgTnBo/Im/Nz7BXleuSeOh2OaqCFqF5pMbwyDGJa1bjlkRDTtOIw/zqP +XVw== X-Received: by 10.52.20.239 with SMTP id q15mr2895763vde.73.1359056754898; Thu, 24 Jan 2013 11:45:54 -0800 (PST) Original-Received: from localhost (vagvlan532.111.wlan.wireless-pennnet.upenn.edu. [128.91.71.240]) by mx.google.com with ESMTPS id x9sm13681194vel.4.2013.01.24.11.45.52 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 24 Jan 2013 11:45:53 -0800 (PST) In-Reply-To: <87fw1s2odb.fsf@bzg.ath.cx> User-Agent: Notmuch/0.14+247~g7fad82b (http://notmuchmail.org) Emacs/24.3.50.6 (x86_64-unknown-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:70258 Archived-At: Bastien, Thanks for the fix. The git checkout I was working from was just a few commits behind it. I am however still getting a different error with your patch. It looks like the new (if (integerp ...) ...) excluded a couple of overlay-put calls it should have included. See if this patch looks good to you (applied on top of yours). diff --git i/lisp/paren.el w/lisp/paren.el index bf2238d..a9d3be6 100644 --- i/lisp/paren.el +++ w/lisp/paren.el @@ -259,11 +259,10 @@ matching parenthesis is highlighted in `show-paren-style' after (- (point) dir))))) (if show-paren-overlay (move-overlay show-paren-overlay from to (current-buffer)) - (setq show-paren-overlay (make-overlay from to nil t))))) - ;; - ;; Always set the overlay face, since it varies. - (overlay-put show-paren-overlay 'priority show-paren-priority) - (overlay-put show-paren-overlay 'face face))) + (setq show-paren-overlay (make-overlay from to nil t)))) + ;; Always set the overlay face, since it varies. + (overlay-put show-paren-overlay 'priority show-paren-priority) + (overlay-put show-paren-overlay 'face face)))) ;; show-paren-mode is nil in this buffer. (and show-paren-overlay (delete-overlay show-paren-overlay)) -- Aaron Ecay