From: Duy Nguyen Date: Sun, 12 Jul 2015 08:59:45 GMT Subject: Re: [PATCH v2 01/10] ref-filter: add %(refname:shortalign=X) option Message-ID: In-Reply-To: On Sun, Jul 12, 2015 at 8:47 AM, Duy Nguyen wrote: > Another thing, the atom value is also used for sorting. When used for > sorting, I think these padding spaces should not be generated or it > may confuse the sort algorithm. Left alignment may be ok, right or > center alignment (in future?), not so much.\ Correction: I'm wrong. This is only true if the atom for sorting is in the same atom list for display. But we create new atoms for sorting in parse_opt_ref_sorting(), where we drop everything after ':', so "shortalign=" shouldn't be there when populate_atom() for sorting is called. -- Duy