Re: BUG: strip whitespaces in rules (was: [wmii] snap: 20060424)

From: Anselm R. Garbe <garbeam_AT_wmii.de>
Date: Tue, 25 Apr 2006 08:21:28 +0200

Fixed in hg tip, it drops all whitespaces in the tag definition
now.

Regards,
Anselm

On Mon, Apr 24, 2006 at 09:52:02PM +0200, Nico Golde wrote:
> Hallo Anselm,
>
> * Anselm R. Garbe <garbeam_AT_wmii.de> [2006-04-24 21:11]:
> > a new snap can be downloaded from:
> >
> > http://wmii.de/snaps/wmii-20060424.tar.gz
>
> [...]
> I have a very strange bug which I also had in the latest
> snapshot. Its reproducable with every client.
> For this specify the following rule:
> /Firefox.*/ -> 3 (Important is the whitespace behind the
> number).
>
> If you launch firefox now it will be tagged with 3 but the
> strange thing is that you can't access it with mod-3 now. Ok
> lets says its a feauter cause you can use whitespaces for
> tags (which I think its not) but If you open another client
> in view 1 and tag it with 2.
> If you switch to view 2 now and
> close the client you also wont be switched back to view 1,
> instead you will be switched to view 3.
>
> I think its very strange and to see a whitespace at the end
> of a line in wmiirc is not an easy task.
>
> Is its because of simplicity that you allow a whitespace
> here? I think it would be good to strip some characters from
> the tags, especially cause we dont use mutliple tags (apart
> from *) anymore.
> Regards Nico
> --
> Nico Golde - JAB: nion_AT_jabber.ccc.de | GPG: 0x73647CFF
> http://www.ngolde.de | http://www.muttng.org | http://grml.org
> Forget about that mouse with 3/4/5 buttons -
> gimme a keyboard with 103/104/105 keys!

> _______________________________________________
> wmii_AT_wmii.de mailing list
> http://wmii.de/cgi-bin/mailman/listinfo/wmii

-- 
 Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361
Received on Tue Apr 25 2006 - 08:21:28 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:03:28 UTC