unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Disabling VC:  Documentation seems inadequate.
@ 2003-12-03 20:45 Alan Mackenzie
  2003-12-03 20:59 ` Stefan Monnier
  2003-12-03 21:02 ` Andre Spiegel
  0 siblings, 2 replies; 6+ messages in thread
From: Alan Mackenzie @ 2003-12-03 20:45 UTC (permalink / raw)


[-- Attachment #1: Type: TEXT/PLAIN, Size: 642 bytes --]

The VC (version control) bit of Emacs manual (in files.texi) doesn't
appear to say how to disable VC.  Although it can be figured out, it
takes a lot more effort than I think it should.  Many thanks to Glenn
Morris who helped me figure it out on gnu.emacs.help.

I think files.texi should be amended so that it explicitly states how to
disable VC.  The attached patch does just this.

As a matter of interest, is there any good reason why VC isn't explicitly
coded as a minor mode (with something like `global-vc-mode' analogous to
`global-font-lock-mode'), or is it just the way things are?

-- 
Alan Mackenzie (Munich, Germany)
acm@muc.de


[-- Attachment #2: ChangeLog entry --]
[-- Type: TEXT/PLAIN, Size: 98 bytes --]

2003-12-03  Alan Mackenzie  <acm@muc.de>

	* files.texi: State explicitly how to disable VC.


[-- Attachment #3: files.1.85.texi.diff --]
[-- Type: TEXT/PLAIN, Size: 1528 bytes --]

*** files.1.85.texi	Wed Dec  3 17:06:03 2003
--- files.1.85.acm.texi	Wed Dec  3 20:09:58 2003
***************
*** 1124,1129 ****
--- 1125,1134 ----
  replace SCCS, known as CSSC; if you are using SCCS and don't want to
  make the incompatible change to RCS or CVS, you can switch to CSSC.
  
+   VC is enabled by default in Emacs.  To disable it, set the
+ customizable variable @code{vc-handled-backends} to @code{nil}
+ (@pxref{Customizing VC}).
+ 
  @menu
  * Introduction to VC::  How version control works in general.
  * VC Mode Line::        How the mode line shows version control status.
***************
*** 2494,2500 ****
  control systems VC should handle.  The default value is @code{(RCS CVS
  SCCS)}, so it contains all three version systems that are currently
  supported.  If you want VC to ignore one or more of these systems,
! exclude its name from the list.
  
  The order of systems in the list is significant: when you visit a file
  registered in more than one system (@pxref{Local Version Control}),
--- 2499,2506 ----
  control systems VC should handle.  The default value is @code{(RCS CVS
  SCCS)}, so it contains all three version systems that are currently
  supported.  If you want VC to ignore one or more of these systems,
! exclude its name from the list.  To disable VC entirely, set this
! variable to @code{nil}.
  
  The order of systems in the list is significant: when you visit a file
  registered in more than one system (@pxref{Local Version Control}),

[-- Attachment #4: Type: text/plain, Size: 141 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel

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

end of thread, other threads:[~2003-12-05 17:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-03 20:45 Disabling VC: Documentation seems inadequate Alan Mackenzie
2003-12-03 20:59 ` Stefan Monnier
2003-12-03 21:02 ` Andre Spiegel
2003-12-04 12:46   ` Alan Mackenzie
2003-12-04 16:00     ` Stefan Monnier
2003-12-05 17:07     ` Andre Spiegel

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).