From: Paul R <paul.r.ml@gmail.com>
To: emacs-devel@gnu.org
Subject: emacs 23 : vc-checkin unable to check-in file not visited
Date: Wed, 12 Nov 2008 22:58:50 +0100 [thread overview]
Message-ID: <87k5b8obc5.fsf@gmail.com> (raw)
Dear emacs developers,
I noticed today that a change in vc-log-edit makes unpossible to
check-in files that are not currently being visited in a buffer. I have
used this facility before on emacs 22, a lot, to commit an Org-mode file
and its archive file (that one was not visited by emacs). I beleive the
incriminated line is :
(with-current-buffer vc-parent-buffer default-directory)
^^^^^^^^^^^^^^^^
This variable does not seem to be defined if the buffer is not being
visited.
Also, I can read in the comments :
;; In a log entry buffer, this is a local variable
;; that points to the buffer for which it was made
;; (either a file, or a directory buffer).
(defvar vc-parent-buffer nil)
In case this new behaviour is the new right thing, please disregard this
notice.
--
Paul
reply other threads:[~2008-11-12 21:58 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=87k5b8obc5.fsf@gmail.com \
--to=paul.r.ml@gmail.com \
--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.