all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andre Spiegel <spiegel@gnu.org>
Cc: xemacs-design@xemacs.org
Subject: Poll: Should C-x C-q do version control operations?
Date: 10 Jun 2002 12:10:13 +0200	[thread overview]
Message-ID: <877kl7a1h6.fsf@eagle.inf.fu-berlin.de> (raw)

Below is a copy of the VC poll that RMS and I wrote up.  I've just
posted this on gnu.emacs.help, comp.emacs, and emacs-pretesters.
Everybody here on emacs-devel is of course also invited to take part.

If you know any other forum where the poll might be appropriate,
please pass it on in that forum.  Is there anything outside USENET or
Emacs mailing lists that you can think of?

I haven't posted it on any XEmacs forum yet; I would like to leave
this decision to the XEmacs people themselves.  But I'd be very happy
to see input from that camp as well.

The poll deliberately has no "expiration date"; we'll collect
responses as long as they are trickling in.  So, there's no need to
rush your replies, but please don't wait forever!

                                * * *

Should C-x C-q do version control operations?

The key C-x C-q's primary meaning is to toggle the read-only status of
a buffer.  When the buffer visits a file under version control, C-x
C-q also checks the file in or out (vc-toggle-read-only).  This
feature was designed so that you cannot accidentally edit a file
without properly checking it out from the version control system.

Arguably, this feature makes sense for version control backends such
as RCS where the version control state is tied to whether a file is
writable or not.  It makes less sense for CVS, at least in its default
mode, where working files are always writable anyway.  So we are
considering changing it.

Here are three alternatives we are considering.  In your reply, please
indicate which of these you would prefer, and, most importantly, why
you think so.

The options are:

  (1) For a file under version control, let C-x C-q check it in or
      out. [The present behavior.]
 
  (2) Let C-x C-q check a file in or out, but only if it is under
      version control AND its version control state is reflected in
      its file permissions (as with RCS in its default mode, and CVS
      when the CVSREAD variable is set).

  (3) Remove the version-control meaning of C-x C-q, so that it only
      controls the buffer read-only flag and never does check-in or
      check-out.

Please start your reply with the sentence "I prefer option (x).",
where x is 1, 2, or 3.  Then, please explain your reasons for this
preference.  Please also describe the concrete situations where you
find it convenient.  We are not going to make our decision by simply
counting "votes"; we want to see what we can learn from the reasons
that people report.

Feel free to propose another alternative if you think it would
be better than those three.

Please send your reply to emacs-vc-poll@gnu.org.

                 reply	other threads:[~2002-06-10 10:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877kl7a1h6.fsf@eagle.inf.fu-berlin.de \
    --to=spiegel@gnu.org \
    --cc=emacs-vc-poll@gnu.org \
    --cc=xemacs-design@xemacs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.