[Bug 5477] New: allow setting indirect colors / color "aliases"
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Fri Feb 3 23:08:51 UTC 2017
https://bz.mercurial-scm.org/show_bug.cgi?id=5477
Bug ID: 5477
Summary: allow setting indirect colors / color "aliases"
Product: Mercurial
Version: default branch
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: color
Assignee: bugzilla at mercurial-scm.org
Reporter: hg at pewpew.net
CC: mercurial-devel at selenic.com
It would be nice to be able to compose an 'indirect' color or a 'conceptual'
color out of other colors / codes, and refer to that instead of repeating the
raw stuff all the time.
Currently, color.foo only accepts integers. We can't do something like
color.brightblack = bold black, and then use 'brightblack' elsewhere in our
color settings, letting people override 'color.brightblack = 8' if they have a
terminal that treats bold as bold-and-not-high-intensity (like Terminal.app),
or a terminal that swaps 30 and 37 if it's run with -rv to get a white
background.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list