From: Dmitry Gutov <dgutov@yandex.ru>
To: Glenn Morris <rgm@gnu.org>, Uwe Brauer <oub@mat.ucm.es>
Cc: 22470@debbugs.gnu.org
Subject: bug#22470: 25.1.50; vc-annotate (HG) does not display changes within one day (colors)
Date: Wed, 27 Jan 2016 03:03:26 +0300 [thread overview]
Message-ID: <56A8094E.9090706@yandex.ru> (raw)
In-Reply-To: <x5si1kjhub.fsf@fencepost.gnu.org>
On 01/26/2016 09:50 PM, Glenn Morris wrote:
> FWIW, I see no difference between current master and emacs-25.
> It also seems self-evident to me that if you've set the date to only
> display at the level of days, you'll only get colouring at the same
> level.
>
> The current vc-annotate behavior for hg seems consistent with eg git.
Both true statements. However, it is possible to both show short dates
and colorize at the minute resolution, e.g. by asking for a detailed
date format from the backend program, and then turning those dates into
short ones when parsing the output. Something to consider for the next
release, maybe.
> Finally, at a very quick glance that ahg thing seems to colorize based
> on revision number, not on age, which is a different scheme.
I do wonder if aHg's approach is better. The default palette mapping
doesn't convey to me, personally, any particular information about time.
I had to glance at the relevant variable and its value to understand
that red means "new", blue means "old", and green and orange are
somewhere in between. I'll probably forget this soon enough.
The only way we could make the color intuitive, I think, is by using
some linear gradient, and then, I fear, the difference in color between
revisions made on close days might be too small to notice.
Simply showing that these lines of code were produce by the same
revision, and those and those by two different ones, seems more valuable
anyway.
next prev parent reply other threads:[~2016-01-27 0:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-26 15:29 bug#22470: 25.1.50; vc-annotate (HG) does not display changes within one day (colors) Uwe Brauer
2016-01-26 18:50 ` Glenn Morris
2016-01-26 19:18 ` Uwe Brauer
2016-01-27 0:35 ` Dmitry Gutov
2016-01-27 16:42 ` Glenn Morris
2016-01-27 0:03 ` Dmitry Gutov [this message]
2016-01-27 17:43 ` Glenn Morris
2016-01-27 0:40 ` Dmitry Gutov
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=56A8094E.9090706@yandex.ru \
--to=dgutov@yandex.ru \
--cc=22470@debbugs.gnu.org \
--cc=oub@mat.ucm.es \
--cc=rgm@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.