all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: limit the number of log entries displayed by C-x v l
Date: Fri, 20 Nov 2009 08:19:24 +0100	[thread overview]
Message-ID: <87bpixk6ir.fsf@tux.homenetwork> (raw)
In-Reply-To: <200911200659.nAK6xpkt020046@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Thu, 19 Nov 2009 22:59:51 -0800 (PST)")

Dan Nicolaescu <dann@ics.uci.edu> writes:

> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
>   > Stefan Monnier <monnier@iro.umontreal.ca> writes:
>   > 
>   > >>> Having tried it on Bzr I see that it's still sufficiently slow with that
>   > >>> backend, that I might prefer to see the complete log so I can then
>   > >>> navigate it to see the various revisions I'm interested in, rather than
>   > >>> get a single-comment N times.
>   > >> Then one can just do C-x v l ...
>   > >
>   > > Good point.
>   > >
>   > >> The reason I found your idea to show a single entry interesting: with
>   > >> the limiting of C-x v l output that we do now by default, you can ask
>   > >> for a log in vc-annotate and not get it if the log entry is old enough.
>   > >> It's rather nice to see exactly the entry you asked for.
>   > >> So what should we do?
>   > >
>   > > Change vc-annotate's code so that if the file's log is already displayed
>   > > in the *vc-change-log* buffer, it just jumps to the appropriate entry,
>   > > otherwise it does what your code did (i.e. ask the backend for just
>   > > that revision's log).
>   > 
>   > Have a look at xhg-annotate mode in DVC (screenshot).
>   > http://tinyurl.com/ycen32l
>
> That seems to show a buffer with both the diff and the log.
> Why is that a good idea?  What mode does it use?

The mode is xhg-annotate-mode, it is part of DVC
http://www.xsteve.at/prg/emacs_dvc/
The file is xhg-annotate.el

It does what hg annotate does but interactively:

,----
| From current file under hg control, run xhg-annotate in one buffer
| and xhg-log in the other buffer at the revision corresponding to current line
| of current file.
| once in the xhg-annotate buffer you can navigate to the different line
| showing at each movement the xhg-log output corresponding to revision.
`----

See hg help annotate.

About C-x v l, see also xhg-log, that use prefix arg to reduce number of
revisions to show, or to show from rev number x to rev number y.


,----[ C-h f xhg-log RET ]
| xhg-log is an interactive compiled Lisp function in `xhg.el'.
| 
| (xhg-log &optional R1 R2 SHOW-PATCH FILE)
| 
| Run hg log.
| When run interactively, the prefix argument decides, which parameters are queried from the user.
| C-u      : Show patches also, use all revisions
| C-u C-u  : Show patches also, ask for revisions
| positive : Don't show patches, ask for revisions.
| negative : Don't show patches, limit to n revisions.
| 
| ===*===*===*===*===*===*===*===*===*===*===
`----


-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France




  reply	other threads:[~2009-11-20  7:19 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-12 23:19 limit the number of log entries displayed by C-x v l Dan Nicolaescu
2009-11-13  1:18 ` Stefan Monnier
2009-11-13  2:21   ` Dan Nicolaescu
2009-11-13  3:19     ` Stefan Monnier
2009-11-13  5:02       ` Dan Nicolaescu
2009-11-13 14:10         ` Stefan Monnier
2009-11-15 20:55           ` Dan Nicolaescu
2009-11-15 21:34             ` Chong Yidong
2009-11-16  9:40             ` Dan Nicolaescu
2009-11-16 14:22               ` Stefan Monnier
2009-11-16 15:10                 ` Dan Nicolaescu
2009-11-16 15:41                   ` Stefan Monnier
2009-11-16 20:40                     ` Dan Nicolaescu
2009-11-17 13:44           ` Dan Nicolaescu
2009-11-17 19:54             ` Stefan Monnier
2009-11-18 18:19               ` Dan Nicolaescu
2009-11-19  0:52                 ` Stefan Monnier
2009-11-19  7:23                   ` Thierry Volpiatto
2009-11-20  6:59                     ` Dan Nicolaescu
2009-11-20  7:19                       ` Thierry Volpiatto [this message]
2009-11-20 14:11                       ` Stefan Monnier
2009-11-20 15:26                         ` Dan Nicolaescu
2009-11-21  4:27                           ` Stephen J. Turnbull
2009-11-22 20:12                             ` Stefan Monnier
2009-11-22 23:02                               ` Štěpán Němec
2009-11-23  2:29                                 ` Stefan Monnier
2009-11-23  3:49                                   ` Bob Rogers
2009-11-23  5:17                                     ` Stefan Monnier
2009-11-22 20:10                           ` Stefan Monnier
2009-12-06 17:43                   ` Dan Nicolaescu
2009-12-07  2:12                     ` Stefan Monnier
2009-11-13  6:59     ` Giorgos Keramidas
2009-11-14 10:10 ` Alfred M. Szmidt
2009-11-14 23:29   ` Richard Stallman
2009-11-14 23:34     ` Andreas Schwab
2009-11-15 22:38       ` Richard Stallman
2009-11-15 22:52         ` Andreas Schwab
2009-11-17  7:56           ` Richard Stallman

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=87bpixk6ir.fsf@tux.homenetwork \
    --to=thierry.volpiatto@gmail.com \
    --cc=dann@ics.uci.edu \
    --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.