unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: "Óscar Fuentes" <ofv@wanadoo.es>
Cc: emacs-devel@gnu.org
Subject: Re: pointless buttons at end of VC log buffers
Date: Tue, 16 Feb 2010 22:54:46 +0900	[thread overview]
Message-ID: <87wrydb80p.fsf@catnip.gol.com> (raw)
In-Reply-To: <87ljetz5ha.fsf@telefonica.net> ("Óscar Fuentes"'s message of "Tue, 16 Feb 2010 14:15:45 +0100")

Óscar Fuentes <ofv@wanadoo.es> writes:
> By default, Emacs asks to the underlying log command to output
> `vc-log-show-limit' items, which right now defaults to 2000. However, if
> there are less revisions, Emacs would need to detect this circumstance
> somehow for knowing that the buttons are of no use.

Hmm, it seems quite feasible to detect the number, though it might be
backend-specific.

[With git: either count the lines, if doing a short log, or count the
occurances of "^commit" if doing a standard log]

-Miles

-- 
Defenceless, adj. Unable to attack.




  reply	other threads:[~2010-02-16 13:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-16  4:42 pointless buttons at end of VC log buffers Miles Bader
2010-02-16  5:38 ` Óscar Fuentes
2010-02-16  8:43   ` Miles Bader
2010-02-16 13:15     ` Óscar Fuentes
2010-02-16 13:54       ` Miles Bader [this message]
2010-02-16 16:49         ` Stefan Monnier
2010-02-17 22:36           ` Miles Bader

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=87wrydb80p.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=ofv@wanadoo.es \
    /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).