From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Samuel Bronson Newsgroups: gmane.emacs.bugs Subject: bug#17441: 24.3; Should not offer to "create an RCS repository" Date: Thu, 08 May 2014 17:15:56 -0400 Message-ID: <87zjis6kfn.fsf@naesten.mooo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1399583836 727 80.91.229.3 (8 May 2014 21:17:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 May 2014 21:17:16 +0000 (UTC) To: 17441@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 08 23:17:09 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WiVgi-0003wy-Op for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 May 2014 23:17:08 +0200 Original-Received: from localhost ([::1]:49557 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiVgi-0001Aw-90 for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 May 2014 17:17:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiVge-0001A1-89 for bug-gnu-emacs@gnu.org; Thu, 08 May 2014 17:17:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WiVgd-0003It-4x for bug-gnu-emacs@gnu.org; Thu, 08 May 2014 17:17:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39010) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiVgc-0003Ig-VN for bug-gnu-emacs@gnu.org; Thu, 08 May 2014 17:17:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WiVgc-0002GX-DW for bug-gnu-emacs@gnu.org; Thu, 08 May 2014 17:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Samuel Bronson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 May 2014 21:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17441 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13995837758631 (code B ref -1); Thu, 08 May 2014 21:17:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 May 2014 21:16:15 +0000 Original-Received: from localhost ([127.0.0.1]:56361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WiVfq-0002F6-A7 for submit@debbugs.gnu.org; Thu, 08 May 2014 17:16:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39803) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WiVfn-0002Et-MK for submit@debbugs.gnu.org; Thu, 08 May 2014 17:16:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WiVfh-0002z0-CD for submit@debbugs.gnu.org; Thu, 08 May 2014 17:16:06 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:55635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiVfh-0002yu-97 for submit@debbugs.gnu.org; Thu, 08 May 2014 17:16:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiVfg-00017J-43 for bug-gnu-emacs@gnu.org; Thu, 08 May 2014 17:16:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WiVff-0002yV-6t for bug-gnu-emacs@gnu.org; Thu, 08 May 2014 17:16:04 -0400 Original-Received: from mail-qa0-x232.google.com ([2607:f8b0:400d:c00::232]:57101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiVff-0002y0-3A for bug-gnu-emacs@gnu.org; Thu, 08 May 2014 17:16:03 -0400 Original-Received: by mail-qa0-f50.google.com with SMTP id j15so3091435qaq.37 for ; Thu, 08 May 2014 14:16:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=4Z6PkOJuivMPcGcxTicQEAZamyGdZ7dHwmAPT8VRTIQ=; b=a+EMGQ1iiHNIeCYQm02cr4T6EEYdOFL9r206o5ik6h3ek3q6h2P0rT+UVtaEO58seq /kTSwhXBCHpEg4Ewomz0WYOro+ykmx3XeUewmx2tstSElRoeXPeHqvv2oFU/nDh1LyZ3 RQGACm6axOi6WlJnMRSJ+SIJPraZYrPdbAjfazo+cbwQGOqlhQLbP2DRHHQzOEFljriu HXNZvU6aWLIwYJnrBKKZpJPdPrJ/gltg5R/wgdFlUHphv+8aWUGMnM8ooLmZGKGSb/O2 3hqZwaDOF/l5uvG2DZ757Y4uutr1Aq5o/HzSfWVW9PYNsFA50vs/yaKJi9au7LNxgFki 43Sg== X-Received: by 10.224.160.142 with SMTP id n14mr8905773qax.17.1399583761910; Thu, 08 May 2014 14:16:01 -0700 (PDT) Original-Received: from hydrogen (naesten-pt.tunnel.tserv4.nyc4.ipv6.he.net. [2001:470:1f06:57::2]) by mx.google.com with ESMTPSA id r15sm2683105qgr.15.2014.05.08.14.15.59 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 08 May 2014 14:16:00 -0700 (PDT) Original-Received: from naesten by hydrogen with local (Exim 4.82) (envelope-from ) id 1WiVfY-00078h-QY for bug-gnu-emacs@gnu.org; Thu, 08 May 2014 17:15:57 -0400 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:88803 Archived-At: 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 C-x v v R y n o 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: # [2 times]