all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Kai Grossjohann <kai@emptydomain.de>, emacs-devel@gnu.org
Subject: Re: [patch] add interactive browse of revisions from vc *Annotate* buffers
Date: 20 Jan 2004 13:26:14 -0500	[thread overview]
Message-ID: <jwvad4ih4az.fsf-monnier+emacs/devel@asado.iro.umontreal.ca> (raw)
In-Reply-To: <wc3isj6o9fh.fsf@mu.cis.ohio-state.edu>

> I feel that the one time when line positions would be "more correct"
> would be when there are only minor changes to a file during successive
> revisions.

There's no perfect answer.  Sometimes lines are better, sometimes chars
are better.  But chars are simpler to implement, so I recommend to use them.

Another thing you might want to do is to look at the context rather than
just buffer positions.  This works as long as the text around point hasn't
changed much.  Or to go a step further do a diff between the old buffer and
the new, so that if point was in a part of the tex that's unchanged, you
can find the exact same spot and other wise, you can estimate where to go.
But maybe this is way overkill ;-) ?

> This discussion brings up another point:  I'd also like to preserve
> the column, since the annotate buffer can be very wide (it's usually >
> 80 columns, even if the original source code is < 80 columns).  If
> you've spend the energy to h-scroll to the right, then I don't think I
> should make you h-scroll again every time you browse another revision.

Maybe you're lucky to work on small files whose RCS archive is stored
locally, but at least in my situation `vc-annotate' is a command that only
use when nothing else works because it takes ages to show up, so I don't see
the point in having short keybindings for revision-navigation and don't see
the point either is saving you from hitting C-e to display the other half of
the buffer.


        Stefan

  reply	other threads:[~2004-01-20 18:26 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-12  2:54 [patch] add interactive browse of revisions from vc *Annotate* buffers Benjamin Rutt
2004-01-12  5:30 ` Andre Spiegel
2004-01-12 11:06 ` Kim F. Storm
2004-01-12 13:58   ` Benjamin Rutt
2004-01-12 17:11     ` Kim F. Storm
2004-01-12 17:20       ` Benjamin Rutt
2004-01-12 20:09         ` Andre Spiegel
2004-01-12 20:35           ` Benjamin Rutt
2004-01-13 10:57             ` Kim F. Storm
2004-01-14 15:45               ` Richard Stallman
2004-01-14 21:55                 ` Kim F. Storm
2004-01-15 19:58                   ` Andre Spiegel
2004-01-16 10:40                   ` Richard Stallman
2004-01-16 16:30                     ` Kim F. Storm
2004-01-17 12:55                       ` Richard Stallman
2004-01-17 21:34                         ` Benjamin Rutt
2004-01-19 13:33                           ` Andre Spiegel
2004-01-19 20:39                             ` Kai Grossjohann
2004-01-19 20:54                               ` Benjamin Rutt
2004-01-20  1:28                                 ` Kim F. Storm
2004-01-20 15:31                                   ` Richard Stallman
2004-01-21 11:26                                     ` Kim F. Storm
2004-01-21 14:15                                       ` Stefan Monnier
2004-01-21 16:39                                         ` Kim F. Storm
2004-01-21 18:38                                           ` Stefan Monnier
2004-01-22 22:06                                             ` Kim F. Storm
2004-01-22 23:39                                               ` Andre Spiegel
2004-01-23  1:54                                                 ` Benjamin Rutt
2004-01-22 19:00                                           ` Richard Stallman
2004-01-23  2:02                                           ` Miles Bader
2004-02-07  2:06                                             ` Kim F. Storm
2004-01-20 18:11                                 ` Kevin Rodgers
2004-01-20 15:32                               ` Stefan Monnier
2004-01-20 16:45                                 ` Benjamin Rutt
2004-01-20 18:26                                   ` Stefan Monnier [this message]
2004-01-20 20:10                                     ` Benjamin Rutt
2004-01-19 21:13                             ` Benjamin Rutt
2004-01-20 17:58                               ` Andre Spiegel
2004-01-20 20:05                                 ` Benjamin Rutt
2004-01-20 20:33                                   ` Stefan Monnier
2004-01-20 22:28                                     ` Benjamin Rutt
2004-01-22 23:20                                       ` Kevin Rodgers
2004-01-22 23:40                                         ` 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=jwvad4ih4az.fsf-monnier+emacs/devel@asado.iro.umontreal.ca \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=kai@emptydomain.de \
    /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.