* toggle-read-only / vc stupidity
@ 2007-10-28 1:39 Miles Bader
2007-10-29 3:31 ` Stefan Monnier
2007-10-29 9:22 ` Richard Stallman
0 siblings, 2 replies; 3+ messages in thread
From: Miles Bader @ 2007-10-28 1:39 UTC (permalink / raw)
To: emacs-devel
toggle-read-only sometimes gives a message like:
File is under version-control; use C-x v v to check in/out
1) Such a message may make sense with RCS, but it's just confusing
with any modern source-control system (even CVS!). [I'm using arch]
2) I only seem to get the message for files that _aren't_ under
version-control (but are in a version-controlled directory)!
[I suppose maybe what's happening is that it's backend-specific for
registered files, but uses some generic code for non-registered
files??]
-Miles
--
Is it true that nothing can be known? If so how do we know this? -Woody Allen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: toggle-read-only / vc stupidity
2007-10-28 1:39 toggle-read-only / vc stupidity Miles Bader
@ 2007-10-29 3:31 ` Stefan Monnier
2007-10-29 9:22 ` Richard Stallman
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2007-10-29 3:31 UTC (permalink / raw)
To: Miles Bader; +Cc: emacs-devel
> toggle-read-only sometimes gives a message like:
> File is under version-control; use C-x v v to check in/out
IIRC This should only happen when a file under VC is read-only and you make
the buffer read-write with C-x C-q. The warning is present to remind people
that C-x C-q doesn't do vc-toggle-read-only any more.
> 1) Such a message may make sense with RCS, but it's just confusing
> with any modern source-control system (even CVS!). [I'm using arch]
Actually I think it makes sense (or not) for any backend since it's just
linked to the change from vc-toggle-read-only to vc-toggle-read-only.
> 2) I only seem to get the message for files that _aren't_ under
> version-control (but are in a version-controlled directory)!
That's a bug.
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: toggle-read-only / vc stupidity
2007-10-28 1:39 toggle-read-only / vc stupidity Miles Bader
2007-10-29 3:31 ` Stefan Monnier
@ 2007-10-29 9:22 ` Richard Stallman
1 sibling, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2007-10-29 9:22 UTC (permalink / raw)
To: Miles Bader; +Cc: emacs-devel
File is under version-control; use C-x v v to check in/out
It is just a helpful message -- it doesn't change what
toggle-read-only actually does.
The original reason for it was that formerly C-x C-q actually did a
check-in or check-out. That was natural with RCS. When we changed
C-x C-q not to do VC operations, we wanted to warn users who still
expected it to do so.
That change was released in Emacs 22, so it is too soon
to get rid of the warning.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-29 9:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-28 1:39 toggle-read-only / vc stupidity Miles Bader
2007-10-29 3:31 ` Stefan Monnier
2007-10-29 9:22 ` Richard Stallman
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.