unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andre Spiegel <spiegel@gnu.org>
Cc: Simon Marshall <simon.marshall@misys.com>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	emacs-devel@gnu.org
Subject: Re: [simon.marshall@misys.com: vc-diff uses unknown -L switch]
Date: Fri, 23 Jun 2006 18:35:41 +0100	[thread overview]
Message-ID: <1151084141.18320.19.camel@localhost> (raw)
In-Reply-To: <E1FtXRW-0003AG-Ke@fencepost.gnu.org>

> Whoever looks at this, would you please ack this message
> when it is done?

I've just installed a patch to deal with this.  It uses the same
mechanism that VC already uses to find out if rcsdiff understands the
--brief option.  VC will first try to use -L, and then remember whether
it worked in the new variable vc-diff-knows-L.

The patch assumes that a "diff" that does not understand -L returns
error code 2 when the option is used.  I have not been able to verify
this with Solaris 8 diff, but I'm pretty sure that this is how it's
reported.

If anybody sees a more elegant way to implement this, please don't
hesitate to change it.

  reply	other threads:[~2006-06-23 17:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-17 17:57 [simon.marshall@misys.com: vc-diff uses unknown -L switch] Richard Stallman
2006-06-18 11:35 ` Andre Spiegel
2006-06-21 18:12   ` Stefan Monnier
2006-06-22 22:14     ` Richard Stallman
2006-06-23 17:35       ` Andre Spiegel [this message]
2006-06-23 21:04         ` Kevin Rodgers
2006-06-24  8:31         ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2006-06-26  9:35 Marshall, Simon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1151084141.18320.19.camel@localhost \
    --to=spiegel@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=simon.marshall@misys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).