all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Version control:  How do I switch it off?
@ 2003-11-29 15:48 Alan Mackenzie
  2003-11-30 12:50 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Mackenzie @ 2003-11-29 15:48 UTC (permalink / raw)


Emacs 21.1

I've just been having problems with version control getting in the way of
me loading and saving files.  Sometimes writeable files get loaded into
RO buffers.  Sometimes trying to save files signals errors.  Trying to
make buffers writeable/read only sometimes causes Emacs to try to check
files in/out.[*]  This has got me angry.  I don't need this hassle.

For me, version control and the editing of files are distinct activities,
and I do all my CVS stuff from a command line.  I would like Emacs to
allow me edit MY files on MY hard disk without having to jump through
hoops.

I didn't put anything into my .emacs to enable VC.  The manual (Emacs
info, page "Version Control") doesn't seem to say how to disable it.
What do I have to put into my .emacs to do this?

Thanks in anticipation.

[*] To be fair, at least one of these problems seems to have been fixed
in 21.3.

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

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

* Re: Version control:  How do I switch it off?
  2003-11-29 15:48 Version control: How do I switch it off? Alan Mackenzie
@ 2003-11-30 12:50 ` Glenn Morris
  2003-12-03 21:01   ` Alan Mackenzie
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2003-11-30 12:50 UTC (permalink / raw)



Alan Mackenzie wrote:

> I didn't put anything into my .emacs to enable VC.  The manual (Emacs
> info, page "Version Control") doesn't seem to say how to disable it.
> What do I have to put into my .emacs to do this?

(setq vc-handled-backends nil)

will disable VC. This variable is mentioned in the "Customizing VC"
node of the manual, although it doesn't explicitly say how to turn
off VC altogether with it. Its docstring does though.

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

* Re: Version control:  How do I switch it off?
  2003-11-30 12:50 ` Glenn Morris
@ 2003-12-03 21:01   ` Alan Mackenzie
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Mackenzie @ 2003-12-03 21:01 UTC (permalink / raw)


Glenn Morris <gmorris+news@ast.cam.ac.uk> wrote on Sun, 30 Nov 2003
12:50:01 +0000:

> Alan Mackenzie wrote:

>> I didn't put anything into my .emacs to enable VC.  The manual (Emacs
>> info, page "Version Control") doesn't seem to say how to disable it.
>> What do I have to put into my .emacs to do this?

> (setq vc-handled-backends nil)

> will disable VC. This variable is mentioned in the "Customizing VC"
> node of the manual, although it doesn't explicitly say how to turn off
> VC altogether with it. Its docstring does though.

Thanks, Glenn.  This works fine.

I've submitted a documentation patch.

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

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

end of thread, other threads:[~2003-12-03 21:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-29 15:48 Version control: How do I switch it off? Alan Mackenzie
2003-11-30 12:50 ` Glenn Morris
2003-12-03 21:01   ` Alan Mackenzie

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.