>>>>> Fabrice Niessen wrote:
> I am a very happy user of Gnus-alias.el v1.4. It provides me
> with great features I've always wanted, and is a reason why I
> can't switch back to programs like Outlook or Thunderbird:

>     o   the handling of multiple email addresses,
>     o   the automatic decisions about which to use in which
>         context, and
>     o   the possibility to change that on the fly.

> That works almost perfectly. But, since a moment, I have the
> following error when replying to some emails:

>     ,----
>| progn: Search failed: "^\\(.+\\):"
>     `----

> This *always* occurs with the mails of some of my colleagues,
> and more or less often with other mails as well.

Maybe the last header of those messages is folded into two or
more lines with LWSPs.

> (defun gnus-alias-position-on-field (header)
>   "Lookup afters value for HEADER and call `message-position-on-field'.
[...]
>             ;; goto end of header, backup a line, use that header
>             (message-goto-eoh)
>             (forward-line -1)

How about replacing the `(forward-line -1)' line with this one?

            (while (and (zerop (forward-line -1))
                        (memq (char-after) '(?\t ?\n ? ))))

It makes it move point to the beginning of the last header correctly.
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to