bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compare-windows should allow backwards comparing


From: Juri Linkov
Subject: Re: compare-windows should allow backwards comparing
Date: Wed, 29 Dec 2004 03:45:18 +0200
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Dan Jacobson <jidanni@jidanni.org> writes:
> compare-windows should allow backwards comparing, i.e., marching
> upwards, not just always downwards.

Great idea!  I often need this too.  Like searching for a text with
C-s needs the reverse key C-r to return to the previous matches,
searching for the differences needs the reverse function too.

And it seems it is easily implementable: just changing `forward' to
`backward' in some function names and changing the sign in some
arithmetic operations.

But what would be the best UI for this?  `compare-windows' already
has a prefix arg `ignore-whitespace', so using a prefix key to
switch the direction is not possible.  Maybe creating the new
command `compare-windows-backward' is enough?

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]