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: Index header in diff-mode Date: Thu, 08 Dec 2005 11:46:48 -0500 Message-ID: References: <873bl4f9wd.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1134066396 16279 80.91.229.2 (8 Dec 2005 18:26:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Dec 2005 18:26:36 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 08 19:26:26 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EkQPX-0008Gh-Hz for ged-emacs-devel@m.gmane.org; Thu, 08 Dec 2005 19:22:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EkQPp-0002B6-Ls for ged-emacs-devel@m.gmane.org; Thu, 08 Dec 2005 13:22:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EkOvN-0006Or-0o for emacs-devel@gnu.org; Thu, 08 Dec 2005 11:47:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EkOvM-0006OH-A0 for emacs-devel@gnu.org; Thu, 08 Dec 2005 11:47:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EkOvJ-0006Ns-FJ for emacs-devel@gnu.org; Thu, 08 Dec 2005 11:47:15 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EkOwM-0008Dr-Jv for emacs-devel@gnu.org; Thu, 08 Dec 2005 11:48:18 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id ED4D133E602; Thu, 8 Dec 2005 11:46:53 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id C160A4AC05B; Thu, 8 Dec 2005 11:46:48 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id A1F7FE6C19; Thu, 8 Dec 2005 11:46:48 -0500 (EST) Original-To: Juri Linkov In-Reply-To: <873bl4f9wd.fsf@jurta.org> (Juri Linkov's message of "Thu, 08 Dec 2005 09:44:19 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.853, requis 5, autolearn=not spam, AWL 0.05, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca 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:47237 Archived-At: > cvs diff generates index headers that look like > Index: lisp/simple.el > =================================================================== > RCS file: /cvsroot/emacs/emacs/lisp/simple.el,v > retrieving revision 1.777 > diff -u -r1.777 simple.el > After saving them to files and visiting in diff-mode, sometimes I type > `C-c C-c' or `RET' on such index headers with the intention to visit the > first hunk. But instead, it visits the last hunk of the previous file > in the same multi-file diff. Wouldn't it be better to handle the index > header as part of the file header? I think you're right. Feel free to make this change, Stefan