emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SOLV3D] Re: `ispell-message' don't spell the subject line if it sta


From: Emanuel Berg
Subject: Re: [SOLV3D] Re: `ispell-message' don't spell the subject line if it starts with a square bracket
Date: Fri, 10 May 2024 03:20:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Karl Fogel wrote:

>>> No, it's a feature [...] it doesn't spell-check Subject if
>>> it comes from another message: if it starts with "Re:"
>>> (which indicates the Subject comes from the message to
>>> which you reply), or if it starts with "[", which
>>> indicates a forwarded message
>>
>> I think "Fwd:" is the convention for forwarded messages,
>> but you are right, people add such little notes sometimes,
>> like [SOLVED], [OFF LIST] and so on and then most often the
>> subject line shouldn't be spell-checked except for within
>> the square brackets maybe :)
>
> Yes: I've seen "Fwd:" used, and also "[FWD]".
>
> But there are other little things that people put in square
> brackets that probably *shouldn't* block spell-check.
> For example, "[PATCH]" and "[PROPOSAL]".

Another way to approach the thing is to determine in some
other way if the message is a first-in-a-thread on, the
initial mail or post, and if it is, spell the subject, if
not, don't.

But one would still look for headers and header data, maybe
cleaner and more robust than parsing the subject line.

(I would not recommend adding individual hard-coded [CASES] to
the source except for the very common "Re:" etc, they are
already in the Gnus source BTW as regexps and can be reused
for this, likely.)
 
-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]