GNU bug report logs - #17257
24.3.90; ediff causes "Wrong type argument: listp, [#<overlay ...> ...]" error

Previous Next

Package: emacs;

Reported by: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>

Date: Sun, 13 Apr 2014 09:13:02 UTC

Severity: normal

Merged with 17259, 17265, 17273, 17285, 17287, 17382, 17491

Found in versions 24.3.90, 24.4.50

Fixed in versions 24.3.91, 24.4

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17257 in the body.
You can then email your comments to 17257 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#17257; Package emacs. (Sun, 13 Apr 2014 09:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 13 Apr 2014 09:13:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.90;
 ediff causes "Wrong type argument: listp, [#<overlay ...> ...]" error
Date: Sun, 13 Apr 2014 18:11:38 +0900
Steps to reproduce:

  1. $ emacs -Q &
  2. M-x ediff RET SOME-FILE RET ANOTHER-FILE RET
     (The contents of SOME-FILE and ANOTHER-FILE should be different.)
  3. Type `n' several times.

Result:

  ediff-set-fine-diff-properties: Wrong type argument: listp, [#<overlay ...> ...]

The error occured at line 825 in lisp/vc/ediff-diff.el:

   817	(defun ediff-set-fine-diff-properties-in-one-buffer (buf-type
   818							     n &optional default)
   819	  (let ((fine-diff-vector  (ediff-get-fine-diff-vector n buf-type))
   820		(face (if default
   821			  'default
   822			(ediff-get-symbol-from-alist
   823			 buf-type ediff-fine-diff-face-alist)
   824			)))
   825	    (dolist (overl fine-diff-vector)
   826	      (ediff-set-overlay-face overl face))))

The value of `fine-diff-vector' was a vector of overlays, so dolist
couldn't be applied to it.

				     YAMAMOTO Mitsuharu
				mituharu <at> math.s.chiba-u.ac.jp

In GNU Emacs 24.3.90.1 (x86_64-apple-darwin10.8.0, GTK+ Version 3.12.0)
 of 2014-04-13 on yamamoto-mitsuharu-no-iMac.local
Repository revision: 116957 eliz <at> gnu.org-20140413074923-hevwygj2z9j67xwk
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
Configured using:
 `configure CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib'




Merged 17257 17259. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 13 Apr 2014 10:18:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17257; Package emacs. (Mon, 14 Apr 2014 02:06:01 GMT) Full text and rfc822 format available.

Message #10 received at 17257 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Cc: 17257 <at> debbugs.gnu.org
Subject: Re: bug#17257: 24.3.90;
 ediff causes "Wrong type argument: listp, [#<overlay ...> ...]" error
Date: Sun, 13 Apr 2014 22:05:50 -0400
> The value of `fine-diff-vector' was a vector of overlays, so dolist
> couldn't be applied to it.

Duh!  Sorry!
I shouldn't have replaced mapcar with dolist but with mapc.
Feel free to beat me to it,


        Stefan




Reply sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
You have taken responsibility. (Mon, 14 Apr 2014 02:25:02 GMT) Full text and rfc822 format available.

Notification sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
bug acknowledged by developer. (Mon, 14 Apr 2014 02:25:03 GMT) Full text and rfc822 format available.

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

From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: 17257-done <at> debbugs.gnu.org
Subject: Re: bug#17257: 24.3.90;
 ediff causes "Wrong type argument: listp, [#<overlay ...> ...]" error
Date: Mon, 14 Apr 2014 11:24:19 +0900
Version: 24.4

>>>>> On Sun, 13 Apr 2014 22:05:50 -0400, Stefan Monnier <monnier <at> IRO.UMontreal.CA> said:

>> The value of `fine-diff-vector' was a vector of overlays, so dolist
>> couldn't be applied to it.

> Duh!  Sorry!  I shouldn't have replaced mapcar with dolist but with
> mapc.  Feel free to beat me to it,

Done.  Closing.

				     YAMAMOTO Mitsuharu
				mituharu <at> math.s.chiba-u.ac.jp




Reply sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
You have taken responsibility. (Mon, 14 Apr 2014 02:25:03 GMT) Full text and rfc822 format available.

Notification sent to Ivan Shmakov <ivan <at> siamics.net>:
bug acknowledged by developer. (Mon, 14 Apr 2014 02:25:04 GMT) Full text and rfc822 format available.

Forcibly Merged 17257 17259 17265. Request was from Nicolas Richard <theonewiththeevillook <at> yahoo.fr> to control <at> debbugs.gnu.org. (Thu, 17 Apr 2014 20:31:02 GMT) Full text and rfc822 format available.

Forcibly Merged 17257 17259 17265 17273. Request was from Nicolas Richard <theonewiththeevillook <at> yahoo.fr> to control <at> debbugs.gnu.org. (Thu, 17 Apr 2014 20:33:02 GMT) Full text and rfc822 format available.

Forcibly Merged 17257 17259 17265 17273 17285. Request was from Nicolas Richard <theonewiththeevillook <at> yahoo.fr> to control <at> debbugs.gnu.org. (Thu, 17 Apr 2014 20:37:02 GMT) Full text and rfc822 format available.

Forcibly Merged 17257 17259 17265 17273 17285 17287. Request was from Nicolas Richard <theonewiththeevillook <at> yahoo.fr> to control <at> debbugs.gnu.org. (Fri, 18 Apr 2014 08:59:02 GMT) Full text and rfc822 format available.

Forcibly Merged 17257 17259 17265 17273 17285 17287 17382. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 02 May 2014 07:39:02 GMT) Full text and rfc822 format available.

Forcibly Merged 17257 17259 17265 17273 17285 17287 17382 17491. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 14 May 2014 15:38:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 12 Jun 2014 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 292 days ago.

Previous Next


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