emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#17257: closed (24.3.90; ediff causes "Wrong type a


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#17257: closed (24.3.90; ediff causes "Wrong type argument: listp, [#<overlay ...> ...]" error)
Date: Mon, 14 Apr 2014 02:25:02 +0000

Your message dated Mon, 14 Apr 2014 11:24:19 +0900
with message-id <address@hidden>
and subject line Re: bug#17257: 24.3.90; ediff causes "Wrong type argument: 
listp, [#<overlay ...> ...]" error
has caused the debbugs.gnu.org bug report #17257,
regarding 24.3.90; ediff causes "Wrong type argument: listp, [#<overlay ...> 
...]" error
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
17257: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17257
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3.90; ediff causes "Wrong type argument: listp, [#<overlay ...> ...]" error Date: Sun, 13 Apr 2014 18:11:38 +0900 User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)
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
                                address@hidden

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 address@hidden
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
Configured using:
 `configure CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib'



--- End Message ---
--- Begin Message --- Subject: Re: bug#17257: 24.3.90; ediff causes "Wrong type argument: listp, [#<overlay ...> ...]" error Date: Mon, 14 Apr 2014 11:24:19 +0900 User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)
Version: 24.4

>>>>> On Sun, 13 Apr 2014 22:05:50 -0400, Stefan Monnier <address@hidden> 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
                                address@hidden


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]