From: "Eric S. Raymond" <esr@thyrsus.com>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: New VC mode -- review request
Date: Tue, 9 Oct 2007 10:55:24 -0400 [thread overview]
Message-ID: <20071009145523.GA3678@thyrsus.com> (raw)
In-Reply-To: <200710040214.l942EUNr013619@oogie-boogie.ics.uci.edu>
Dan Nicolaescu <dann@ics.uci.edu>:
> mkdir /tmp/test
> mkdir /tmp/test/RCS
> cd /tmp/test
> cp ~/.emacs 1.el
> cp ~/.emacs 2.el
>
> emacs -q 1.el 2.el
>
> C-x v i C-x v v for each of the 2 files. After that they should be
> writable. Quit emacs.
>
> echo foo >> 1.el
> echo foo >> 2.el
>
> emacs -q -l vc.el
> (where vc.el is your vc.el)
>
> C-x v d /tmp/test RET
> Mark the 2 files.
> v u
>
>
> and now that gets an error.
Got it. Turns out buffer-modified-p doesn't behave as I expected on
the nil value returned from get-file-buffer on a nonexistent file.
The fix is trivial.
> BTW, I just found another issue:
> with the same setup as above, do:
> cp ~/.emacs /tmp/test/3.el
>
> emacs -q -l vc.el /tmp/test/3.el
>
> C-x v v
> fails with: "No fileset is available here."
That's correct, because the visited file isn't under version control.
There's a design argument that maybe something different ought to happen here,
but that's an after-the-merge issue.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
next prev parent reply other threads:[~2007-10-09 14:55 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-03 10:35 New VC mode -- review request Eric S. Raymond
2007-10-03 14:31 ` Dan Nicolaescu
2007-10-03 17:00 ` Eric S. Raymond
2007-10-04 0:42 ` Dan Nicolaescu
2007-10-04 2:02 ` Eric S. Raymond
2007-10-04 2:14 ` Dan Nicolaescu
2007-10-09 14:55 ` Eric S. Raymond [this message]
2007-10-09 15:33 ` Dan Nicolaescu
2007-10-09 17:21 ` Eric S. Raymond
2007-10-04 7:18 ` Thien-Thi Nguyen
2007-10-03 21:32 ` Alexandru Harsanyi
2007-10-04 2:24 ` Dan Nicolaescu
2007-10-04 9:46 ` Alexandru Harsanyi
2007-10-04 9:51 ` Eli Zaretskii
2007-10-04 17:27 ` Richard Stallman
2007-10-04 20:32 ` David Kastrup
2007-10-04 2:02 ` Richard Stallman
2007-10-04 2:22 ` Eric S. Raymond
2007-10-05 16:12 ` Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2007-10-05 12:15 Paolo Bonzini
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=20071009145523.GA3678@thyrsus.com \
--to=esr@thyrsus.com \
--cc=dann@ics.uci.edu \
--cc=emacs-devel@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 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.