[Aptitude-devel] Bug#578412: aptitude: [Display customization] %t escape not complying with the formatting rule

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Tue Nov 24 01:05:16 UTC 2015


Control: tags -1 + moreinfo wontfix


Hi both,

2010-04-23 21:01 Olivier Robert:
>I needed some time to understand your explanation. The reason is that I
>actually thought that the question mark was turning the autoexpension
>*off*. I now realize that it just removes a fixed width.
>Am I right?

Yes.


>I would find it intuitive if it did both. What do you think?

I don't think that it is good to do this, it would probably have
unintended consequences.


>> You can see that aptitude is at least
>> reading the width information by combining %t with some other
>> autoexpanding column (like %p, for instance).
>Could you give me a literal example? (What should I type?)

Daniel Burrows meant '%p %t', I think.

Actually, if you don't want the fields to expand at all, you can use --disable-columns:

  $ aptitude search --disable-columns '~ramd64~n^aptitude$' --display-format '*%3?t*'
  *unstable*

  $ aptitude search --disable-columns '~ramd64~n^aptitude$' --display-format '%p *%3?t*'
  aptitude *unstable*



2014-05-12 07:32 Robert Wolf:
>
>
>Hello,
>
>will be this bug fixed sometime? I use aptitude for searching because of many
>search-options and output formating. I would like to specify output format as
>non-expandable package name, but it is not possible to disable default
>expandable flag.

I think that the above example would work for you, please confirm.


In the meantime I am marking this as +wontfix, because I am not sure if
it's a bug, but in any case I don't see anybody wanting to mess with
this hairy area of column formatting any time soon.


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list