unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [mg: diff-next-line]
@ 2007-08-10  7:08 Han Boetes
  2007-08-13  6:04 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Han Boetes @ 2007-08-10  7:08 UTC (permalink / raw)
  To: emacs-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-13  6:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-10  7:08 [mg: diff-next-line] Han Boetes
2007-08-13  6:04 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).