all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: 17257@debbugs.gnu.org
Subject: bug#17257: 24.3.90; ediff causes "Wrong type argument: listp, [#<overlay ...> ...]" error
Date: Sun, 13 Apr 2014 18:11:38 +0900	[thread overview]
Message-ID: <wlr4518ugl.wl%mituharu@math.s.chiba-u.ac.jp> (raw)

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@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@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'





             reply	other threads:[~2014-04-13  9:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-13  9:11 YAMAMOTO Mitsuharu [this message]
2014-04-14  2:05 ` bug#17257: 24.3.90; ediff causes "Wrong type argument: listp, [#<overlay ...> ...]" error Stefan Monnier
2014-04-14  2:24   ` YAMAMOTO Mitsuharu

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

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

  git send-email \
    --in-reply-to=wlr4518ugl.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=17257@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.