From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Han Boetes Newsgroups: gmane.emacs.devel Subject: [mg: diff-next-line] Date: Fri, 10 Aug 2007 09:08:32 +0200 Message-ID: <20070810070855.GK21516@boetes.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186731390 21481 80.91.229.12 (10 Aug 2007 07:36:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Aug 2007 07:36:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 10 09:36:28 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 1IJP2p-0001st-GC for ged-emacs-devel@m.gmane.org; Fri, 10 Aug 2007 09:36:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJP2o-0004Ab-W4 for ged-emacs-devel@m.gmane.org; Fri, 10 Aug 2007 03:36:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IJOcE-0005uR-Sa for emacs-devel@gnu.org; Fri, 10 Aug 2007 03:08:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IJOcE-0005tr-1T for emacs-devel@gnu.org; Fri, 10 Aug 2007 03:08:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJOcD-0005tk-Ug for emacs-devel@gnu.org; Fri, 10 Aug 2007 03:08:57 -0400 Original-Received: from boetes.org ([213.84.147.9]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IJOcD-0002d3-CG for emacs-devel@gnu.org; Fri, 10 Aug 2007 03:08:57 -0400 Original-Received: (qmail 30292 invoked by uid 1000); 10 Aug 2007 07:08:55 -0000 Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) X-Detected-Kernel: OpenBSD 3.0-3.9 X-Mailman-Approved-At: Fri, 10 Aug 2007 03:36:17 -0400 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:76314 Archived-At: Hi, This is a message from Kjell Wooding, the OpenBSD maintainer of mg -- micro gnu emacs -- a mini emacs clone: ----- Forwarded message from kjell@pintday.org ----- This diff adds a "diff-next-line" command to mg. Basically, it compares the current line (starting at dot) to the line following, advancing the cursor to the first character that is different (or eol, if none). Note: character under the cursor is ignored, so the command can be used multiple times in a row to find successive differences It's purpose should be obvious. If are editing a diff, and you want to know exactly where two lines differ, this will do it. I don't know if emacs has an equivalent command. (if so, let me know, and I'll adjust this feature to match) Comments? [snip: patch] ----- End forwarded message ----- Doesn't this look like an interesting feature for diff-mode? # Han