[PATCH RFC] ui: introduce sysdefault section for pager and editor configuration
Kevin Bullock
kbullock+mercurial at ringworld.org
Thu Mar 9 18:40:54 EST 2017
> On Mar 8, 2017, at 18:06, Jun Wu <quark at fb.com> wrote:
>
> A "sysdefault" section sounds a bit weird. Usually files under "/etc" are
> defining "system defaults". A new section also makes it harder to see what
> configs they are overriding.
>
> How about appending ":sysdefault" to normal configs? The idea was also
> mentioned by Yuya at [1] and we use them in "[paths]":
>
> [ui]
> pager:sysdefault = sensible-pager
> editor:sysdefault = sensible-editor
>
> This makes it easier to see what configs they are overriding, and makes the
> section less crowded if we want the same thing for other sections.
I like that idea.
pacem in terris / мир / शान्ति / سَلاَم / 平和
Kevin R. Bullock
More information about the Mercurial-devel
mailing list