GNU bug report logs - #26385
Ediff broken

Previous Next

Package: emacs;

Reported by: Richard Copley <rcopley <at> gmail.com>

Date: Thu, 6 Apr 2017 17:06:01 UTC

Severity: normal

Tags: fixed

Merged with 26378, 26394

Found in version 26.0.50

Done: npostavs <at> users.sourceforge.net

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 26385 in the body.
You can then email your comments to 26385 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#26385; Package emacs. (Thu, 06 Apr 2017 17:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Richard Copley <rcopley <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 06 Apr 2017 17:06:02 GMT) Full text and rfc822 format available.

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

From: Richard Copley <rcopley <at> gmail.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>, phst <at> google.com
Subject: Ediff broken
Date: Thu, 6 Apr 2017 18:04:25 +0100
Hi,
Ediff doesn't work, since this commit:

  commit f4b50dad8d5eade04f495c693c0bca46060b25cb
  Author: Philipp Stephani <phst <at> google.com>
  Date:   Fri Mar 3 18:36:08 2017 +0100

Recipe to reproduce from 'emacs -Q' (assuming 1 and 2 are files that
have differences from one another):

M-x ediff RET
1 RET
2 RET
n

Lisp error: (wrong-type-argument stringp nil)

Lisp backtrace:

  find-file-name-handler(nil file-local-copy)
  file-local-copy(nil)
  #[(bytecode elided)](nil)
  mapcar(#[(bytecode elided)]
("c:/Users/XXX/AppData/Local/Temp/fineDiffA766452D"
"c:/Users/XXX/AppData/Local/Temp/fineDiffB7664GBK" nil))
  ediff-exec-process("diff" #<buffer *ediff-fine-diff*> synchronize
"--binary" "c:/Users/XXX/AppData/Local/Temp/fineDiffA766452D"
"c:/Users/RCO/AppData/Local/Temp/fineDiffB7664GBK" nil)
  ediff-setup-fine-diff-regions("c:/Users/XXX/AppData/Local/Temp/fineDiffA766452D"
"c:/Users/XXX/AppData/Local/Temp/fineDiffB7664GBK" nil 0)
  ediff-make-fine-diffs(0 noforce)
  ediff-install-fine-diff-if-necessary(0)
  ediff-next-difference(1)
  funcall-interactively(ediff-next-difference 1)
  call-interactively(ediff-next-difference nil nil)
  command-execute(ediff-next-difference)

Reverting the above commit in ediff-diff.el fixes the problem.

In GNU Emacs 26.0.50 (build 1, x86_64-w64-mingw32)
 of 2017-04-06 built on 60678UHB
Repository revision: b286911dc409e3acd2c1f6f33e9ada789d2c7637
Windowing system distributor 'Microsoft Corp.', version 6.1.7601
Recent messages:
Buffer A: Processing difference region 40 of 46
Buffer B: Processing difference region 0 of 46
Buffer B: Processing difference region 10 of 46
Buffer B: Processing difference region 20 of 46
Buffer B: Processing difference region 30 of 46
Buffer B: Processing difference region 40 of 46
Processing difference regions ... done
Refining difference region 1 ...
file-local-copy: Wrong type argument: stringp, nil
Quit this Ediff session? (y or n) y

Configured using:
 'configure --with-modules --without-gnutls --without-pop
 --enable-locallisppath=/c/emacs-lisp CFLAGS=-O3
 PKG_CONFIG_PATH=/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig'

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND DBUS NOTIFY ACL LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS MODULES

Important settings:
  value of $LANG: ENG
  locale-coding-system: cp1252

Major mode: Text

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message puny seq byte-opt subr-x gv
bytecomp byte-compile cl-extra help-mode cconv dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg
epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils jka-compr ediff-merg
ediff-wind ediff-diff ediff-mult ediff-help ediff-init cl-loaddefs pcase
cl-lib ediff-util ediff time-date mule-util tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp
disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript case-table
epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote w32notify dbusbind w32
multi-tty make-network-process emacs)

Memory information:
((conses 16 106111 7287)
 (symbols 56 21265 1)
 (miscs 48 53 128)
 (strings 32 22169 5111)
 (string-bytes 1 704255)
 (vectors 16 15240)
 (vector-slots 8 486224 4828)
 (floats 8 62 124)
 (intervals 56 244 19)
 (buffers 976 16))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26385; Package emacs. (Thu, 06 Apr 2017 17:16:02 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Richard Copley <rcopley <at> gmail.com>
Cc: Philipp Stephani <phst <at> google.com>, 26385 <at> debbugs.gnu.org
Subject: Re: bug#26385: Ediff broken
Date: Thu, 6 Apr 2017 13:14:58 -0400
merge 26385 26378
quit

On Thu, Apr 6, 2017 at 1:04 PM, Richard Copley <rcopley <at> gmail.com> wrote:

> Ediff doesn't work, since this commit:
>
>   commit f4b50dad8d5eade04f495c693c0bca46060b25cb
>   Author: Philipp Stephani <phst <at> google.com>
>   Date:   Fri Mar 3 18:36:08 2017 +0100

There's a patch for this at
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26378#29




Merged 26378 26385. Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Thu, 06 Apr 2017 17:16:02 GMT) Full text and rfc822 format available.

Merged 26378 26385 26394. Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Fri, 07 Apr 2017 20:42:02 GMT) Full text and rfc822 format available.

Added tag(s) fixed. Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Fri, 07 Apr 2017 22:30:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 26378 <at> debbugs.gnu.org and Kaushal Modi <kaushal.modi <at> gmail.com> Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Fri, 07 Apr 2017 22:30:03 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. (Tue, 09 May 2017 11:24:06 GMT) Full text and rfc822 format available.

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

Previous Next


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