unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: vc-cvs-global-switches and -f
Date: Tue, 21 Jun 2005 16:49:49 -0400	[thread overview]
Message-ID: <jwv3brbh1x3.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <f7ccd24b050620182851aec60d@mail.gmail.com> (Juanma Barranquero's message of "Tue, 21 Jun 2005 03:28:55 +0200")

> I was running "emacs.exe -Q" today and was puzzled to see that the
> output of `vc-diff' talked about "conflicting specifications of output
> style", until I remembered that I have an entry on ~/.cvsrc which
> says: "diff -u2", and the default style for VC is "-c".

> So the question is: why does Emacs by default assume that it is safe
> to use .cvsrc? It seems  to me that having "-f" as default for
> `vc-cvs-global-switches' would be more logical, specially because in a
> situation like mine above, having it set on my .emacs wouldn't have
> helped.

I for one would be annoyed to have to re-specify in Emacs the options I've
already set globally in my ~/.cvsrc.

In PCL-CVS I slove this dilemma by parsing the ~/.cvsrc file in order to set
the default value of config vars.


        Stefan

  reply	other threads:[~2005-06-21 20:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-21  1:28 vc-cvs-global-switches and -f Juanma Barranquero
2005-06-21 20:49 ` Stefan Monnier [this message]
2005-06-21 22:24   ` Juanma Barranquero
2005-06-22  3:31     ` Stefan Monnier
2005-06-22  3:51       ` Juanma Barranquero
2005-06-22 10:08         ` Andre Spiegel
2005-06-22 10:41           ` Juanma Barranquero
2005-06-22 11:48             ` Andre Spiegel
2005-06-22 11:48             ` Stefan Monnier
2005-06-22 13:03               ` Juanma Barranquero

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=jwv3brbh1x3.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    /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).