[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using filter correctly?
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Wed, 24 Jul 2013 08:52:42 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 12099
- References: <CAJcAo8sSTjcrDN4FpUoUCua42sVc=v=MW=+vtNaCgZoJ1McEQA@xxxxxxxxxxxxxx> <CAJcAo8uNDFrbTQKfWSBGRN0ZnJU3QbUsbp+gwahg2PMxUxgHMg@xxxxxxxxxxxxxx> <CAJcAo8ud6PsM-5Y6uYkRWfsuPJpnXMigfckgdWmSsBu4rVqN_w@xxxxxxxxxxxxxx> <b4msiz7z2n5.fsf@xxxxxxx> <CAJcAo8v1G-DpVPS58Vx=2fTYBEEN7aouOj=D9d7WyhSs1xCLYQ@xxxxxxxxxxxxxx>
In [emacs-w3m : No.12098] Samuel Wales <samologist@xxxxxxxxx> wrote:
> Thank you. I tried the searches and they work fine, but it seems as
> if the filter is not being run. I put a message in it and it did not
> appear.
Hm, isn't the message recorded in the "*Messages*" buffer?
If you put that message within (when ...), i.e.,
(when search-is-successful
(message "Hello World")
...)
that this message doesn't appear will probably mean that the search
fails. A possible cause of the failure will be that the other
filters modify html contents before running your filter. Even if
your filter is the first item of `w3m-filter-configuration',
currently filters specified in `w3m-filter-rules', if any, run first.