unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: 12153@debbugs.gnu.org
Subject: bug#12153: 24.1.50; vc-checkin fails when buffers of files doesn't exist.
Date: Tue, 07 Aug 2012 12:00:37 -0400	[thread overview]
Message-ID: <b48vdqd74q.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87393zdp7q.fsf@gmail.com> (Thierry Volpiatto's message of "Tue,  07 Aug 2012 11:30:01 +0200")

Thierry Volpiatto wrote:

> trying to use `vc-checkin' from lisp, I found that it is not usable when
> the buffers of the files I want to commit are not present.
> This is due I think to the concept of `with-vc-properties' that need
> some buffer properties to get info on files (there is a note about this in
> the definition of `vc-checkin').

I don't understand why you think this is a bug. Why not just ensure the
buffers exist, if that is what the function requires?

> I understand that when commiting changes vc can expect the buffer of the
> modified file is present, but when adding new files, this may not be
> true.

But obviously you can make it true. I've committed new files many times
from VC with no problem.

> Also when an eshell buffer is present, vc ask about this buffer, which
> is wrong (but that's maybe another bug).

Sounds like.





  reply	other threads:[~2012-08-07 16:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-07  9:30 bug#12153: 24.1.50; vc-checkin fails when buffers of files doesn't exist Thierry Volpiatto
2012-08-07 16:00 ` Glenn Morris [this message]
2012-08-08  6:40   ` Thierry Volpiatto
2021-07-15 20:44 ` Lars Ingebrigtsen
2021-08-13 12:36   ` 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=b48vdqd74q.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=12153@debbugs.gnu.org \
    --cc=thierry.volpiatto@gmail.com \
    /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).