GNU bug report logs - #36157
27.0.50; ediff-files does not work after lexical-binding was enabled for ediff

Previous Next

Package: emacs;

Reported by: Kaushal Modi <kaushal.modi <at> gmail.com>

Date: Mon, 10 Jun 2019 03:13:01 UTC

Severity: important

Merged with 36281

Found in version 27.0.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Richard Stallman <rms <at> gnu.org>
To: Alex Branham <alex.branham <at> gmail.com>
Cc: 36157 <at> debbugs.gnu.org, kaushal.modi <at> gmail.com
Subject: bug#36157: 27.0.50; ediff-files does not work after lexical-binding was enabled for ediff
Date: Sat, 15 Jun 2019 22:35:21 -0400
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > I'm not 100% sure what you're asking here, but ediff uses variables to
  > store information and then passes those to functions. So in one function
  > it'll do something like this:

  > (setq file-A "/path/to/foo.el")
  > (setq buff-A (get-buffer-create "foo.el"))
  > (ediff-find-file file-A buff-A)

It should add prefixes to those variable names, to avoid conflict.

Then it could defvar those variables to make them always-dynamic.

-- 
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






This bug report was last modified 5 years and 342 days ago.

Previous Next


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