all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* vc-cvs-stay-local vs vc-stay-local
@ 2006-04-09 22:22 Jason Rumney
  2006-04-10  0:05 ` Andre Spiegel
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Rumney @ 2006-04-09 22:22 UTC (permalink / raw)



While trying to help a user who was disturbed by the CVS backup files
that Emacs now creates, I came across vc-stay-local. After advising
him to set that to nil, it did not appear to do anything. Apparently
he needs to set vc-cvs-stay-local instead, but there is no mention of
that in the doc string for vc-stay-local, in fact both doc strings are
exactly the same. After starting emacs -Q, vc-stay-local is listed as
a completion for C-h v vc- but vc-cvs-stay-local is not.

Do we need both these variables? If so, the way they interact with
each other is not at all clear, so the doc strings need some work.

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

* Re: vc-cvs-stay-local vs vc-stay-local
  2006-04-09 22:22 vc-cvs-stay-local vs vc-stay-local Jason Rumney
@ 2006-04-10  0:05 ` Andre Spiegel
  0 siblings, 0 replies; 2+ messages in thread
From: Andre Spiegel @ 2006-04-10  0:05 UTC (permalink / raw)
  Cc: emacs-devel

On Sun, 2006-04-09 at 23:22 +0100, Jason Rumney wrote:

> Do we need both these variables? If so, the way they interact with
> each other is not at all clear, so the doc strings need some work.

Thanks for the hint.  vc-stay-local is supposed to be a global setting,
and vc-cvs-stay-local, if defined, is supposed to override it for CVS
only.  The problem is that currently both variables are defined via
defcustom, and so vc-cvs-stay-local always overrides whatever you
specify in vc-stay-local.

This needs to be fixed, you are right.  I'm thinking about a solution.

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

end of thread, other threads:[~2006-04-10  0:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-09 22:22 vc-cvs-stay-local vs vc-stay-local Jason Rumney
2006-04-10  0:05 ` Andre Spiegel

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.