[Users] [PATCH] quicksearch: expand extended symbols on "Edit"
Olivier Brunel
jjk at jjacky.com
Sat Jun 10 23:55:49 CEST 2017
On Sat, 10 Jun 2017 23:23:51 +0200
wwp <subscript at free.fr> wrote:
> Hello Olivier,
>
>
> On Sat, 10 Jun 2017 23:09:02 +0200 Olivier Brunel <jjk at jjacky.com>
> wrote:
>
> > Instead of silently ignoring the current string when it used
> > extended symbols, expand it into condition expressions to allow
> > editing it. ---
> > This could be a matter of personal preferences I guess, but as I
> > added a similar feature/button to vfolder, I did it that way
> > because from a user POV I find it more useful to have the extended
> > symbols expanded & editable, rather than an empty list of
> > conditions.
> >
> > Besides, it much easier/quicker to hit "Clear" first it one wants
> > an empty list, than having to re-set manually whatever the
> > expression of extended symbols might have been.
> >
> > So, here's a suggestion to do the same in quicksearch.
> [snip]
>
> Hah. That is nice (to me), I always wondered why qs-specific
> expressions were not edited when the edit button was clicked.
>
> BTW, your patch seems to work fine here BUT I've found what looks like
> a bug:
>
> mode: Extended
> value: unread (it's a standard filtering condition expression)
> -> click [Edit]
> and no condition is set in the condition configuration dialog.
>
> It seems related to your patch, 'cause it works well if not applied.
Ah yes, nice catch. Attached should be a fixed version. (I'll have to do
the same in vfolder as well.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-quicksearch-expand-extended-symbols-on-Edit.patch
Type: text/x-patch
Size: 1468 bytes
Desc: not available
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20170610/9013167b/attachment.bin>
More information about the Users
mailing list