unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Juri Linkov <juri@linkov.net>
Cc: 19259@debbugs.gnu.org
Subject: bug#19259: 25.0.50; Be able to use `compare-windows' in either direction
Date: Thu, 4 Dec 2014 18:12:34 -0800 (PST)	[thread overview]
Message-ID: <6bd0254b-83b9-43c4-af7c-06116518f567@default> (raw)
In-Reply-To: <878uimkj5m.fsf@mail.linkov.net>

> > Especially when `compare-windows' is used repeatedly (e.g. bound
> > to a repeatable key etc.), it can be helpful to be able to
> > sometimes compare backward, toward bob, instead of always forward,
> > toward eob.  Please add this enhancement.
> 
> Why do you want this feature?  After comparing from the top of the
> buffer you can return to previous matches by popping previous
> positions from the mark ring with `C-u C-SPC C-SPC C-SPC ...'

It's not just about returning to positions.  And you don't necessarily
want to pop, just to navigate.  And show the highlighting.

And you don't necessarily want to start at bob.  (But you might want
to wrap around to there - that is not part of this enhancement request).

Think ediff.  With ediff you can easily go back and forth, either
direction, from any difference position, restoring its highlighting.

You can even jump to a particular difference (`j').  And show the
difference/comparison at point (`g').  The idea is to make
`compare-windows' similarly useful.





  reply	other threads:[~2014-12-05  2:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-02 22:53 bug#19259: 25.0.50; Be able to use `compare-windows' in either direction Drew Adams
2014-12-05  0:57 ` Juri Linkov
2014-12-05  2:12   ` Drew Adams [this message]
2021-07-13 20:52 ` Lars Ingebrigtsen
2021-07-13 21:57   ` bug#19259: [External] : " Drew Adams

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=6bd0254b-83b9-43c4-af7c-06116518f567@default \
    --to=drew.adams@oracle.com \
    --cc=19259@debbugs.gnu.org \
    --cc=juri@linkov.net \
    /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 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).