unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Samuel Bronson <naesten@gmail.com>
To: 17441@debbugs.gnu.org
Subject: bug#17441: 24.3; Should not offer to "create an RCS repository"
Date: Thu, 08 May 2014 17:15:56 -0400	[thread overview]
Message-ID: <87zjis6kfn.fsf@naesten.mooo.com> (raw)

Okay, so, I just went to "register" a file with RCS in my habitual way
by doing "C-x v v" to invoke `vc-register'.

For some reason, it suddenly decided there was some question as to what
VCS to use, so I told it to go with RCS.

Now the really stupid part: it wanted to create an "RCS repository",
whatever that is, and it *ASKED ME WHAT DIRECTORY* it should do that in.

(Looking at the `vc-rcs' package source, it seems its idea of making an
RCS repository is basically "mkdir RCS" in the directory in question.)

So, since I really didn't want one here, I told it to make one in "~/".

Then, it asked me the more familiar question:
"Create RCS subdirectory?", to which I always say "no".

There are THREE things wrong with this picture:

1. Making an "RCS" directory in some parent directory is totally beside
   the point; it might as well offer to show me pictures of cats.

2. If I nevertheless ask for a repository in the parent directory,
   I get prompted again right away.

3. As you can see, even `vc-rcs' considers creating an "RCS directory to
   be of questionable desirability: that was, after all, the one
   question it asked me. However, it doesn't even ask every time,
   instead, it look checks for clues:
   
   a. Do you have one already? No point making one then.

   b. Do you already have other RCS ",v" files in this directory?
      If so, you presumably don't want the RCS directory.

   Only if those two checks are both inconclusive does it even bother to
   ask.

   However, `vc-backend-for-registration' just stomps all over all of
   that attention to detail and offers to create the "repository" before
   `vc-rcs-register' even has a chance to start.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

In GNU Emacs 24.3.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of
 2013-12-22 on binet, modified by Debian Windowing system distributor
 `Colin Harrison', version 11.0.60900031 System Description: Debian
 GNU/Linux testing (jessie)

Configured using:
 `configure '--build' 'i486-linux-gnu' '--build' 'i486-linux-gnu'
 '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
 '--localstatedir=/var/lib' '--infodir=/usr/share/info'
 '--mandir=/usr/share/man' '--with-pop=yes'
 '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp'
 '--with-crt-dir=/usr/lib/i386-linux-gnu' '--with-x=yes'
 '--with-x-toolkit=lucid' '--with-toolkit-scroll-bars' '--without-gconf'
 '--without-gsettings' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2
 -fstack-protector --param=ssp-buffer-size=4 -Wformat
 -Werror=format-security -Wall' 'LDFLAGS=-Wl,-z,relro'
 'CPPFLAGS=-D_FORTIFY_SOURCE=2''

Recent input:
C-x C-f f o o . c <return> C-x v v <tab> 
R <tab> <return> <C-backspace> <return> y n o <return> 

Recent messages:
(New file)
Making completion list...
arg ~/
Buffer foo.c modified; save it? (y or n)  y
Saving file /home/naesten/hacking/foo.c...
Wrote /home/naesten/hacking/foo.c
Registering (/home/naesten/hacking/foo.c)... done
call-interactively: Buffer is read-only: #<buffer foo.c> [2 times]





             reply	other threads:[~2014-05-08 21:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-08 21:15 Samuel Bronson [this message]
2021-01-20  2:21 ` bug#17441: 24.3; Should not offer to "create an RCS repository" Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87zjis6kfn.fsf@naesten.mooo.com \
    --to=naesten@gmail.com \
    --cc=17441@debbugs.gnu.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 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).