From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: using log-view-mode when a file name is not available Date: Fri, 22 Jun 2007 11:00:10 -0400 Message-ID: References: <200706211618.l5LGIwbe022312@oogie-boogie.ics.uci.edu> <200706220221.l5M2LMS7027500@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182524423 28533 80.91.229.12 (22 Jun 2007 15:00:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Jun 2007 15:00:23 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 22 17:00:21 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 1I1kcW-0003RC-Gt for ged-emacs-devel@m.gmane.org; Fri, 22 Jun 2007 17:00:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1kcW-0006Ef-4J for ged-emacs-devel@m.gmane.org; Fri, 22 Jun 2007 11:00:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I1kcR-0006Ba-Uz for emacs-devel@gnu.org; Fri, 22 Jun 2007 11:00:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I1kcN-00067W-Qn for emacs-devel@gnu.org; Fri, 22 Jun 2007 11:00:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1kcN-00067E-LB for emacs-devel@gnu.org; Fri, 22 Jun 2007 11:00:11 -0400 Original-Received: from tomts20.bellnexxia.net ([209.226.175.74] helo=tomts20-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I1kcN-0007At-6I for emacs-devel@gnu.org; Fri, 22 Jun 2007 11:00:11 -0400 Original-Received: from ceviche.home ([74.12.206.238]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070622150010.MQXF1637.tomts20-srv.bellnexxia.net@ceviche.home> for ; Fri, 22 Jun 2007 11:00:10 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 18F18B4B9B; Fri, 22 Jun 2007 11:00:09 -0400 (EDT) In-Reply-To: <200706220221.l5M2LMS7027500@oogie-boogie.ics.uci.edu> (Dan Nicolaescu's message of "Thu\, 21 Jun 2007 19\:21\:22 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Solaris 8 (1) 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:73628 Archived-At: >> PS: for vc-hg.el and "hg log" output, check the new `log-view-mode' VC >> operation I added in vc.el and which is now used in vc-bzr.el. >> Basically, you should just define a vc-hg-log-view-mode derived mode. > Thanks, I committed a change that did that. > Now one issue is left: the file name does not appear in the hg (and > bzr) log. > log-view-mode really wants a file name when trying to do a diff > between versions. Do you have any idea what to do about that? IIRC the easiest solution is to have vc-hg-print-log insert the name just before running "hg log". Stefan