From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul R Newsgroups: gmane.emacs.devel Subject: emacs 23 : vc-checkin unable to check-in file not visited Date: Wed, 12 Nov 2008 22:58:50 +0100 Message-ID: <87k5b8obc5.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1226527497 5642 80.91.229.12 (12 Nov 2008 22:04:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Nov 2008 22:04:57 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 12 23:05:58 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L0NqO-0002ey-BN for ged-emacs-devel@m.gmane.org; Wed, 12 Nov 2008 23:05:49 +0100 Original-Received: from localhost ([127.0.0.1]:35784 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0NpG-0007sU-3A for ged-emacs-devel@m.gmane.org; Wed, 12 Nov 2008 17:04:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L0Njm-0004oJ-Ss for emacs-devel@gnu.org; Wed, 12 Nov 2008 16:58:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L0Njl-0004nN-2A for emacs-devel@gnu.org; Wed, 12 Nov 2008 16:58:58 -0500 Original-Received: from [199.232.76.173] (port=36859 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0Njk-0004n9-Ll for emacs-devel@gnu.org; Wed, 12 Nov 2008 16:58:56 -0500 Original-Received: from ik-out-1112.google.com ([66.249.90.178]:51217) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L0Njj-0004Jg-Cp for emacs-devel@gnu.org; Wed, 12 Nov 2008 16:58:56 -0500 Original-Received: by ik-out-1112.google.com with SMTP id b32so576815ika.2 for ; Wed, 12 Nov 2008 13:58:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:user-agent:mime-version:content-type; bh=+NPGahYdTANBbxzPmS1qm9uKTqrZnmx/Smm66TATlxg=; b=VvbYW0O49ucDcCW3p6RH3d0NCxnSP54K4m5f45RGntMXYvJVyWH4WyHiGKEUSOeD1U NmKz0lzBefRD9D427bupM5scctkeWsM14enNgoRbvlDeBIAMkpieHCFdLueeyR16DVnT 3cTR9O8RDkj5gg5jDuz6H5Fe0SEvf+hk9dDOY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; b=L9VieqyQDnnDBAutIirYqInYoKz7tVm0LBqK4XTJfaFpmxPqET1BVID8YbzO4WT90n YztV1wrx5FXPamFtWd5LIy/ltgr9u51wApj9MfTRYyRF4q+Naqow1xaAMFBznrFVBoCW YsAX7NIh29oCdaV65IKnSakrKFYnJm+YvJMR4= Original-Received: by 10.86.27.19 with SMTP id a19mr9463121fga.68.1226527132796; Wed, 12 Nov 2008 13:58:52 -0800 (PST) Original-Received: from ubuT42 (pdc35-1-82-242-132-111.fbx.proxad.net [82.242.132.111]) by mx.google.com with ESMTPS id e20sm314343fga.1.2008.11.12.13.58.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 12 Nov 2008 13:58:52 -0800 (PST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:105620 Archived-At: 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