all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs 23 : vc-checkin unable to check-in file not visited
@ 2008-11-12 21:58 Paul R
  0 siblings, 0 replies; only message in thread
From: Paul R @ 2008-11-12 21:58 UTC (permalink / raw)
  To: emacs-devel

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-12 21:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-12 21:58 emacs 23 : vc-checkin unable to check-in file not visited Paul R

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.