GNU bug report logs -
#4422
diff-switches is a bad idea
Previous Next
Reported by: Reuben Thomas <rrt <at> sc3d.org>
Date: Sun, 13 Sep 2009 12:25:05 UTC
Severity: wishlist
Tags: fixed, moreinfo
Fixed in version 27.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
[Message part 1 (text/plain, inline)]
On Tue, 1 Oct 2019 at 14:18, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
>
> I'm not extremely familiar with the vc code, but looking at it in Emacs
> 27, at least, the switches for diff in CVS comes from
> vc-cvs-diff-switches, if I read the `vc-switches' function correctly.
>
> So has this problem gone away in the years since this was reported?
>
Not as far as I can tell. It is still necessary for me to set
`vc-diff-switches` explicitly, e.g. to `t`, meaning "no switches". From the
docstring for vc-switches:
In decreasing order of preference, return the value of:
vc-BACKEND-OP-switches (e.g. `vc-cvs-diff-switches');
vc-OP-switches (e.g. `vc-diff-switches'); or, in the case of
diff only, `diff-switches'.
In other words, `diff-switches` is still used by vc.el, and I still think
that's a bad idea.
--
https://rrt.sc3d.org
[Message part 2 (text/html, inline)]
This bug report was last modified 5 years and 293 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.