[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gnus-alias sporadic problem -- Needs Gnus expert
From: |
Fabrice Niessen |
Subject: |
Re: Gnus-alias sporadic problem -- Needs Gnus expert |
Date: |
Tue, 03 Feb 2009 14:09:40 +0100 |
User-agent: |
Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux) |
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