GNU bug report logs - #21851
ediff-patch-file fails if patch-buf is a buffer nameif patch-buf is a buffer name

Previous Next

Package: emacs;

Reported by: Tino Calancha <f92capac <at> gmail.com>

Date: Sat, 7 Nov 2015 15:10:03 UTC

Severity: minor

Tags: fixed, patch

Fixed in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tino Calancha <f92capac <at> gmail.com>
To: kifer <at> cs.stonybrook.edu, 21851 <at> debbugs.gnu.org
Cc: Tino Calancha <f92capac <at> gmail.com>
Subject: bug#21851: ediff-patch-file fails if patch-buf is a buffer nameif patch-buf is a buffer name
Date: Sun, 8 Nov 2015 00:12:03 +0900 (JST)
[Message part 1 (text/plain, inline)]
Congratulations!  You may have unearthed a bug in Ediff!

Please make a concise and accurate summary of what happened
and mail it to the address above.
-----------------------------------------------------------

ediff-patch-file fails if patch-buf is a buffer name

* lisp/vc/ediff.el (ediff-patch-file)

emacs -Q:
(in *scratch* buffer)

(with-temp-file "/tmp/buff"
  (insert "foo bar"))

(with-current-buffer (generate-new-buffer "buff2")
  (insert "foo baz"))

;; call ediff-buffers on "buff" and "buff2" and save the
;; differences in a buffer "patch"

(epatch nil (get-buffer "patch")) ; ok
(epatch nil "patch") ; BAD
epatch: Wrong type argument: bufferp, "patch"


Emacs  : GNU Emacs 25.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.28)
 of 2015-11-07
Package: Ediff 2.81.5 of July 4, 2013
[ediff_1.patch (text/plain, attachment)]

This bug report was last modified 8 years and 224 days ago.

Previous Next


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