all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Han Boetes <han@mijncomputer.nl>
To: emacs-devel@gnu.org
Subject: [mg: diff-next-line]
Date: Fri, 10 Aug 2007 09:08:32 +0200	[thread overview]
Message-ID: <20070810070855.GK21516@boetes.org> (raw)

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

             reply	other threads:[~2007-08-10  7:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-10  7:08 Han Boetes [this message]
2007-08-13  6:04 ` [mg: diff-next-line] Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070810070855.GK21516@boetes.org \
    --to=han@mijncomputer.nl \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.