pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-users] Filter text - shoudl it work with white space?


From: Jacob Ilsø Christensen
Subject: Re: [Pan-users] Filter text - shoudl it work with white space?
Date: 26 Sep 2002 21:27:04 +0200

On Thu, 2002-09-26 at 09:42, Brian Morrison wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wed, 18 Sep 2002 19:55:48 +0100
> Brian Morrison <address@hidden> wrote:
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > I like to colour (or at least mark as watched) certain threads, but as
> > ever with english being able to confuse the filter I want to have a
> > string like "Garmin V " so that this sees the V followed by space, but
> > does not see something like "Garmin Vista".
> > 
> > Whenever I try to enter a filter string of this nature, Pan eliminates
> > the trailing space and the filter doesn't work as it should. If this
> > is seen as a bug rather than me failing to quote the thing correctly
> > I'll go and bugzilla it....
> 
> Charles
> 
> Could you comment on the above please? I'll file a bug if this is wrong,
> but otherwise can someone tell me how to put trailing and/or leading
> spaces in filter strings please.

Hi.

I just looked through the code and all leading/trailing whitespace is
removed from the string so there is no way to get around it as I see it.
IMHO it is a bug, but there might be some good reason to remove it?
If you compile Pan from source you can comment out this line:

g_strstrip (phrase);

in the get_new_filter function.

/Jacob





reply via email to

[Prev in Thread] Current Thread [Next in Thread]