[emacs-w3m:13392] Re: error in process sentinel: w3m-filter-stackexchange: Search failed: "^ </a>"

Emanuel Berg <[email protected]>
Newsgroups gmane.emacs.w3m
Message-ID <[email protected]>
Boruch Baum wrote:

> I see that you posted this and two other
> emails on 28 April, but they only cam into my
> inbox within the last two hours. This is
> another case of yours that I can't reproduce.
> In my file w3m-filter.el, on line 1262, the
> code reads:
>
>     (while (re-search-forward "^\t</a>" p2 t)
>
> and that final 't' should suppress any error
> message that would be generated. Is that how
> your version of the file reads?

Line 1262 is in the `w3m-filter-youtube' defun!

Line 1222 OTOH, which is in
`w3m-filter-stackexchange', is

    (while (re-search-forward "^\t</a>" p2 nil)
    ... )

It also has a comment on lines 1165-1169:

    ; TODO: FIXME: The following condition-case
    ; is a kludge because when the
    ; `re-search-forward' statements were not
    ; finding anything, we were getting "error
    ; in process sentinel: while: Search
    ; failed:". The proper solution is likely
    ; in the process sentinel (whichever one
    ; that turns out to be), not here.

-- 
underground experts united
http://user.it.uu.se/~embe8573
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.