all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* turning off VC?
@ 2003-02-03 13:00 Steve Summit
  2003-02-03 13:27 ` Kai Großjohann
  2003-02-03 17:46 ` Kevin Rodgers
  0 siblings, 2 replies; 6+ messages in thread
From: Steve Summit @ 2003-02-03 13:00 UTC (permalink / raw)


Sometimes, when I edit a file which happens to have a
corresponding ,v file under the RCS subdirectory, I get a
"*vc-info*" window popping up listing error messages explaining
why VC "Couldn't find version control information".  At one
level, the error messages are perfectly understandable: I use
an extended version of RCS which is, alas, evidently not 100%
compatible with the standard RCS utilities in /usr/bin/.
(Mine uses some extensions which are unrecognized by the standard
version, and it also fails to use a certain extension -- the
`branches' keyword -- which is unaccountably required by the
standard version.)

At another level, though, the fact that these errors are
occurring is rather perplexing, although at the same time I'm
almost glad of them, because there's a certain implication that
if it weren't for the errors, emacs would be able to, and would,
automatically check files in to or out of RCS for me, which I
certainly wouldn't want it to do.

At any rate, the error messages are distracting and a real
nuisance.  Is there any way to tell emacs *not* to look for RCS
subdirectories and corresponding ,v files, and *not* to attempt
to invoke any RCS commands automatically?

This is for emacs 20 (specifically, GNU emacs 20.7.1), if it 
makes a difference.

					Steve Summit
					scs@eskimo.com

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

* Re: turning off VC?
  2003-02-03 13:00 turning off VC? Steve Summit
@ 2003-02-03 13:27 ` Kai Großjohann
  2003-02-05  9:11   ` Lee Sau Dan
  2003-02-03 17:46 ` Kevin Rodgers
  1 sibling, 1 reply; 6+ messages in thread
From: Kai Großjohann @ 2003-02-03 13:27 UTC (permalink / raw)


scs@eskimo.com (Steve Summit) writes:

> At another level, though, the fact that these errors are
> occurring is rather perplexing, although at the same time I'm
> almost glad of them, because there's a certain implication that
> if it weren't for the errors, emacs would be able to, and would,
> automatically check files in to or out of RCS for me, which I
> certainly wouldn't want it to do.

No, Emacs only checks in/out if you invoke C-x v v, or another,
similar command.  By default, Emacs just displays the version number
in the mode line.

Maybe it helps to set the right variables, telling Emacs where to
find the non-standard RCS executables?
-- 
A turnip curses Elvis

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

* Re: turning off VC?
  2003-02-03 13:00 turning off VC? Steve Summit
  2003-02-03 13:27 ` Kai Großjohann
@ 2003-02-03 17:46 ` Kevin Rodgers
  2003-02-03 19:04   ` Eli Zaretskii
  2003-02-03 20:30   ` Robert Marshall
  1 sibling, 2 replies; 6+ messages in thread
From: Kevin Rodgers @ 2003-02-03 17:46 UTC (permalink / raw)


Steve Summit wrote:

> At any rate, the error messages are distracting and a real
> nuisance.  Is there any way to tell emacs *not* to look for RCS
> subdirectories and corresponding ,v files, and *not* to attempt
> to invoke any RCS commands automatically?

Why isn't this in etc/FAQ?


(remove-hook 'find-file-hooks 'vc-find-file-hook)
(remove-hook 'find-file-not-found-hooks 'vc-file-not-found-hook)

-- 
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

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

* Re: turning off VC?
  2003-02-03 17:46 ` Kevin Rodgers
@ 2003-02-03 19:04   ` Eli Zaretskii
  2003-02-03 20:30   ` Robert Marshall
  1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2003-02-03 19:04 UTC (permalink / raw)


> From: Kevin Rodgers <kevin.rodgers@ihs.com>
> Newsgroups: comp.emacs,gnu.emacs.help
> Date: Mon, 03 Feb 2003 10:46:03 -0700
> 
> Why isn't this in etc/FAQ?

Probably because this question isn't frequent enough...

Anyway, etc/FAQ is long gone; we now have info/efaq-* (the FAQ was
reformatted into Texinfo).

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

* Re: turning off VC?
  2003-02-03 17:46 ` Kevin Rodgers
  2003-02-03 19:04   ` Eli Zaretskii
@ 2003-02-03 20:30   ` Robert Marshall
  1 sibling, 0 replies; 6+ messages in thread
From: Robert Marshall @ 2003-02-03 20:30 UTC (permalink / raw)


On Mon, 03 Feb 2003, kevin.rodgers@ihs.com wrote:

> Steve Summit wrote:
> 
>> At any rate, the error messages are distracting and a real
>> nuisance.  Is there any way to tell emacs *not* to look for RCS
>> subdirectories and corresponding ,v files, and *not* to attempt
>> to invoke any RCS commands automatically?
> 
> (remove-hook 'find-file-hooks 'vc-find-file-hook)
> (remove-hook 'find-file-not-found-hooks 'vc-file-not-found-hook)
> 

As another way

> vc-handled-backends's value is (CVS RCS SCCS)


> *List of version control backends for which VC will be used.
> Entries in this list will be tried in order to determine whether a
> file is under that sort of version control.
> Removing an entry from the list prevents VC from being activated
> when visiting a file managed by that backend.
> An empty list disables VC altogether.

Though I think vc-handled-backends was only introduced in emacs 21, so
it might not solve the OP's problem

R
-- 
Take me to the world
A world that smiles
With streets instead of aisles

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

* Re: turning off VC?
  2003-02-03 13:27 ` Kai Großjohann
@ 2003-02-05  9:11   ` Lee Sau Dan
  0 siblings, 0 replies; 6+ messages in thread
From: Lee Sau Dan @ 2003-02-05  9:11 UTC (permalink / raw)


>>>>> "Kai" == Kai Großjohann <kai.grossjohann@uni-duisburg.de> writes:

    Kai> scs@eskimo.com (Steve Summit) writes:
    >> At another level, though, the fact that these errors are
    >> occurring is rather perplexing, although at the same time I'm
    >> almost glad of them, because there's a certain implication that
    >> if it weren't for the errors, emacs would be able to, and
    >> would, automatically check files in to or out of RCS for me,
    >> which I certainly wouldn't want it to do.

    Kai> No, Emacs only checks in/out if you invoke C-x v v, or
    Kai> another, similar command.  By default, Emacs just displays
    Kai> the version number in the mode line.

You're right in general.  However, if  you try to visit a missing file
"foo.c" and Emacs discovers that there  is a "foo.c,v", it does try to
check it out automatically.


    Kai> Maybe it helps to set the right variables, telling Emacs
    Kai> where to find the non-standard RCS executables?

Sure.  


-- 
Lee Sau Dan                     李守敦(Big5)                    ~{@nJX6X~}(HZ) 

E-mail: danlee@informatik.uni-freiburg.de
Home page: http://www.informatik.uni-freiburg.de/~danlee

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

end of thread, other threads:[~2003-02-05  9:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-03 13:00 turning off VC? Steve Summit
2003-02-03 13:27 ` Kai Großjohann
2003-02-05  9:11   ` Lee Sau Dan
2003-02-03 17:46 ` Kevin Rodgers
2003-02-03 19:04   ` Eli Zaretskii
2003-02-03 20:30   ` Robert Marshall

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.