From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuele Giaquinta Newsgroups: gmane.emacs.devel Subject: vc-revision-other-window problem Date: Mon, 17 Dec 2007 02:06:46 +0100 Message-ID: <20071217010646.GA56945@orion.lan> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1197853756 6021 80.91.229.12 (17 Dec 2007 01:09:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Dec 2007 01:09:16 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 17 02:09:25 2007 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 1J44Ts-0001rC-Tx for ged-emacs-devel@m.gmane.org; Mon, 17 Dec 2007 02:09:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J44TN-0003Jb-CV for ged-emacs-devel@m.gmane.org; Sun, 16 Dec 2007 20:08:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J44TJ-0003JS-Rp for emacs-devel@gnu.org; Sun, 16 Dec 2007 20:08:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J44TB-0003Ig-R8 for emacs-devel@gnu.org; Sun, 16 Dec 2007 20:08:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J44TB-0003Ia-OE for emacs-devel@gnu.org; Sun, 16 Dec 2007 20:08:33 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.157]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J44T3-0000HF-R1 for emacs-devel@gnu.org; Sun, 16 Dec 2007 20:08:33 -0500 Original-Received: by fg-out-1718.google.com with SMTP id d23so210953fga.30 for ; Sun, 16 Dec 2007 17:07:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject:message-id:mime-version:content-type:content-disposition; bh=Ria0uNNe6seh37DhmYjOK+dT8X1EunEdmyX57npPkDg=; b=Vd1wI7hKUXRadGCUc5namsjvHfCFl8tQ6rp3p4u6DVHITDb7TVKwb/U1ajlYp7icFBhMCDC1LkVSj4X5wU+Me5fOQTFJPRLt94ZopRf//oeWlnTm/zf3ZGDN6nFVQxmRzXCVWtkMjtNF56l3mlhl8oerswqCcd5BgV8DkNCqGnE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type:content-disposition; b=M2s2qODX+acRIED+571tUGq/FYsNxYfiEM8aH8DN1x6mAX3kV/CFC8auire2l33NijuZqDZAFze0rX9jKmKFFS8+LGc3cVI12svEHDbV2jlWSsvQCU/bvnlUxBfj5VjNXKJQipLA6hbhk6VCSwA2OL0EOBsafgProv4p1ZQ3pEU= Original-Received: by 10.86.79.19 with SMTP id c19mr5837206fgb.31.1197853649245; Sun, 16 Dec 2007 17:07:29 -0800 (PST) Original-Received: from localhost ( [87.17.101.174]) by mx.google.com with ESMTPS id e20sm1116177fga.2007.12.16.17.07.27 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Dec 2007 17:07:28 -0800 (PST) Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:85197 Archived-At: Hi, in latest cvs vc-revision-other-window hangs in vc-ensure-vc-buffer when called for the second time. The problem seems to be the following code in vc-ensure-vc-buffer (while vc-parent-buffer (set-buffer vc-parent-buffer)) the first time it is fine because vc-parent-buffer is nil, but, since vc-revision-other-window calls vc-find-revision which sets vc-parent-buffer, the second time vc-parent-buffer will have a non nil value. Hope the diagnosis is correct. Emanuele Giaquinta