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

Re: w3m-filter-delete-regions feature enhancements (patch included)



On 2017-05-30 08:47, Boruch Baum wrote:
> On 2017-05-30 19:22, Katsumi Yamaoka wrote:
> > In [emacs-w3m : No.12664]
> > . . .
> >
> > I made it omit the filters that use `w3m-filter-delete-regions'
> > even if they are listed in `w3m-filter-configuration' because
> > I have no idea for a way for a user to identify such a filter.
> > Instead, I think it's better to remake every those filter so as
> > to have a function name, e.g.:
>
> Ooh, that's right, I had overlooked that. Your solution sounds good.
>
> >     (nil
> >      ("Remove garbage in http://www.geocities.co.jp/*";
> >       "http://www.geocities.co.jp/* でゴミを取り除きます")
> >      "\\`http://www\\.geocities\\.co\\.jp/";
> >      w3m-filter-geocities)
> >

Just to be comprehensive, I should add to the discussion that another
option would be for `w3m-toggle-filtering' to display to the user a
selection of the description text strings of each item instead of the
function part of the execution string.

I see benefits to both methods, and don't have an opinion (at least,
not yet) if either is superior.

Regards,

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0