unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4422: diff-switches is a bad idea
@ 2009-09-13 12:18 Reuben Thomas
  2019-10-01 13:18 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Reuben Thomas @ 2009-09-13 12:18 UTC (permalink / raw)
  To: bug-emacs

I'm using Emacs 23, and I have just been puzzling over why vc-diff
stopped working in CVS checkouts. I eventually traced it to
diff-switches: I have mine set to "-Nur", quite reasonably, I think,
but of course "-r" means something quite different to CVS, and I ended
up with a hard-to-understand error message about tags.

I suggest not using diff-switches (this would also remove some
special-case code, as no other vc command respects a non-vc option
like this.) Yes, some users will have to configure the same thing in
two places, but others will be saved the confusion I had. For the
switches to be commoned up sensibly, a more structured approach to
setting them is needed that takes semantics into account, and that way
lies madness.

-- 
http://rrt.sc3d.org
Imagine someone who has only ever heard music once






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-10-03 14:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-13 12:18 bug#4422: diff-switches is a bad idea Reuben Thomas
2019-10-01 13:18 ` Lars Ingebrigtsen
2019-10-01 13:29   ` Reuben Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-10-01 13:42   ` Eli Zaretskii
2019-10-02 11:47     ` Lars Ingebrigtsen
2019-10-02 15:16       ` Eli Zaretskii
2019-10-03 14:33         ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).