[Aptitude-devel] Bug#514540: aptitude: Option:Aptitude::UI::Minibuf-Prompts and limits not playing nice together

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Tue Sep 8 22:30:28 UTC 2015


Control: tags -1 + moreinfo unreproducible


Hi Allan,

2009-02-09 15:52 Daniel Burrows:
>On Mon, Feb 09, 2009 at 02:55:39AM -0500, Allan Wind <allan_wind at lifeintegrity.com> was heard to say:
>> On 2009-02-08T22:44:32, Daniel Burrows wrote:
>> > On Sun, Feb 08, 2009 at 12:08:07PM -0500, Allan Wind <allan_wind at lifeintegrity.com> was heard to say:
>> > > If Option:Aptitude::UI::Minibuf-Prompts is set and you use a bad limit
>> > > (l) like ~Abad you get an error.  If you then search again, I used,
>> > > ~Atesting you get the error and results from the first search.
>> >
>> >   I'm afraid I'll need more information on what you're trying to do.
>
>  I was testing with 0.5.1, and of course the search code has
>completely changed, so it's not surprising I couldn't reproduce this.
>
>> >   Exactly which commands did you issue, and in what order; what is the
>> > exact text you typed, and what error messages / output did you see at
>> > each step?
>>
>> # echo 'aptitude::UI::Minibuf-Prompts "true";' >> .aptitude/config
>> # aptitude
>> l~Abad
>> (You now get an error message about ~Abad query)
>
>  Not an error message, a message telling you that no packages matched.
>Apparently this message was lost in 0.5.1.
>
>> l~Atesting
>> (You now get the same error message about ~Abad query, or in other words
>> last search was not cleared)
>
>  But the program actually goes ahead with the search -- it looks like
>the problem is that the warning message is never going away after it
>appears. It also doesn't go away when I move around the package list; I
>have to tab down to the minibuffer to make it go away.

With 0.7.1-1, I do not get any error message with either mini-buffer or
non-minibuffer.  When I use things like ~Abad or -ri38 --note the
missing 6-- the package view is simply empty, and new limit patterns
that I enter after that work fine.  Repeating several times good and bad
patterns works as expected.

I get errors such as "E: Unknown pattern type: Z" if I enter ~ZZtop.

In short, I cannot observe any misbehaviour, unless the misbehaviour is
to not show any error message when the result is an empty view.

Can you please try reproduce it or confirm if it works fine now (no
0.7.1-1 needed, other recent versions are OK)?


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



More information about the Aptitude-devel mailing list