From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: diff-mode misinterprets empty lines. Date: Mon, 14 Jan 2008 16:09:14 -0800 Message-ID: <200801150009.m0F09GKg024286@oogie-boogie.ics.uci.edu> References: <85ir3l767y.fsf@lola.goethe.zz> <87ir3d1tn7.fsf@penguin.cs.ucla.edu> <878x494f9w.fsf@rho.meyering.net> <857ijtwgpw.fsf@lola.goethe.zz> <87k5nt2xga.fsf@rho.meyering.net> <854pexur0g.fsf@lola.goethe.zz> <87hcix827c.fsf@penguin.cs.ucla.edu> <3n4pdrlshh.fsf@fencepost.gnu.org> <6ek5mcgk9n.fsf@fencepost.gnu.org> <8zd4s4gh4s.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200355859 21813 80.91.229.12 (15 Jan 2008 00:10:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jan 2008 00:10:59 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 15 01:11:22 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 1JEZOj-0005QI-KD for ged-emacs-devel@m.gmane.org; Tue, 15 Jan 2008 01:11:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JEZOL-0005jR-1U for ged-emacs-devel@m.gmane.org; Mon, 14 Jan 2008 19:10:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JEZOG-0005hK-IE for emacs-devel@gnu.org; Mon, 14 Jan 2008 19:10:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JEZOG-0005go-3K for emacs-devel@gnu.org; Mon, 14 Jan 2008 19:10:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JEZOF-0005gi-UG for emacs-devel@gnu.org; Mon, 14 Jan 2008 19:10:51 -0500 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JEZOC-0002mv-Om; Mon, 14 Jan 2008 19:10:49 -0500 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id m0F09GKg024286; Mon, 14 Jan 2008 16:09:16 -0800 (PST) In-Reply-To: <8zd4s4gh4s.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon, 14 Jan 2008 17:46:27 -0500") Original-Lines: 23 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 9 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:86922 Archived-At: Glenn Morris writes: > Glenn Morris wrote: > > > Would it suffice to back up over empty lines at the end of a unified > > diff? Ie treat empty-lines as part of a hunk unless they are at the > > very end of the diff? > > Sigh, that won't work in the CVS trunk, where the end of vc-diff > output looks like: > > > > > Diffs between working revision and workfile end here. > > I don't personally like that last line anyway... I would vote to take out that line and the extra empty lines. They are annoying when you want to save the diff to a file and archive it, or mail it to someone else, etc.