<<< Date Index >>>     <<< Thread Index >>>

Re: mutt/2265: mutt -D shows multiple instances of some variables



On Mon, Jun 05, 2006 at 11:58:55PM +0200, zgxdw7u02@xxxxxxxxxxxxxx wrote:

> mutt -D shows multiple instances of some variables:

Found it. This is caused by the fact that mutt has aliases for some
variables - for example, post_indent_string and post_indent_str. Not sure
why the aliases are there, but presumably someone used them.

For what it's worth, you get the same effect in mutt itself - type "set
?post_indent_str", and the response comes back with post_indent_string. This
isn't surprising, the dump function just uses mutt commands to print out the
variable settings.

There isn't an easy way to distinguish aliases from "real" variables. The
function could probably be adjusted to print out the option name used,
rather than the unaliased variable, but it seems more work than is warranted
for something which is more or less a last-ditch attempt to see what someone
has set. Would you object much if this bug was closed?

-- 
Paul

Art for art's sake makes no more sense than gin for gin's sake.
 -- W. Somerset Maugham

Attachment: signature.asc
Description: Digital signature