Dear Katsumi,

>> I am a very happy user of Gnus-alias.el v1.4. [...] . 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.

Fan-tas-tic! That did the trick... So, you're definitely a Gnus
expert!

Thank you very much for your precious help on this.

Best regards,
  Fabrice Niessen

_________________________________________________________________________
Fabrice Niessen
Search the Web with "My Google Search Tools" on http://www.MyGooglest.com
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to