all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <incal@dataswamp.org>
To: emacs-devel@gnu.org
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	[thread overview]
Message-ID: <87pltulaxp.fsf@dataswamp.org> (raw)
In-Reply-To: 87r0eah5vz.fsf@red-bean.com

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




  parent reply	other threads:[~2024-05-10  1:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-09 16:00 `ispell-message' don't spell the subject line if it starts with a square bracket Emanuel Berg
2024-05-09 17:48 ` Eli Zaretskii
2024-05-09 18:05   ` [SOLV3D] " Emanuel Berg
2024-05-10  0:23     ` Karl Fogel
2024-05-10  0:41       ` Emanuel Berg
2024-05-10  1:20       ` Emanuel Berg [this message]
2024-05-10  6:58       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pltulaxp.fsf@dataswamp.org \
    --to=incal@dataswamp.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.