GNU bug report logs - #62677
Merge flyspell-mode with flyspell-prog-mode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Michael Heerdegen <michael_heerdegen@HIDDEN>; Keywords: easy; dated Wed, 5 Apr 2023 13:14:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) easy. Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Changed bug title to 'Merge flyspell-mode with flyspell-prog-mode' from '30.0.50; Need to find a better name for flyspell-prog-mode' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 62677 <at> debbugs.gnu.org:


Received: (at 62677) by debbugs.gnu.org; 6 Sep 2023 18:51:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 06 14:51:24 2023
Received: from localhost ([127.0.0.1]:37714 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qdxcZ-0004mo-U0
	for submit <at> debbugs.gnu.org; Wed, 06 Sep 2023 14:51:24 -0400
Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]:54602)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1qdxcY-0004mY-6A
 for 62677 <at> debbugs.gnu.org; Wed, 06 Sep 2023 14:51:22 -0400
Received: by mail-lf1-x135.google.com with SMTP id
 2adb3069b0e04-50078e52537so159113e87.1
 for <62677 <at> debbugs.gnu.org>; Wed, 06 Sep 2023 11:51:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1694026275; x=1694631075; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=FPNESlGRq+O2V8I5lDz/IbEWYRgYCLHiQHceJt7tAuM=;
 b=BeP4CuN7fb6LhgJrbgsPWxwnKvbRxOfDjaqXeulMsB3BB2sOMHCUH1DUdBgmywK0rK
 F7XBjwEITYTewgRUO95wI7ElIO+AI67G+59S+ecx2IcqWpzEvZ/Xm5q20ClSCpaqtEcT
 Kri9hP5Hn4dYb4ZFP3SUVs8kheWfY+tQjA7TJNPSIXv/2sUpLlOx1zTCS0R7FPwsKrLl
 b7zJ4QW7st3VubwtS8C0NgXEvHnt4mcgKEBIZOCWN5dk+fAjK29qZVRvVupzfDw2+3ZU
 zmmemU/fg0FmoQXK7icV+gJFF6naBnv4TPW7y0jolnEQ+0366n269Mi7ja1EGCydl+bj
 /u9Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1694026275; x=1694631075;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=FPNESlGRq+O2V8I5lDz/IbEWYRgYCLHiQHceJt7tAuM=;
 b=bS2HFWmApCaeyzY25AuYNSQ0WHS94aLWsbhI+873sSoXkQGF/JsC5yQdczQLE14ZR3
 cJSHVS7FzN4+7WOjcd9Ov1YgK7jC/QySn3B0EhbForiN71SrYkIQrZ4es61OHcYSa2Ug
 u1ZYH/FLLxZNkHBIaJruc5zfv96IBNsMoZLGzsMGgU3GnKexs+A1OX/OoA49X0b4zV7T
 qgD8COse5OlX1w2NAdkRWR24Mtn2Vp/nZ/XXG+JcUe3fqtY7Ujq4Vcx+Y6vakw/fkNzq
 R0BeZzmqVlHFP/s+cC4BWXCSiQ+x1Gl0JXTX9myGSOH6s4tKBU5Q5lusI5SUXICcp0bj
 4gZw==
X-Gm-Message-State: AOJu0Yx2QSHLHRRt41GvrX+RYnFUKBBnKpm92R9XIjsgxxiwMaWmas0V
 Fh7h2HXRsoYA0P2cI/KckpesSLHSPsgJ45bdMfWg81UEXV0=
X-Google-Smtp-Source: AGHT+IHBD3wrJPHhX4wnxNr5DEqnoVZmVt9Y78d3PsN1ctS0jXjvZlCfvrJj/IeHHmzP/qzTZA8rGTo7j7AeFu8VVgA=
X-Received: by 2002:a05:6512:450:b0:4f8:ff52:93b7 with SMTP id
 y16-20020a056512045000b004f8ff5293b7mr2471207lfk.30.1694026274772; Wed, 06
 Sep 2023 11:51:14 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Wed, 6 Sep 2023 11:51:14 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <83o7if35x5.fsf@HIDDEN>
References: <87mt3mv5e9.fsf@HIDDEN>
 <076460cb-f203-de49-c949-bdc213fd1965@HIDDEN>
 <83y1n5r0i9.fsf@HIDDEN>
 <CADwFkm=K4AHW46KSyFj-xVRoeFX=SkOYigPCPSesNfkMdT7Jzw@HIDDEN>
 <83o7if35x5.fsf@HIDDEN>
MIME-Version: 1.0
Date: Wed, 6 Sep 2023 11:51:14 -0700
Message-ID: <CADwFkmmZ1vba4tzCeY1bzohVNY4qKfRJVqCNH=8ZumFP1y2wRA@HIDDEN>
Subject: Re: bug#62677: 30.0.50;
 Need to find a better name for flyspell-prog-mode
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 62677
Cc: michael_heerdegen@HIDDEN, jporterbugs@HIDDEN, 62677 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

retitle 62677 Merge flyspell-mode with flyspell-prog-mode
tags 62677 + easy
thanks

Eli Zaretskii <eliz@HIDDEN> writes:

>> I'm not sure why I can't just enable `flymake-mode' and have it do the
>> right thing, which IMO would be to enable `flymake-prog-mode' in modes
>> where it might make sense to have that behavior.  Major modes can tell
>> us what makes sense themselves, and if there are modes where the
>> decision is not clear-cut, they could make it into a user option.
>>
>> Enabling something like `flymake-global-mode' and have it just work
>> would be pretty neat.
>
> I guess you mean flyspell-mode.
>
> Yes, having the command automatically DTRT is always best.  So if we
> can do that in at least some significant proportion of cases, I think
> we should.

I took a look, and it seems like it would be a relatively
straightforward addition to `flyspell-mode'.  I'm adding the tag "easy",
as this seems like a pretty good introductory project.

Here's the plan I'd propose: Add a new defvar-local
`flyspell-use-prog-mode' or somesuch that major modes can set.  Now,
when a user enables `flymake-mode' in a buffer where that variable is
non-nil, the extra stuff done in `flyspell-prog-mode' gets done too.
Then decide which built-in major modes that would benefit, and set that
variable in them.

Would `prog-mode' be a candidate though, or do we expect any modes
inheriting from it to want the regular `flyspell-mode'?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62677; Package emacs. Full text available.

Message received at 62677 <at> debbugs.gnu.org:


Received: (at 62677) by debbugs.gnu.org; 6 Sep 2023 11:20:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 06 07:20:00 2023
Received: from localhost ([127.0.0.1]:33140 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qdqZk-0006hM-4D
	for submit <at> debbugs.gnu.org; Wed, 06 Sep 2023 07:20:00 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:51752)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qdqZi-0006h9-UZ
 for 62677 <at> debbugs.gnu.org; Wed, 06 Sep 2023 07:19:59 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qdqZa-0005yb-RF; Wed, 06 Sep 2023 07:19:51 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=3FHR8ahd/rpKzj7P3fq6qUNeSzKsp+79nhoIA0C9R3A=; b=PfbNTkKop502btQw621H
 U6mfW16pPtIW0Rsr3cBDIr3rlu5Ox9U3vPy4dUE8QwSV+zVMLwi0XOVGRK6hg2gPZfhsgDxO9vH14
 +pz32Dm97R1qp2e8DtG0fe/QpJJJGj3LcLT9T08JlaaZ7BUphtDdRBcz3F7Ia1f8jhlMOrFUIrQPC
 h+EYOf3piZCuzMfGBPjTIu9tmkZBw4ocDTm/9OVz/dQyYqYaf7NdAAgDcQE4b/WQ9f8LF6tACGFRp
 CM1R0taAQ7NWLxkuYZqqPMsxV82D5rK6EuEXmbF0u56PafPVIKAKMgJVXq2jpYO9wXtsK1EN+IOg8
 2dgTxV1qO6Q2QA==;
Date: Wed, 06 Sep 2023 14:19:34 +0300
Message-Id: <83o7if35x5.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <CADwFkm=K4AHW46KSyFj-xVRoeFX=SkOYigPCPSesNfkMdT7Jzw@HIDDEN>
 (message from Stefan Kangas on Tue, 5 Sep 2023 13:57:50 -0700)
Subject: Re: bug#62677: 30.0.50;
 Need to find a better name for flyspell-prog-mode
References: <87mt3mv5e9.fsf@HIDDEN>
 <076460cb-f203-de49-c949-bdc213fd1965@HIDDEN>
 <83y1n5r0i9.fsf@HIDDEN>
 <CADwFkm=K4AHW46KSyFj-xVRoeFX=SkOYigPCPSesNfkMdT7Jzw@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 62677
Cc: michael_heerdegen@HIDDEN, jporterbugs@HIDDEN, 62677 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Stefan Kangas <stefankangas@HIDDEN>
> Date: Tue, 5 Sep 2023 13:57:50 -0700
> Cc: Jim Porter <jporterbugs@HIDDEN>, michael_heerdegen@HIDDEN, 62677 <at> debbugs.gnu.org
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> > This mode is geared toward text modes.  In buffers that contain
> >> > code, ‘flyspell-prog-mode’ is usually a better choice.
> >
> > The above is inaccurate as well: text-derived modes for markup text
> > can also benefit.  Basically, anything where you have keywords that
> > are not necessarily words in a human language.
> 
> FWIW, that's actually not been clear to me.  I've only use it in
> `prog-mode' derived modes so far.
> 
> But perhaps this goes even deeper:
> 
> I'm not sure why I can't just enable `flymake-mode' and have it do the
> right thing, which IMO would be to enable `flymake-prog-mode' in modes
> where it might make sense to have that behavior.  Major modes can tell
> us what makes sense themselves, and if there are modes where the
> decision is not clear-cut, they could make it into a user option.
> 
> Enabling something like `flymake-global-mode' and have it just work
> would be pretty neat.

I guess you mean flyspell-mode.

Yes, having the command automatically DTRT is always best.  So if we
can do that in at least some significant proportion of cases, I think
we should.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62677; Package emacs. Full text available.

Message received at 62677 <at> debbugs.gnu.org:


Received: (at 62677) by debbugs.gnu.org; 5 Sep 2023 20:58:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 05 16:58:00 2023
Received: from localhost ([127.0.0.1]:59611 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qdd7Y-0001Es-3n
	for submit <at> debbugs.gnu.org; Tue, 05 Sep 2023 16:58:00 -0400
Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]:52448)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1qdd7V-0001Eb-9p
 for 62677 <at> debbugs.gnu.org; Tue, 05 Sep 2023 16:57:58 -0400
Received: by mail-lf1-x129.google.com with SMTP id
 2adb3069b0e04-4fe15bfb1adso4953003e87.0
 for <62677 <at> debbugs.gnu.org>; Tue, 05 Sep 2023 13:57:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1693947471; x=1694552271; darn=debbugs.gnu.org;
 h=content-transfer-encoding:cc:to:subject:message-id:date
 :mime-version:references:in-reply-to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=JZhPSjH7LmxaQJIAsuU9RYWzh7HX5Q4+i69vhBqEXJk=;
 b=VrTJphiyvW1n34PDv4C2DdlRpl5X0AX1ReHqb+KocXeGau2e3mwd1/oGd4HONdfooO
 8CXCHAyUj7zVL7CmstwklBQVsxAsyWQyBuo5ri9oZggKTUlgTLoQFJ/4kmVDIedekkoD
 0WB059DR9JolM8yCoNA1cfJSoFyGfrwX/Z9jI2Dfq7zEg9xRjogOQv2Sjw++HUPl+RLR
 0dORuqvr7JnPe7JbjWwttyFIm3Rb5qMj0siuLuOH72/K33k9qsFmPFEx+E2DvJ7Ykni5
 pZ/SN/GUJnve3ACoTrvQPUhbdM/VoklN54nCITJ6OElu1e5YZMHllknu/JM1wImJLMxL
 GqRg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1693947471; x=1694552271;
 h=content-transfer-encoding:cc:to:subject:message-id:date
 :mime-version:references:in-reply-to:from:x-gm-message-state:from:to
 :cc:subject:date:message-id:reply-to;
 bh=JZhPSjH7LmxaQJIAsuU9RYWzh7HX5Q4+i69vhBqEXJk=;
 b=RPGsndRY4xwMECnIdZbigCTmxz/Gg2DAWcElOKLav77aH4YYPp5OKSHHR0EaZIZWqa
 DNijTdBBcrKD/pp/3Yns24ODRlKI5PY1+p7RfFxqiP9ytjPewagJ+Lw+rW7+guLPygqE
 jRrW4JhqdbdZnC3RZ47ANfnpIB7GriviryOBqrYkOtYgxd6m/G4nSf1A6WV0OzeZOzXy
 2QTKiELdogt4XYx9g8kkX9GgE0qF6VKQcaNK0UzqC+tp9F8/QdVJ2zAP/891O3acPX/g
 dd1UCsIEtu3gDsPEnVoGFSTzHoWoPiRUGr00F+7o22fXY7K6+JFbITGUbeLOiTb80BY7
 lq7Q==
X-Gm-Message-State: AOJu0YzxXnd4JV8a5xmyLc0rJssp92+kCOGTuhDzIFjwMVPoFgv/3uOc
 IeuR3DoPfZVGyB7u6Ogm5pA3lgzXcIsX6O0Tor4=
X-Google-Smtp-Source: AGHT+IGrGw+16XdYInsRtvWGH7fh5uVk35fGPKwRDKjgAJ+ISOQGv01YxSUjZnWFeAdRdZD0HpYc3w84GQDM04pm9Zk=
X-Received: by 2002:a05:6512:3702:b0:500:d970:6541 with SMTP id
 z2-20020a056512370200b00500d9706541mr640575lfr.39.1693947470594; Tue, 05 Sep
 2023 13:57:50 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Tue, 5 Sep 2023 13:57:50 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <83y1n5r0i9.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 06 Apr
 2023 09:24:46 +0300")
References: <87mt3mv5e9.fsf@HIDDEN>
 <076460cb-f203-de49-c949-bdc213fd1965@HIDDEN>
 <83y1n5r0i9.fsf@HIDDEN>
MIME-Version: 1.0
Date: Tue, 5 Sep 2023 13:57:50 -0700
Message-ID: <CADwFkm=K4AHW46KSyFj-xVRoeFX=SkOYigPCPSesNfkMdT7Jzw@HIDDEN>
Subject: Re: bug#62677: 30.0.50;
 Need to find a better name for flyspell-prog-mode
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 62677
Cc: michael_heerdegen@HIDDEN, Jim Porter <jporterbugs@HIDDEN>,
 62677 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> > =EF=BB=BFThis mode is geared toward text modes.  In buffers that conta=
in
>> > code, =E2=80=98flyspell-prog-mode=E2=80=99 is usually a better choice.
>
> The above is inaccurate as well: text-derived modes for markup text
> can also benefit.  Basically, anything where you have keywords that
> are not necessarily words in a human language.

FWIW, that's actually not been clear to me.  I've only use it in
`prog-mode' derived modes so far.

But perhaps this goes even deeper:

I'm not sure why I can't just enable `flymake-mode' and have it do the
right thing, which IMO would be to enable `flymake-prog-mode' in modes
where it might make sense to have that behavior.  Major modes can tell
us what makes sense themselves, and if there are modes where the
decision is not clear-cut, they could make it into a user option.

Enabling something like `flymake-global-mode' and have it just work
would be pretty neat.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62677; Package emacs. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 62677 <at> debbugs.gnu.org:


Received: (at 62677) by debbugs.gnu.org; 10 Apr 2023 04:48:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 10 00:48:09 2023
Received: from localhost ([127.0.0.1]:34048 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pljRp-0003wm-94
	for submit <at> debbugs.gnu.org; Mon, 10 Apr 2023 00:48:09 -0400
Received: from eggs.gnu.org ([209.51.188.92]:40230)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1pljRm-0003vV-Ig
 for 62677 <at> debbugs.gnu.org; Mon, 10 Apr 2023 00:48:07 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1pljRh-0002p0-56
 for 62677 <at> debbugs.gnu.org; Mon, 10 Apr 2023 00:48:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=nlcSKMtdMOeqxuavMHWMSBwjZkVtUgkefU6fcoTHWAo=; b=RG1+Q66p+ghX
 iddMzOz/lsp+aG6W82fBRFDuBI+wfY1dfGQyUvYbQU93QEEZvnWZYm8yTMpS6Vi7bj6n/FDACetKW
 2K1lFZNJnOSmOcUuQWFasKgOyoZYwrFuFGFRZrg5fgZONywD6AQTd9OdEeYNU4vSCWSXY4OXGDzNC
 TTX5Xq/peWza4zMYQzVPnwp2Ajz8vZeZ7qkqz+bZGaX3qhCYv4SSFzUf0V1c+ZavMxyYmqGWBkR5w
 V7QR4XH+0fP0mq3Ul0dOMYLHgzweNW0WlFOsXkZ5LpJQg+hkCcw5E+Ov8ui3CMy6dPJbxuIuA+Zq7
 O27Hlt7QUEejc3KDpETz4A==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pljRZ-00058U-FN; Mon, 10 Apr 2023 00:47:54 -0400
Date: Mon, 10 Apr 2023 07:48:33 +0300
Message-Id: <83pm8cl4v2.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: rms@HIDDEN
In-Reply-To: <E1plhen-0000gx-PN@HIDDEN> (message from Richard
 Stallman on Sun, 09 Apr 2023 22:53:25 -0400)
Subject: Re: bug#62677: 30.0.50;
 Need to find a better name for flyspell-prog-mode
References: <87mt3mv5e9.fsf@HIDDEN> <878rf7ql1y.fsf@HIDDEN>
 <877cuq5q0p.fsf@HIDDEN> <834jpus647.fsf@HIDDEN>
 <E1pkc45-0002aX-Ux@HIDDEN> <83edowp55h.fsf@HIDDEN>
 <E1plhen-0000gx-PN@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 62677
Cc: 62677 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Richard Stallman <rms@HIDDEN>
> Cc: 62677 <at> debbugs.gnu.org
> Date: Sun, 09 Apr 2023 22:53:25 -0400
> 
>   > >   > flyspell-skip-keywords-mode
>   > >   > flyspell-ignore-keywords-mode
>   > > 
>   > > I don't think that name correctly describes what the function does.
>   > > Its code suggests that it limits spell checking to string constants
>   > > and comments.
> 
>   > ??? Where do you see a reference to strings and comments in the two
>   > names I suggested?
> 
> I saw that in a diff that was in one of the emails in this thread.

That was a suggestion from someone else, and I agree that it is
sub-optimal, for the reasons you gave.  Which is why I suggested
different names, without a reference to comments or strings.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62677; Package emacs. Full text available.

Message received at 62677 <at> debbugs.gnu.org:


Received: (at 62677) by debbugs.gnu.org; 10 Apr 2023 02:53:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 09 22:53:37 2023
Received: from localhost ([127.0.0.1]:34001 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1plhey-0000fc-Ru
	for submit <at> debbugs.gnu.org; Sun, 09 Apr 2023 22:53:37 -0400
Received: from eggs.gnu.org ([209.51.188.92]:43240)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rms@HIDDEN>) id 1plhew-0000fP-V2
 for 62677 <at> debbugs.gnu.org; Sun, 09 Apr 2023 22:53:35 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rms@HIDDEN>) id 1plher-0006ZC-IO
 for 62677 <at> debbugs.gnu.org; Sun, 09 Apr 2023 22:53:29 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From:
 mime-version; bh=L6oUClRya8v4Z44XILxZldFdYhdaDiK5kU1vtVpe/0M=; b=oGBeqsTpLt1y
 Up7KvMhRELwzVlRdQST3dGyXzad6+7HyEz+o02hrXm8Z/gEdlv7hVtiVHL3CoDz3CbW9CEfliCzFg
 XhP3k7QwDqTZfkzWYdYok9VCUQ/mHzo0gFwNm+EfvBd29/ZnnNJ15yPuyhSbmT3ZG9p1e7ySo+kjO
 NwMWsgC7l8e364MkGHUrAQ7JewJN5I4eoPbCDbb92tXiiZtSaZb/OzgMr2NeTdJ0cD0bphwNeEHQf
 S/MZLDN4vRxKComwVdnBqyaXPDWIFpl0rYOHYCJ3oR87vj6ovtBwuxfj4XdqKpHI2kI7vG8+l8te5
 jk+8SrmQrPLFo8ceyZWJoQ==;
Received: from rms by fencepost.gnu.org with local (Exim 4.90_1)
 (envelope-from <rms@HIDDEN>)
 id 1plhen-0000gx-PN; Sun, 09 Apr 2023 22:53:26 -0400
Content-Type: text/plain; charset=Utf-8
From: Richard Stallman <rms@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <83edowp55h.fsf@HIDDEN> (message from Eli Zaretskii on Fri, 07
 Apr 2023 09:39:38 +0300)
Subject: Re: bug#62677: 30.0.50;
 Need to find a better name for flyspell-prog-mode
References: <87mt3mv5e9.fsf@HIDDEN> <878rf7ql1y.fsf@HIDDEN>
 <877cuq5q0p.fsf@HIDDEN> <834jpus647.fsf@HIDDEN>
 <E1pkc45-0002aX-Ux@HIDDEN> <83edowp55h.fsf@HIDDEN>
Message-Id: <E1plhen-0000gx-PN@HIDDEN>
Date: Sun, 09 Apr 2023 22:53:25 -0400
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 62677
Cc: 62677 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: rms@HIDDEN
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > >   > flyspell-skip-keywords-mode
  > >   > flyspell-ignore-keywords-mode
  > > 
  > > I don't think that name correctly describes what the function does.
  > > Its code suggests that it limits spell checking to string constants
  > > and comments.

  > ??? Where do you see a reference to strings and comments in the two
  > names I suggested?

I saw that in a diff that was in one of the emails in this thread.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62677; Package emacs. Full text available.

Message received at 62677 <at> debbugs.gnu.org:


Received: (at 62677) by debbugs.gnu.org; 7 Apr 2023 06:39:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 07 02:39:27 2023
Received: from localhost ([127.0.0.1]:55595 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pkfks-0006ya-Rt
	for submit <at> debbugs.gnu.org; Fri, 07 Apr 2023 02:39:27 -0400
Received: from eggs.gnu.org ([209.51.188.92]:59216)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1pkfkr-0006yL-1y
 for 62677 <at> debbugs.gnu.org; Fri, 07 Apr 2023 02:39:25 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1pkfkl-0002Sj-ER
 for 62677 <at> debbugs.gnu.org; Fri, 07 Apr 2023 02:39:19 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=l9Jhf67+aAg6LD/NWqkYgPAbcWqEx3ornhz2bw8iDN4=; b=Fu1c/VdeVU5Z
 9IDfvkQmW2Xh4aT3aYYrUC8crwTQa847YOtXT+gAcNhGideyvhfvw9GHQ86p/H9KGO++g949HS2jk
 L50J5rYWWa7DMVREvhyMTKUjELxbe2kz6pJwUkPv6rYqL7D1AXO3Wclm+q1XgPL4A+xeLoI+1Vedu
 5ORIXN/tGmD/f5lEPJ5u4DxIJ43+gjM1O3ae9tEg5XWpM2H976F3rRik2xP0eqHuN2uUFwvHlwHDe
 l9dvMLGoUYwfGBnuwSpAK8accvncVZCejpTs//EJHNpHoGC7/Z9rL7ds+/LB7Fy1gRtWlZqcV+azu
 HaKUw1OYrX0QRoEg2oBdDg==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pkfkY-0000OW-HF; Fri, 07 Apr 2023 02:39:06 -0400
Date: Fri, 07 Apr 2023 09:39:38 +0300
Message-Id: <83edowp55h.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: rms@HIDDEN
In-Reply-To: <E1pkc45-0002aX-Ux@HIDDEN> (message from Richard
 Stallman on Thu, 06 Apr 2023 22:43:01 -0400)
Subject: Re: bug#62677: 30.0.50;
 Need to find a better name for flyspell-prog-mode
References: <87mt3mv5e9.fsf@HIDDEN> <878rf7ql1y.fsf@HIDDEN>
 <877cuq5q0p.fsf@HIDDEN> <834jpus647.fsf@HIDDEN>
 <E1pkc45-0002aX-Ux@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 62677
Cc: 62677 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Richard Stallman <rms@HIDDEN>
> Cc: 62677 <at> debbugs.gnu.org
> Date: Thu, 06 Apr 2023 22:43:01 -0400
> 
>   > flyspell-skip-keywords-mode
>   > flyspell-ignore-keywords-mode
> 
> I don't think that name correctly describes what the function does.
> Its code suggests that it limits spell checking to string constants
> and comments.

??? Where do you see a reference to strings and comments in the two
names I suggested?

> That means, if I understand it right, that keywords
> won't be spell checked, and symbol names also won't be spell checked.

"Symbol" has no meaning for descendants of Text mode which use markup
commands.  It is only meaningful for programming language modes.  And
this feature is not limited to programming languages, that's the
source of the original confusing name to begin with.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62677; Package emacs. Full text available.

Message received at 62677 <at> debbugs.gnu.org:


Received: (at 62677) by debbugs.gnu.org; 7 Apr 2023 02:43:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 06 22:43:12 2023
Received: from localhost ([127.0.0.1]:55438 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pkc4G-0008IT-5h
	for submit <at> debbugs.gnu.org; Thu, 06 Apr 2023 22:43:12 -0400
Received: from eggs.gnu.org ([209.51.188.92]:55410)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rms@HIDDEN>) id 1pkc4C-0008IE-7M
 for 62677 <at> debbugs.gnu.org; Thu, 06 Apr 2023 22:43:11 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rms@HIDDEN>) id 1pkc46-0007MG-OX
 for 62677 <at> debbugs.gnu.org; Thu, 06 Apr 2023 22:43:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From:
 mime-version; bh=4hFgJm6IOD/Lzqe8smtHZhPPvd3o6fc9fl4rKT1CSvo=; b=BVH8bcF4HTdb
 v7OuYoAC+P6PO8Br3p9BupgW3XqDM9pZ+YR7SaJiI1oPqkQ5QDWae+O6MAGFYV3VCkmpchU4PglQ8
 1boT52UuW7vEDwq2PjKOkivH6STltHQYMegc/0MobhWKz+c8OcWiBUfOEsNXeaS8/vVgCHMqOpwjA
 TvAm+JEQH8/FPPGrLEITgjNr/aKNbw4/+ZwWcqNGPcU2MUEqRn4y44mwK8h0P8ZzJQi5BZGBmwW6m
 LNgDp8TRCsrJsl+Ue0DAZyw65Wqa84bgptwoRCAH/fQHhT6CIQ14Gyiaqhuvnzb94ymq9hqEHWSwT
 CKKytK1IU5+X+DbXF9is3Q==;
Received: from rms by fencepost.gnu.org with local (Exim 4.90_1)
 (envelope-from <rms@HIDDEN>)
 id 1pkc45-0002aX-Ux; Thu, 06 Apr 2023 22:43:01 -0400
Content-Type: text/plain; charset=Utf-8
From: Richard Stallman <rms@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <834jpus647.fsf@HIDDEN> (message from Eli Zaretskii on Wed, 05
 Apr 2023 18:26:00 +0300)
Subject: Re: bug#62677: 30.0.50;
 Need to find a better name for flyspell-prog-mode
References: <87mt3mv5e9.fsf@HIDDEN> <878rf7ql1y.fsf@HIDDEN>
 <877cuq5q0p.fsf@HIDDEN> <834jpus647.fsf@HIDDEN>
Message-Id: <E1pkc45-0002aX-Ux@HIDDEN>
Date: Thu, 06 Apr 2023 22:43:01 -0400
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 62677
Cc: 62677 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: rms@HIDDEN
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > flyspell-skip-keywords-mode
  > flyspell-ignore-keywords-mode

I don't think that name correctly describes what the function does.
Its code suggests that it limits spell checking to string constants
and comments.  That means, if I understand it right, that keywords
won't be spell checked, and symbol names also won't be spell checked.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62677; Package emacs. Full text available.

Message received at 62677 <at> debbugs.gnu.org:


Received: (at 62677) by debbugs.gnu.org; 6 Apr 2023 17:46:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 06 13:46:24 2023
Received: from localhost ([127.0.0.1]:55094 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pkTgl-00049R-Na
	for submit <at> debbugs.gnu.org; Thu, 06 Apr 2023 13:46:24 -0400
Received: from mail-pj1-f47.google.com ([209.85.216.47]:56106)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jporterbugs@HIDDEN>) id 1pkTgh-000493-35
 for 62677 <at> debbugs.gnu.org; Thu, 06 Apr 2023 13:46:22 -0400
Received: by mail-pj1-f47.google.com with SMTP id l7so37931438pjg.5
 for <62677 <at> debbugs.gnu.org>; Thu, 06 Apr 2023 10:46:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20210112; t=1680803173; x=1683395173;
 h=content-transfer-encoding:in-reply-to:from:references:cc:to
 :content-language:subject:mime-version:date:message-id:from:to:cc
 :subject:date:message-id:reply-to;
 bh=/3DUcoEO0dll2LqloltmiDkNhQQZKksHuymSsZsrW2k=;
 b=XnTapxtj0FklZN9gB5HwAX717eYldDSlFxHc/Ji+/K4qUhj/Dg7F78WhW9R9szw64T
 To21PcpuQbbsdlRaovwiFaXFRyQoLXiTA34H/t0QT/WhM2McBt2g2wL26gvedxEYHCFc
 X+PNqqkQ/WT4opDYJVQSKaOohfUXQyQzTpzYTTD2X/GnLqlvyukFPz3JHxiPf1yMY9+f
 TRK/lpuv3d8JbEypkaA7CNmSEiX0FuhmRbFdpNCSQxXqk9bCGJ1hesP9ZzYDwlEwWM1M
 Po+gX6gXnMr/L0GNA2rbZZTqa6h4/6mZGJWqsTQ6QQQqt3mOxfvlkaDwO/2KGkhzc21F
 +7UA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112; t=1680803173; x=1683395173;
 h=content-transfer-encoding:in-reply-to:from:references:cc:to
 :content-language:subject:mime-version:date:message-id
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=/3DUcoEO0dll2LqloltmiDkNhQQZKksHuymSsZsrW2k=;
 b=vyZj/u4wsZVfe0ymJWLyAldvM5L/c+Q3fPEOSoAA2IjhA0Lu8+/zA20TTXuptOymyB
 iER/z2JGe4DCbM0Lkdc6stRuESTfM8wxqt9LMpCAWyOjtlrS6JyWMXbuwzVo02+iunmU
 ezkBZYeFNCjZc2IYWwK9/ZIQR0hG2EKWmQWoWpsWgysrkOvicbM7IlZigoK4ZDfcct7q
 FcuyEvL9FEin4jy6f/3OZIM+JqlqtbRKpJ1szPlIvb2l4mGXpcO9HuODDxUSazayeav5
 9nwvIVeuhlVyHMSTXxVsSe692LRruxt+4xzdbnPU9tXEHcctbdEAwET+wWU3evpfMkOT
 nT1g==
X-Gm-Message-State: AAQBX9epMd4pI8U8MnrbWXnVwET0OH8EgC0XoUwLojKa9j3u13z/u9uv
 /DNZ5xowWJnA4CRn9berWBk=
X-Google-Smtp-Source: AKy350a+J9Das6l3bo+IPoBEHhcJuYgSuscKcYxLwxxnmMtVXaQ4LTVZkIQIQfM+QKivj23DRRo/1g==
X-Received: by 2002:a17:902:c412:b0:1a2:8c7e:f312 with SMTP id
 k18-20020a170902c41200b001a28c7ef312mr13605768plk.39.1680803172789; 
 Thu, 06 Apr 2023 10:46:12 -0700 (PDT)
Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com.
 [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id
 a18-20020a1709027d9200b001a5059861adsm1020013plm.224.2023.04.06.10.46.11
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Thu, 06 Apr 2023 10:46:12 -0700 (PDT)
Message-ID: <7dd7ff53-64e5-80fe-f375-fbdbda5b055f@HIDDEN>
Date: Thu, 6 Apr 2023 10:46:13 -0700
MIME-Version: 1.0
Subject: Re: bug#62677: 30.0.50; Need to find a better name for
 flyspell-prog-mode
Content-Language: en-US
To: Eli Zaretskii <eliz@HIDDEN>
References: <87mt3mv5e9.fsf@HIDDEN>
 <076460cb-f203-de49-c949-bdc213fd1965@HIDDEN> <83y1n5r0i9.fsf@HIDDEN>
From: Jim Porter <jporterbugs@HIDDEN>
In-Reply-To: <83y1n5r0i9.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 62677
Cc: michael_heerdegen@HIDDEN, 62677 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 4/5/2023 11:24 PM, Eli Zaretskii wrote:
>> Date: Wed, 5 Apr 2023 13:29:59 -0700
>> From: Jim Porter <jporterbugs@HIDDEN>
>>
>> On 4/5/2023 6:13 AM, Michael Heerdegen wrote:
>>> `flyspell-prog-mode' is a variant of `flyspell-mode' for editing
>>> programs: it limits spell checking to areas of text fontified with
>>> certain faces (`flyspell-prog-text-faces', normally strings and
>>> comments).  The intention is obviously to skip keywords and tags that
>>> are used by the programming language itself.
>>
>> For what it's worth, when I started using flyspell-mode last year and
>> subsequently discovered flyspell-prog-mode, I immediately understood
>> what its intent was from the name. So from my perspective, it's actually
>> a very good name.
> 
> That depends on what you understood ;-)  It could be that you
> understood it immediately, but incorrectly or inaccurately.

To be clear, my understanding was that 'flyspell-prog-mode' is what you 
should use for modes where some text should be ignored for 
spell-checking. (Code is the most obvious example, but not the only one.)

>>> This mode is geared toward text modes.  In buffers that contain
>>> code, ‘flyspell-prog-mode’ is usually a better choice.
> 
> The above is inaccurate as well: text-derived modes for markup text
> can also benefit.  Basically, anything where you have keywords that
> are not necessarily words in a human language.

Maybe something like this would be more-precise?

"This mode spell checks all the text in a buffer.  In buffers that 
contain text that shouldn't be spell-checked (such as code or markup), 
'flyspell-prog-mode' is usually a better choice."

Then, we could expand on the docstring for 'flyspell-prog-mode', since 
it's pretty short right now.

> IMO, we should start with what the manual says:
> 
>       Flyspell Prog mode works just like ordinary Flyspell mode, except
>    that it only checks words in comments and string constants.  This
>    feature is useful for editing programs.
> 
> Which might try to explain the name, but in doing so, it misses the
> opportunity to let the readers discover what that mode truly is and
> what it can do.

Yeah, this could probably use a bit of expansion too. It does a 
reasonable job of explaining why you'd use it in a programming mode, but 
that's (arguably) already obvious from the name.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62677; Package emacs. Full text available.

Message received at 62677 <at> debbugs.gnu.org:


Received: (at 62677) by debbugs.gnu.org; 6 Apr 2023 12:14:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 06 08:14:31 2023
Received: from localhost ([127.0.0.1]:53620 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pkOVb-0007nS-Ji
	for submit <at> debbugs.gnu.org; Thu, 06 Apr 2023 08:14:31 -0400
Received: from mail-ej1-f44.google.com ([209.85.218.44]:34592)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arstoffel@HIDDEN>) id 1pkOVY-0007nC-PL
 for 62677 <at> debbugs.gnu.org; Thu, 06 Apr 2023 08:14:30 -0400
Received: by mail-ej1-f44.google.com with SMTP id j22so862178ejv.1
 for <62677 <at> debbugs.gnu.org>; Thu, 06 Apr 2023 05:14:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20210112; t=1680783262;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=hUX0NI3ymE6GCDqETkfat5mK3iUj+25Qx1N6Bs6aQFU=;
 b=VX8CfLOhhJ6exanXppgB9JotGT/olLsydA+yGdepvO4qJq+DaJbKiwgBxTVOnF/B2X
 Bd/AApUcwkfz5GaELkFlPsYcUPTG3CFYyzOnlYAw/za5phoRgKeLgPa5ln11lm0lWMWs
 xpQDAbihZmb4F5M0JbfKq4r96lW7ySG5qHKQANyfKwDD4iKXZBDdHJ40pPP4o1Ju9NRN
 xBbvuNye6jBc9/qH8GzwXmRMUov2NggKXZuu7dVcAgH0l/9AccL9akHkSxv7uoOzwnyB
 fXH/TYVbpLHD70K5slI4l8e6QCzYPCjnPoz04LSvoKhadpPIT7nwk0pOr9VVSJoExlMU
 osNA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112; t=1680783262;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=hUX0NI3ymE6GCDqETkfat5mK3iUj+25Qx1N6Bs6aQFU=;
 b=AvXMNjT83eLLKSNK9y//xqtk5FbbA9SvQKfqvM8PtBwDscyDCu733/SWlT+4tP0aF3
 OBT8tIdvvfnpO+L9drWrh5i8JcEZTlLVu1onccY+hKQNmhca438V35btDagisXankoa+
 Iwu+X9Gx//IPQ7UHTJL63dmvSGOfyRD0NUgdaiA7duzwv1Y2fGevYdxfXmm76P2UqP9W
 ow1w9sm7+fPiSW2DBa5QCpRsw04KPlAEAxgw+kSEYVhqP4X6S/HX+j0ThJBwzCX/E4fl
 wo2QITTEmSZo2QIsQ7TpINVEtsYL9Ly5uU1nDMUJ8U3dXGAWnfJYxJagtBj/y1lwMzCy
 jYRw==
X-Gm-Message-State: AAQBX9cnfkbqA7EeXW9yonaRLZrZtmSeaZW+hFEksIM0snciTajQyBcN
 7/9LdkufF0uOsq7BYLXWZPNaOwe8mgc=
X-Google-Smtp-Source: AKy350bymfgxsHxepgn2uH4acmXbllWaRopGEtFLhw1b48zerkessBwUxDuOPZJmhEhh9jWd/yDNqQ==
X-Received: by 2002:a17:906:5f94:b0:878:72f7:bd99 with SMTP id
 a20-20020a1709065f9400b0087872f7bd99mr6582581eju.6.1680783262529; 
 Thu, 06 Apr 2023 05:14:22 -0700 (PDT)
Received: from ars3 ([2a02:8109:8ac0:56d0::ff83])
 by smtp.gmail.com with ESMTPSA id
 gg20-20020a170906e29400b008f767c69421sm755632ejb.44.2023.04.06.05.14.21
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 06 Apr 2023 05:14:21 -0700 (PDT)
From: Augusto Stoffel <arstoffel@HIDDEN>
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Subject: Re: bug#62677: 30.0.50; Need to find a better name for
 flyspell-prog-mode
In-Reply-To: <87o7o2kyul.fsf@HIDDEN> (Michael Heerdegen's message of "Wed, 05
 Apr 2023 19:44:50 +0200")
References: <87mt3mv5e9.fsf@HIDDEN> <86fs9efh2l.fsf@HIDDEN>
 <87o7o2kyul.fsf@HIDDEN>
Date: Thu, 06 Apr 2023 14:14:20 +0200
Message-ID: <877cupxl5v.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 62677
Cc: 62677 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Wed,  5 Apr 2023 at 19:44, Michael Heerdegen wrote:

> Juri Linkov <juri@HIDDEN> writes:
>
>> > We should obsolete it and find a better one.
>>
>> Too late to rename it because it runs 'flyspell-prog-mode-hook'
>> customized by users.
>
> Can't we use a `defvaralias' like in other places?
>
> Michael.

I don't think a name tweak is useful.  If an improvement is at all
necessary, then just get rid of flyspell-prog-mode, that is, make
flyspell-mode skip keywords and the like by default in prog-derived
modes.  This is what is intended 99.7% of the time.

For the remaining 0.3% of the cases, it's more productive to provide an
easier way to customize what is ignored by Flyspell, using e.g. the
`spelling-ignore-functions' hook I suggested in the emacs-devel thread.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62677; Package emacs. Full text available.

Message received at 62677 <at> debbugs.gnu.org:


Received: (at 62677) by debbugs.gnu.org; 6 Apr 2023 06:24:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 06 02:24:26 2023
Received: from localhost ([127.0.0.1]:53235 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pkJ2o-00015p-7K
	for submit <at> debbugs.gnu.org; Thu, 06 Apr 2023 02:24:26 -0400
Received: from eggs.gnu.org ([209.51.188.92]:33602)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1pkJ2m-00015c-Qf
 for 62677 <at> debbugs.gnu.org; Thu, 06 Apr 2023 02:24:25 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pkJ2h-0003ya-9W; Thu, 06 Apr 2023 02:24:19 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=ty0/AXX5C3+3Mlpl+JfqH28Rgwuqsl09REOFKK2ZEvc=; b=DuMxQPBm55cs62A+MNZH
 OdClxs0zgClZhuf+ZitaKb6PKJdrNxCzn3U9z/WnXn4f0Hg6fDaE7YdtElOBja186uSDQx2p/KblU
 Ffb6vFex1FGQRA/qEjZxsbV0sfp3UuTf2A7+epwOmGXOieKGVTfLClnwzfq+6RXOKVZqio25TjqLh
 4+RF/youoMzVlT9TEIz4PQz7NW7dqob6wAzK3ZVdoKcpuY2bkPQZsoWE5TyqsRGhVzONBpKFfiD4q
 rCanVCSHWKk5ymfcv6hW0p2R4sNYzaQdBaFU6mkeSc8hMLDis9LOvPEKq+DUixIP160dreuNwE6ef
 UODv9wOvBhLupA==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pkJ2g-0001o1-Ph; Thu, 06 Apr 2023 02:24:19 -0400
Date: Thu, 06 Apr 2023 09:24:46 +0300
Message-Id: <83y1n5r0i9.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Jim Porter <jporterbugs@HIDDEN>
In-Reply-To: <076460cb-f203-de49-c949-bdc213fd1965@HIDDEN> (message from
 Jim Porter on Wed, 5 Apr 2023 13:29:59 -0700)
Subject: Re: bug#62677: 30.0.50;
 Need to find a better name for flyspell-prog-mode
References: <87mt3mv5e9.fsf@HIDDEN>
 <076460cb-f203-de49-c949-bdc213fd1965@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 62677
Cc: michael_heerdegen@HIDDEN, 62677 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Wed, 5 Apr 2023 13:29:59 -0700
> From: Jim Porter <jporterbugs@HIDDEN>
> 
> On 4/5/2023 6:13 AM, Michael Heerdegen wrote:
> > `flyspell-prog-mode' is a variant of `flyspell-mode' for editing
> > programs: it limits spell checking to areas of text fontified with
> > certain faces (`flyspell-prog-text-faces', normally strings and
> > comments).  The intention is obviously to skip keywords and tags that
> > are used by the programming language itself.
> 
> For what it's worth, when I started using flyspell-mode last year and 
> subsequently discovered flyspell-prog-mode, I immediately understood 
> what its intent was from the name. So from my perspective, it's actually 
> a very good name.

That depends on what you understood ;-)  It could be that you
understood it immediately, but incorrectly or inaccurately.

> > This mode is geared toward text modes.  In buffers that contain
> > code, ‘flyspell-prog-mode’ is usually a better choice.

The above is inaccurate as well: text-derived modes for markup text
can also benefit.  Basically, anything where you have keywords that
are not necessarily words in a human language.

> If there are still discoverability issues, then I think we should try to 
> provide appropriate keywords in manuals, etc so that it's easier to find 
> this.

IMO, we should start with what the manual says:

     Flyspell Prog mode works just like ordinary Flyspell mode, except
  that it only checks words in comments and string constants.  This
  feature is useful for editing programs.

Which might try to explain the name, but in doing so, it misses the
opportunity to let the readers discover what that mode truly is and
what it can do.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62677; Package emacs. Full text available.

Message received at 62677 <at> debbugs.gnu.org:


Received: (at 62677) by debbugs.gnu.org; 5 Apr 2023 20:30:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 05 16:30:30 2023
Received: from localhost ([127.0.0.1]:52740 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pk9m1-0008JE-Up
	for submit <at> debbugs.gnu.org; Wed, 05 Apr 2023 16:30:30 -0400
Received: from mail-pj1-f49.google.com ([209.85.216.49]:54877)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jporterbugs@HIDDEN>) id 1pk9lz-0008Iw-CG
 for 62677 <at> debbugs.gnu.org; Wed, 05 Apr 2023 16:30:27 -0400
Received: by mail-pj1-f49.google.com with SMTP id ml21so13250714pjb.4
 for <62677 <at> debbugs.gnu.org>; Wed, 05 Apr 2023 13:30:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20210112; t=1680726621; x=1683318621;
 h=content-transfer-encoding:in-reply-to:from:references:to
 :content-language:subject:mime-version:date:message-id:from:to:cc
 :subject:date:message-id:reply-to;
 bh=n2zkKj7YMe+IkF1EsFV7iqh9+z6PGBeKFDe9ahWJpHY=;
 b=HmoWJYa6vXu1/hrgHglXH79GHHSqsBtpK0w0v1xQuBQnzcW7XlWzKdKLiQGROtFdLr
 shVw7BdeXm4+Ku7OsfDeQ2wcZ3ywT0mQP5DD9+++nrXgLg/y72kY2gfqR+KSfEZ48J8D
 vTdPyBmETvcZqwlq+Qt6B/4/bwr9mF6aQcdY3w6YWCP03evCrWC5xjsBeFaZtuMKeM54
 rkTgmNZu6vZLUjIDq11SiHvGTv+fC3DZcTAKmMKBfnG2UyqT2bxVGFKPx9VjevShFqlB
 ZXHY2JksdREO8MqG16KpCXues5VdfRwM5TkDsw7dUebh8do/cc+9vG0PDKiyEFcD5/iL
 3Psw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112; t=1680726621; x=1683318621;
 h=content-transfer-encoding:in-reply-to:from:references:to
 :content-language:subject:mime-version:date:message-id
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=n2zkKj7YMe+IkF1EsFV7iqh9+z6PGBeKFDe9ahWJpHY=;
 b=YOP/3lyehUI8Xprd5YFA7AnuTx6rM+BMEqTcBL2crz6GPJlZWTfUdkmkQHJF8WUgNB
 yrtH2/YyPlYUaF1YcrDrwEKcKbJAVZZLHUme9nKbT+LDOH1gk8KPjkoVEmA3wVruRZS5
 fhbwalUpY41laTmuBKL9kmkcFYUjNhcinD1K2bbqZsQvuiHFV9T+IKnk0+F+2Wzf6m/v
 9UnTyCLT2nFWjmBWonR2OPyykZIRCVf3Of2RhQeZ3U3WmlrIqHh+JruEyvxL1HyrxlC3
 6UoSOGzT3nI/IekJUHESyS3tlFD8/qq5uwB9s2v2UDbcHMhmnXu+yURRM5wsuPcLwfu4
 gCpg==
X-Gm-Message-State: AAQBX9eeKNRnmA7STU1s1CVIvhYeOodbeEsHbdDxZI1nNXnNlbjuf/V0
 hljw9VKn7G8ooyWNhfNXtwQ=
X-Google-Smtp-Source: AKy350YP9gXFuwJYokkyUbyJq4zDEKTbRgn/ogfODFgGfHbQLTx/vEwVus5JpN5RlAfERJpK3jbvrQ==
X-Received: by 2002:a05:6a20:bb09:b0:d9:a792:8e3d with SMTP id
 fc9-20020a056a20bb0900b000d9a7928e3dmr525610pzb.30.1680726620754; 
 Wed, 05 Apr 2023 13:30:20 -0700 (PDT)
Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com.
 [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id
 9-20020aa79149000000b0062dd28aaca6sm11013320pfi.212.2023.04.05.13.30.20
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Wed, 05 Apr 2023 13:30:20 -0700 (PDT)
Message-ID: <076460cb-f203-de49-c949-bdc213fd1965@HIDDEN>
Date: Wed, 5 Apr 2023 13:29:59 -0700
MIME-Version: 1.0
Subject: Re: bug#62677: 30.0.50; Need to find a better name for
 flyspell-prog-mode
Content-Language: en-US
To: Michael Heerdegen <michael_heerdegen@HIDDEN>, 62677 <at> debbugs.gnu.org
References: <87mt3mv5e9.fsf@HIDDEN>
From: Jim Porter <jporterbugs@HIDDEN>
In-Reply-To: <87mt3mv5e9.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 62677
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 4/5/2023 6:13 AM, Michael Heerdegen wrote:
> `flyspell-prog-mode' is a variant of `flyspell-mode' for editing
> programs: it limits spell checking to areas of text fontified with
> certain faces (`flyspell-prog-text-faces', normally strings and
> comments).  The intention is obviously to skip keywords and tags that
> are used by the programming language itself.

For what it's worth, when I started using flyspell-mode last year and 
subsequently discovered flyspell-prog-mode, I immediately understood 
what its intent was from the name. So from my perspective, it's actually 
a very good name. In particular, I never got the sense that it was a 
major mode or that it was *directly* tied to prog-mode; only that 
flyspell-prog-mode is most useful for programming-like modes (which are 
usually, but not always, derived from prog-mode).

It's possible there's a better name, but is the name really the main 
problem for discoverability? As far as discoverability goes, I believe I 
found out about flyspell-prog-mode via flyspell-mode's docstring:

> This mode is geared toward text modes.  In buffers that contain
> code, ‘flyspell-prog-mode’ is usually a better choice.

If there are still discoverability issues, then I think we should try to 
provide appropriate keywords in manuals, etc so that it's easier to find 
this. The problem of undiscoverable/misleading/opaque names in Emacs 
comes up fairly regularly (e.g. with Eglot), and while clear naming is 
helpful, I think it would be more helpful to make it easier for users to 
search for packages, modes, etc using whatever keywords make sense to 
them. Then discoverability is more about ensuring that we specify an 
appropriate set of keywords.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62677; Package emacs. Full text available.

Message received at 62677 <at> debbugs.gnu.org:


Received: (at 62677) by debbugs.gnu.org; 5 Apr 2023 19:03:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 05 15:03:54 2023
Received: from localhost ([127.0.0.1]:52665 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pk8QD-0005k7-W5
	for submit <at> debbugs.gnu.org; Wed, 05 Apr 2023 15:03:54 -0400
Received: from eggs.gnu.org ([209.51.188.92]:42968)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1pk8QB-0005jp-R4
 for 62677 <at> debbugs.gnu.org; Wed, 05 Apr 2023 15:03:52 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pk8Q5-0005uK-R0; Wed, 05 Apr 2023 15:03:45 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=a/ziyWb7bQyAGAQUYD0HZJAnGdguaff3KuaukeGAmiM=; b=sCskGYg4Hxne
 CmYB5F33HuHFoxAveEmtLtb31ngu5hsrwv8snvqL04yZMHCLdP6o8WVO2AEacOVjwNsIaXNS2cFet
 IfXjX84os6VPTW9Q5liYsKMXBSZ7wLTjjp4VDLsiD1EzhQX/WSs/a8fJIfgP14WwQviBKIu3YzKRK
 9kscO6jtWtNnSm+uOdAgIRO86Mmmgqzpf1t1ylZYmjgiL+Ris5DF3+b8cwExsqEDlJSUSqL65NzCo
 8C/tGST1zDKJXn9nUayFGFVDbp9L/bxHZlCUuiTnI/8TjnwUGKWI9WRM8oOAzOxSQVaOyQbp1wyz0
 FUu/Tsiey7yCRdZXJIzIzg==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pk8Q5-0001H0-Am; Wed, 05 Apr 2023 15:03:45 -0400
Date: Wed, 05 Apr 2023 22:04:13 +0300
Message-Id: <831qkyrw0i.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <86fs9efh2l.fsf@HIDDEN> (message from Juri Linkov on
 Wed, 05 Apr 2023 19:17:46 +0300)
Subject: Re: bug#62677: 30.0.50;
 Need to find a better name for flyspell-prog-mode
References: <87mt3mv5e9.fsf@HIDDEN> <86fs9efh2l.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 62677
Cc: michael_heerdegen@HIDDEN, 62677 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: 62677 <at> debbugs.gnu.org
> From: Juri Linkov <juri@HIDDEN>
> Date: Wed, 05 Apr 2023 19:17:46 +0300
> 
> > We should obsolete it and find a better one.
> 
> Too late to rename it because it runs 'flyspell-prog-mode-hook'
> customized by users.

We could keep the hook name, with or without an alias.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62677; Package emacs. Full text available.

Message received at 62677 <at> debbugs.gnu.org:


Received: (at 62677) by debbugs.gnu.org; 5 Apr 2023 17:45:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 05 13:45:00 2023
Received: from localhost ([127.0.0.1]:52575 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pk7Bs-00039P-G0
	for submit <at> debbugs.gnu.org; Wed, 05 Apr 2023 13:45:00 -0400
Received: from mout.web.de ([212.227.15.3]:40447)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1pk7Bp-000393-Og
 for 62677 <at> debbugs.gnu.org; Wed, 05 Apr 2023 13:44:58 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273;
 t=1680716691; i=michael_heerdegen@HIDDEN;
 bh=v79aQ/2asG7Mvo72o2FUNBVSYV8qL9FGAXtEUt7B/PM=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date;
 b=sX5ikecTy6WnfU/MhZ8P5FF9PwntMXHls65lTg04SA6Fj4mnzolSGFM64XdCkEXRm
 QITq8q8fc+CBxmsY7yrVeIqs0ktCIfxK3G8iZHpOpkcI3wT5e58NcGZcNQ0SCHZHE5
 4u1NoC2eL3N+AfYsJTwaDaXoQuzOVsg57K0CxEECgpe2f2AOn2oKQSDPmbPnyFzsES
 hGydvY8jq/yRf2Xt/57YL+EREFjNACz10gt4ZJXtXMZfwM/TG3T2MCxTiQRMc4CQg1
 L08ybq50q92+VXaQiEj9LTrH5VgOy3RyN8+nA90lsXSDnBGpXzzW2unf/ZIxvC6Ud+
 j3QygQLSpSwUA==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from drachen.dragon ([178.14.74.146]) by smtp.web.de (mrweb005
 [213.165.67.108]) with ESMTPSA (Nemesis) id 1Mav6t-1qHFsm0WGh-00cSbq; Wed, 05
 Apr 2023 19:44:51 +0200
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
Subject: Re: bug#62677: 30.0.50; Need to find a better name for
 flyspell-prog-mode
In-Reply-To: <86fs9efh2l.fsf@HIDDEN> (Juri Linkov's message of "Wed, 
 05 Apr 2023 19:17:46 +0300")
References: <87mt3mv5e9.fsf@HIDDEN> <86fs9efh2l.fsf@HIDDEN>
Date: Wed, 05 Apr 2023 19:44:50 +0200
Message-ID: <87o7o2kyul.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:VAu8lBeyUkgEFvoZSNiq6OeZyHrJS6RsMvAcQPa2KhsPbjxk6fj
 QPTDZOQn2XAE3Vem8tNcQyQXgdMS9AuQxYHQ4ZNgvBj310anZKYVYjzm5PrdZLL/yoQGDxe
 P7O2u5tPkvEzcOOkYTLZFR3+hFzc4K41qqpl4GaxNnCEIk9t91pm4GfW+nK9M64vvxCl+/k
 qcDRjW+tkyBVKwcCNydOQ==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:JhCbkgZqd9A=;NihpbK5XtQsb71NxJc3ZwTFPKyO
 EOYOnucO84gT/4dnrukUKJmMNEejcGS9Bi/pld0AhS/OOVlgprlMCbr9cVF8OMKY8Tj/fhrQz
 XgVYeLwbvD+RP98OaBtN7WUkY/GvbO/sNuRyVKAxWIln5y9+fb3PXktt45UmcUZNiP+YjzPKB
 MTncS+LX3riTYvBcgNMfHmP7Ep/K6rZ5oO2Zlp7QqMJ4aGQrkIsJfLxR9A0pGE/WgnUe14Y8C
 z+ATXX0C9gjnVLobFbtElxULsIgpt9+FSJGTUiazTgxh7UlxKDBh1LT4Rqc5sYfJAB9vPR3D8
 becpUNjj6HB4xrfezTTsDy+NoGaX7vVR0oWC422fGcTnqBdMX02rc0Otx/p+D5PIlMd6bEQOs
 LC2Ei2xnjSjpFsb64sI4SVD488phycmfJIMB17sCyE99pgFwiXE2aHxRU9/JL0k3tAV6BB/is
 JRLjdVdD8bowlopufiTUTrZeroSK0FODrVQurDoAA1rY+MrI/OBu8kBSxhEMjtHSYwgQv/UKj
 EeVkiaQUAXiw/LsKwBRFEJUpJj3Ek1otQ78zjcOtIKuIayNqoFOuBkgEA1/rbJPENjw90sOXn
 6+woOM35rY6i/CYu9YOLwouu3tphTuGZYMfy5PCmgJ3mUoYwPxHP4tHopyAf0vZw+XeEkDEYU
 pzglhE7S2q78wNR8nLwtPPxa/DEbQt16vOshTVvZconftWKLXkyV06Sc/99GHyIbzt4+CPRij
 pb4ei97vaH9vSpltfVMczdxyM/j5aIpHDwDo0GugW8DzxPh1LaBcS30jc/LMq0Xvjar6T6flo
 7O2JbECWehIWWu0Kp2KwxFneUgaV680o9p9gK5p/Chc1tayXjAvFPzjeXKwmr1Absjgc69CwR
 /81t7hWoCedVAtfMxlnimkQhbPbLShhmRDJMErWMEchWam1z0PoGnTV9It6ay4OFgzRb3mBei
 pgtPNI4Gl8bRxsWNaUP1CCyS9PM=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 62677
Cc: 62677 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Juri Linkov <juri@HIDDEN> writes:

> > We should obsolete it and find a better one.
>
> Too late to rename it because it runs 'flyspell-prog-mode-hook'
> customized by users.

Can't we use a `defvaralias' like in other places?

Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62677; Package emacs. Full text available.

Message received at 62677 <at> debbugs.gnu.org:


Received: (at 62677) by debbugs.gnu.org; 5 Apr 2023 16:29:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 05 12:29:10 2023
Received: from localhost ([127.0.0.1]:52516 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pk60U-0000pO-5s
	for submit <at> debbugs.gnu.org; Wed, 05 Apr 2023 12:29:10 -0400
Received: from relay5-d.mail.gandi.net ([217.70.183.197]:42087)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1pk60S-0000p6-6a
 for 62677 <at> debbugs.gnu.org; Wed, 05 Apr 2023 12:29:09 -0400
Received: (Authenticated sender: juri@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id 3011A1C0008;
 Wed,  5 Apr 2023 16:29:00 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Subject: Re: bug#62677: 30.0.50; Need to find a better name for
 flyspell-prog-mode
In-Reply-To: <87mt3mv5e9.fsf@HIDDEN> (Michael Heerdegen's message of "Wed, 05
 Apr 2023 15:13:18 +0200")
Organization: LINKOV.NET
References: <87mt3mv5e9.fsf@HIDDEN>
Date: Wed, 05 Apr 2023 19:17:46 +0300
Message-ID: <86fs9efh2l.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 62677
Cc: 62677 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> We should obsolete it and find a better one.

Too late to rename it because it runs 'flyspell-prog-mode-hook'
customized by users.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62677; Package emacs. Full text available.

Message received at 62677 <at> debbugs.gnu.org:


Received: (at 62677) by debbugs.gnu.org; 5 Apr 2023 15:46:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 05 11:46:37 2023
Received: from localhost ([127.0.0.1]:52469 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pk5LJ-0007d7-Ll
	for submit <at> debbugs.gnu.org; Wed, 05 Apr 2023 11:46:37 -0400
Received: from mail-wr1-f44.google.com ([209.85.221.44]:38637)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1pk5LI-0007cs-LG
 for 62677 <at> debbugs.gnu.org; Wed, 05 Apr 2023 11:46:36 -0400
Received: by mail-wr1-f44.google.com with SMTP id q19so33597205wrc.5
 for <62677 <at> debbugs.gnu.org>; Wed, 05 Apr 2023 08:46:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20210112; t=1680709591;
 h=content-transfer-encoding:in-reply-to:from:references:cc:to
 :content-language:subject:user-agent:mime-version:date:message-id
 :sender:from:to:cc:subject:date:message-id:reply-to;
 bh=y1nBQkULPk/Ifch2nEVD2LovJj/ewxmUAt7/ezNCrwU=;
 b=cbouo/YrB1rfVmz7jPoGtlIuXgXXZGxyLcXtvYrDejMtYfdw141yJMNePJJz/FWv9R
 X1AAvgT66555/VtdpQDMYCD8nixFtnEQAjzoF0MQKZueoR1u4IgMxU42UHmJO2hsUfjh
 1aMppOvdRpIPqPCs5a1sVAAqbXyGSEz74LLRWbz0j2AmZ7HHKJBKSUYnTDn2LMa054tX
 cBIH2AGGcqQ/o+NgtmWFzn+gIAEQ5RIQAY09PeE6qotIO6/u4qLhUcTwFRi91EOarii1
 vIgwcHfsAQ7Ntnm93Uduyvn122igET0wVEeJiEum7DIWjLZKM7frzhoVgQh5G59ZIM6v
 aobA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112; t=1680709591;
 h=content-transfer-encoding:in-reply-to:from:references:cc:to
 :content-language:subject:user-agent:mime-version:date:message-id
 :sender:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=y1nBQkULPk/Ifch2nEVD2LovJj/ewxmUAt7/ezNCrwU=;
 b=oxtFkQzkVlNn2yKoRq6agtEKXLL7J00uQhFG4gI2ac2eBgyOjv/UPa9xr7kEQjAV3J
 ON37bmhaveSKJPiEgwDiIJCoH9R6E4rWIdsuVK2VaVs6faxIUmryj8p8FQF0iKl0XQEB
 XMc0fDv60pMMGpcTDmwutveNkDXU6vq3MiGcV72Fbsl1NvrJsDPlObd+3oX6mUf1/Tpe
 VWMI4/X7KOH1BSMeZrgEaMzxXCwapQokE2tHxgFBT6Z7IH9DcIMFmd+PiuGFco8t5X8R
 259kJ9YDpTE/9t6jjPlM5NqFPJrNfJe1VPJYNsvH88yrNMcS2BcEOy28AHWd7Y0F/97Z
 vi3Q==
X-Gm-Message-State: AAQBX9dARQexk7t9vMSnwOGQpt2E/gh7sAlgjoXpwu3utxZKRjUIVKEj
 j0thnBfP0jm018EZXkPLdN4=
X-Google-Smtp-Source: AKy350aBwZxaQy0vJOdiRqqkOBkU+S+PPtOYJlkSMCEqHkA0ijN6eVlge0tzxIMfhrw2QE5AcYFHbg==
X-Received: by 2002:adf:ffc4:0:b0:2e5:87cc:54b3 with SMTP id
 x4-20020adfffc4000000b002e587cc54b3mr4836014wrs.54.1680709590748; 
 Wed, 05 Apr 2023 08:46:30 -0700 (PDT)
Received: from [192.168.1.2] ([31.216.80.60])
 by smtp.googlemail.com with ESMTPSA id
 f9-20020adfe909000000b002c7163660a9sm15261567wrm.105.2023.04.05.08.46.29
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Wed, 05 Apr 2023 08:46:30 -0700 (PDT)
Message-ID: <11ac537d-0a9e-e2c4-9160-e90102171314@HIDDEN>
Date: Wed, 5 Apr 2023 18:46:28 +0300
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.9.0
Subject: Re: bug#62677: 30.0.50; Need to find a better name for
 flyspell-prog-mode
Content-Language: en-US
To: Akib Azmain Turja <akib@HIDDEN>,
 Payas Relekar <relekarpayas@HIDDEN>
References: <87mt3mv5e9.fsf@HIDDEN> <878rf7ql1y.fsf@HIDDEN>
 <877cuq5q0p.fsf@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
In-Reply-To: <877cuq5q0p.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.9 (/)
X-Debbugs-Envelope-To: 62677
Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, 62677 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.9 (-)

On 05/04/2023 18:04, Akib Azmain Turja via Bug reports for GNU Emacs, 
the Swiss army knife of text editors wrote:

> flyspell-comment-and-string-mode?

I like this one.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62677; Package emacs. Full text available.

Message received at 62677 <at> debbugs.gnu.org:


Received: (at 62677) by debbugs.gnu.org; 5 Apr 2023 15:25:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 05 11:25:45 2023
Received: from localhost ([127.0.0.1]:52444 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pk517-00072Y-0y
	for submit <at> debbugs.gnu.org; Wed, 05 Apr 2023 11:25:45 -0400
Received: from eggs.gnu.org ([209.51.188.92]:40066)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1pk515-00072J-7I
 for 62677 <at> debbugs.gnu.org; Wed, 05 Apr 2023 11:25:43 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pk50z-0001Oy-JZ; Wed, 05 Apr 2023 11:25:37 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=sFu2Q+oe0yib+vJfBgoSO2pIyMaDIRCIMme0iurKPxU=; b=B+NB/PvnI00A
 b6oonVK/S6sQZhmaKakQCvI44acTWbV26ac9yhQi4Ych1O8uEaEdgWtW6v69gHnDsMLDYS/HkE1x5
 +q2nlmwG+aR41Bq1fF9L9Dgwjz1Eii/1lrL9NSrSGA0S0+ob9P8b+PW/zoGlFuNWOEdYX+czWYLfu
 j8vwLK5JN7ZC06GY8kY0nPpf84vhtAFmssWFjXn9QIGAMO8FL1ntvV7FaSoN2Xs/HHvAUG5omj9nH
 xY4tWyP7D8VCZPjH1cK/jdqBjmzWbhAx2OrdfGCAfmUs4+FE/otxWb7eP2UzXtwgZTXJEtWtoPeJs
 IGAPnRf20G7snFcFxWpRjA==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pk50w-0005tZ-A6; Wed, 05 Apr 2023 11:25:37 -0400
Date: Wed, 05 Apr 2023 18:26:00 +0300
Message-Id: <834jpus647.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Akib Azmain Turja <akib@HIDDEN>
In-Reply-To: <877cuq5q0p.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#62677: 30.0.50;
 Need to find a better name for flyspell-prog-mode
References: <87mt3mv5e9.fsf@HIDDEN> <878rf7ql1y.fsf@HIDDEN>
 <877cuq5q0p.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 62677
Cc: michael_heerdegen@HIDDEN, relekarpayas@HIDDEN, 62677 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, 62677 <at> debbugs.gnu.org
> Date: Wed, 05 Apr 2023 21:04:38 +0600
> From:  Akib Azmain Turja via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> >> In sum the name "flyspell-prog-mode" has become a very bad one.  We
> >> should obsolete it and find a better one.
> 
> flyspell-human-text-mode?
> flyspell-comment-and-string-mode?
> 
> >
> > flyspell-limit-region-mode ?
> > --
> 
> flyspell-limited-mode?
> flyspell-ltd-mode?
> flyspell-co-mode?
> flyspell-inc-mode?

flyspell-skip-keywords-mode
flyspell-ignore-keywords-mode




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62677; Package emacs. Full text available.

Message received at 62677 <at> debbugs.gnu.org:


Received: (at 62677) by debbugs.gnu.org; 5 Apr 2023 15:05:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 05 11:05:50 2023
Received: from localhost ([127.0.0.1]:52414 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pk4hp-0006Vl-WF
	for submit <at> debbugs.gnu.org; Wed, 05 Apr 2023 11:05:50 -0400
Received: from knopi.disroot.org ([178.21.23.139]:40988)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <akib@HIDDEN>) id 1pk4hn-0006Va-HZ
 for 62677 <at> debbugs.gnu.org; Wed, 05 Apr 2023 11:05:48 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 073B7401EF;
 Wed,  5 Apr 2023 17:05:46 +0200 (CEST)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with UTF8SMTP id KLLrQ6LxtKSl; Wed,  5 Apr 2023 17:05:44 +0200 (CEST)
From: Akib Azmain Turja <akib@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1680707144; bh=hJhtbwC407cvfDwYt2yM5dHjLWVAY5U3A1ci6ollua8=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=mYHkyRhrOVyTBvsBRtY5Ns3yrQshOLvKwhnwFpQXUjOmpaTARgYS1kjAQa7GK630N
 /c5oPzOyn7ZeOwQANYD+YPZolJisEpGXMWfqRZ5HakVUv5qW0Z9XFTHC07zY5z3F1D
 lBo7xqBB+gn915zPqwbRoIxFif6BdblCkHKgl262lQT8GXVBk3O7Pgv6A45teK/L/n
 rZ2YzR5LgQbUiJMDWVGKZky72J8ykQsHbZKz4VlVZcfsKRuXyailvNf0ZSQRlGZJRR
 sWnNDoQjjW5sVZNNGgmvJAOyrbmXhRrsK5aq2c1gECjyAaYobL4cWV4AxpQHNy7ce2
 zxA4YtoU4piPA==
To: Payas Relekar <relekarpayas@HIDDEN>
Subject: Re: bug#62677: 30.0.50; Need to find a better name for
 flyspell-prog-mode
In-Reply-To: <878rf7ql1y.fsf@HIDDEN> (Payas Relekar's message of "Wed, 05
 Apr 2023 05:02:41 +0530")
References: <87mt3mv5e9.fsf@HIDDEN> <878rf7ql1y.fsf@HIDDEN>
Date: Wed, 05 Apr 2023 21:04:38 +0600
Message-ID: <877cuq5q0p.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 62677
Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, 62677 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Payas Relekar <relekarpayas@HIDDEN> writes:

> Michael Heerdegen <michael_heerdegen@HIDDEN> writes:
>
>> `flyspell-prog-mode' is a variant of `flyspell-mode' for editing
>> programs: it limits spell checking to areas of text fontified with
>> certain faces (`flyspell-prog-text-faces', normally strings and
>> comments).  The intention is obviously to skip keywords and tags that
>> are used by the programming language itself.
>>
>> In sum the name "flyspell-prog-mode" has become a very bad one.  We
>> should obsolete it and find a better one.

flyspell-human-text-mode?
flyspell-comment-and-string-mode?

>
> flyspell-limit-region-mode ?
> --

flyspell-limited-mode?
flyspell-ltd-mode?
flyspell-co-mode?
flyspell-inc-mode?

=2D-=20
Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
Fediverse: akib@HIDDEN
Codeberg: akib
emailselfdefense.fsf.org | "Nothing can be secure without encryption."

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmQtjgYACgkQVTX89U2I
YWudAg/+MRI6ZSQnVKuaKrBCT+0/q6clOaqbTLf0BvKwvxUQl9ABIoW32tyxDlq9
36yB18dfMvLh+a/TEq94pijqv15hbUsbk2o+Uc2oKfWwBvIYKRLAqoka2FGsBA29
D10VfSqf60yWAFAgXqM7VvRaxjFleKCWZo/34ehotWvzkkvar20F4RLJ1ReCkqQ+
+kmhtoAX2fGmp9v5bn1DVAutMe3V62U62OqV9y2gBwpC/OsfkF7fk2ltgeJ82DRp
4FuPa5jCUTP/ObNX1o99UDweXKZodQXrWLkjsVpTmPJMKVCOvIt+nspNnwUV8l20
blFblvhH83U4khLdLOPCF0gVA+Fy7mYOG1cRcUui2greOYTnUVfftNlZnUV/QXOw
kDAJMUZrZVyGwmVXMnmvEYug3bXyWhGPkAsCNmaEdAxrG+swyxwq7CKa4H16JBl6
+OHY2CtVIb2NDnTmSCqoV4yne+zmJ8mBwkY7QKUoAADhCZl/LnpF8boG7i0jeziY
PpSF6wwHU+FJm59tyZHk0hAv0nnPqyJpC6qJAkgdrmVKpElLY2iKpGabkm8pFyR9
oz8GQsxwQJT8pzq0uZMRXWpv1jc7ahMVQs2I97h2r+EsO/ZH2ZU45Kp5EzA9U5d2
PAC15mygs3QVN/eweVwcPp1SW/DuViZThNGStb91tC+7wHHROgo=
=rGfG
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62677; Package emacs. Full text available.

Message received at 62677 <at> debbugs.gnu.org:


Received: (at 62677) by debbugs.gnu.org; 5 Apr 2023 14:28:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 05 10:28:30 2023
Received: from localhost ([127.0.0.1]:52388 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pk47h-0005IB-NI
	for submit <at> debbugs.gnu.org; Wed, 05 Apr 2023 10:28:29 -0400
Received: from mail-pj1-f43.google.com ([209.85.216.43]:44898)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <relekarpayas@HIDDEN>) id 1pk47f-0005Hy-5R
 for 62677 <at> debbugs.gnu.org; Wed, 05 Apr 2023 10:28:28 -0400
Received: by mail-pj1-f43.google.com with SMTP id
 qe8-20020a17090b4f8800b0023f07253a2cso37441188pjb.3
 for <62677 <at> debbugs.gnu.org>; Wed, 05 Apr 2023 07:28:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20210112; t=1680704901; x=1683296901;
 h=mime-version:message-id:date:subject:cc:to:from:user-agent:from:to
 :cc:subject:date:message-id:reply-to;
 bh=odJiU2R4EYr88ge6wVl4aeDMDTpx7rVHViOUz3AjcSA=;
 b=TfK1+nIes4RxF+thTIRw54UDpne+bbL4uOul9w7cVcIwUzRuOk/tUK0I40vfHMlLPb
 iujcBV4vMsyPFKBvuIeCOjE8DSiWDMK0/O4FqUCxCHEV7YXNvnwxe8ihTQIlbLYceXDS
 8H8l82rZ2yjZhgwm68FeDJ4DNG718Jk4h3vJF9GMV8v7v3VDBDOQR8PYstncGiN9vzKt
 nvfqu4zia7iHQqGJkPKjpNGkgoUoUFB7ZksqsBzqG5+mAUvOSaByaU9adhuCvnlJDXe+
 XWKE/cAQEk07XgtH8MxNtHSjoXOEQFNqkAg4mhX/WCMWeajOJ8ep2Rk+WaMZeAja55qy
 r0Dg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112; t=1680704901; x=1683296901;
 h=mime-version:message-id:date:subject:cc:to:from:user-agent
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=odJiU2R4EYr88ge6wVl4aeDMDTpx7rVHViOUz3AjcSA=;
 b=x6kb7i/JdKLYnyj6VdHN3uwiE1B0kFantzOwsDnNKwDK72Ry7QLI7ZO1IXv6ftlPmC
 LJ7XeYrRMN7GAr2zUgv252LpUNX4Ki8ilGNtq67oRHhoAyUkqxuacraos/pKpMJcL6a1
 g81G6hsKjfIWECnuW/DvwSMBYIq6vKFYfk+jXQ6vn7PifmeF129N2AqNSVOG4Es/MC3p
 jsgLvFBhX5yxxJj3V5y99Aca/OSMUgx8ddA0Tw46Fa22sTEOltWC+onCX/V1y4jaO7Vc
 CnFftxid3HJto5q26VPCSAXnGl7wiuv65Wu8bjpk5ZbS1Z7YSfWi99NmiolM2NmPPhLH
 N6Ew==
X-Gm-Message-State: AAQBX9fNz3jPXVMN0f7ELDV4Qf5UOwNDY12070qtmWutqcPCjyd8p9vs
 EhZkHmlX2vTbXKSJwZlKX+A=
X-Google-Smtp-Source: AKy350b4agwyp+QmOBzJCsraTLV+ro6n/WeKQom6Ot5wQxMustmVoKhVHxN2mS9NSGGSfVV5gTPeLw==
X-Received: by 2002:a17:90b:1b44:b0:237:50b6:9838 with SMTP id
 nv4-20020a17090b1b4400b0023750b69838mr7281957pjb.45.1680704901181; 
 Wed, 05 Apr 2023 07:28:21 -0700 (PDT)
Received: from localhost ([150.107.26.20]) by smtp.gmail.com with ESMTPSA id
 t13-20020a170902b20d00b0019c90f8c831sm10237107plr.242.2023.04.05.07.28.19
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 05 Apr 2023 07:28:20 -0700 (PDT)
User-agent: mu4e 1.8.14; emacs 29.0.60
From: Payas Relekar <relekarpayas@HIDDEN>
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Subject: Re: bug#62677: 30.0.50; Need to find a better name for
 flyspell-prog-mode
Date: Wed, 05 Apr 2023 05:02:41 +0530
Message-ID: <878rf7ql1y.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.8 (/)
X-Debbugs-Envelope-To: 62677
Cc: 62677 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.2 (/)

Michael Heerdegen <michael_heerdegen@HIDDEN> writes:

> `flyspell-prog-mode' is a variant of `flyspell-mode' for editing
> programs: it limits spell checking to areas of text fontified with
> certain faces (`flyspell-prog-text-faces', normally strings and
> comments).  The intention is obviously to skip keywords and tags that
> are used by the programming language itself.
>
> In sum the name "flyspell-prog-mode" has become a very bad one.  We
> should obsolete it and find a better one.

flyspell-limit-region-mode ?
--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62677; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Apr 2023 13:13:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 05 09:13:26 2023
Received: from localhost ([127.0.0.1]:51733 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pk2x4-0002yv-F5
	for submit <at> debbugs.gnu.org; Wed, 05 Apr 2023 09:13:26 -0400
Received: from lists.gnu.org ([209.51.188.17]:58872)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1pk2x2-0002yg-99
 for submit <at> debbugs.gnu.org; Wed, 05 Apr 2023 09:13:24 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1pk2x1-0005Vb-Ui
 for bug-gnu-emacs@HIDDEN; Wed, 05 Apr 2023 09:13:24 -0400
Received: from mout.web.de ([212.227.17.12])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1pk2wz-0001dO-Ha
 for bug-gnu-emacs@HIDDEN; Wed, 05 Apr 2023 09:13:23 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273;
 t=1680700399; i=michael_heerdegen@HIDDEN;
 bh=eFuVFIp8+xtx7Hz+62WayUHu+5geyr93dD/IwLT0T54=;
 h=X-UI-Sender-Class:From:To:Subject:Date;
 b=dH/zX9PR3YbeSg0+8K4BvgXFrLwJILOKnhOo8NoXV+9nsTdjDR2WF+jMWvTs3u3hT
 HwyUP1cE2FPFIoUU+HL0qRqpoIrzPe/Ltxdgf2uHoW/0VkLkcUNVpUzAhlJJqM7CbC
 3s4X+77CU0dUQS3dfZaDiKlCzyKnNNWnKSgqCXRygT0TZdZB1i6p3zvcSBc/aAC/Np
 ZEbsJWJ5qZvAexskuYhZlfoII+F4ZMvJoP7O/V9sKo7iUDoPmHqazEAI2UtiuRHuch
 PLnus21ASXINss8ljk7wskpAgMZ8Ls937piKoVHzQHtMQM1ZF5XY73xgxGr1Sq2Mka
 Co+C2NaaGM/TA==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from drachen.dragon ([178.14.74.146]) by smtp.web.de (mrweb105
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MW9rM-1pvTvB1aKQ-00Xqnm for
 <bug-gnu-emacs@HIDDEN>; Wed, 05 Apr 2023 15:13:19 +0200
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.0.50; Need to find a better name for flyspell-prog-mode
Date: Wed, 05 Apr 2023 15:13:18 +0200
Message-ID: <87mt3mv5e9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:DXGLN5QhAiFd2g+wb4MOhnFTl2cFNVd4UMoX1Km7/ronjdv4Pg4
 YpqdX0hWsJZ/6QHZUgusGLtSBKU9xLihGFntn0fYXEadanJxRpumbQQLdu01TBEoGc/qigZ
 Ccvs5D+qcqQkMljgQ+jUxA05ycWRmhhBo6oAMvwvmYwOZADtoMm2kwQz5y8xnFCHKStqxHw
 SWVxuWwiySA0mzr3kOO/w==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:i5DPpWhF/A0=;hWlQJd2KXkLlqBM0D3+I0KEAQED
 1/QslTuybULhT5+dhozugt8e/wODQbGS9m14iNAUkH4cM4CV5e0XUyOB5AA+iL+5TRq1vRbL1
 cDQlPctuAUjtHIA4jkZa/74DSUREvKhiEWggbfII4AaTj86dJPBMkLBfDMlZatI/vg1gUQFNl
 a0NAPSvI/H3XBYnrYYWTzSicxjK8gyzMJYhxMr0xRtL1ClQRBgW1ZrPfgLgFERWvaVS9fLSTU
 0IgOjOTGWoykcOIImAg6dCt3agtDI0DyxIQghxZ90lpFviok+5FpBYo5IEHzdUFChedw0MjBn
 VtJX6No9WYMJZ8w//ku4eKZCH+Xf6/jx4zCRbPK4bFVvQDrD1TNYkflBFpuIVgOtbRv89SIBd
 xYO71MhRJBDINHTSXA+pNCrYOGi9bGey0zZ2W+Mpf7XuHfSCghX0M0DhuFEQUou1AW6wlMtY6
 1r9hi43g51g0cPzxb3W/iibONpGxJDi2SQTIBuBTkTUKeZT5rfV81f9soGfYUWL8x6+eaRffz
 mqI2GWSKlLV6hiDj5KzuLcJsU3eABQuQAR8oWLOE19H5RYpynhvuOpAyNZ7Sv3SsljHnSkgRD
 0atipSQd6Ylyb7sWfyb0wItUms8+KKrDHy1SJjeEVBgARzceO7i3Vvuv8EIxQLX0ODdyOstv/
 vjjalPlQAIGavzltZnsBDGL6hkE/rn+lnm8vqWGJoPrAWGQOgOeOSpuJUfAlksQMDmT+QbvZg
 xQX20o99S1XP/g6el7xRSX64ox0fv3vj46SBT6PW1Fza3DWxU+QRi+XlmkU2dm9nNaXYkG2p/
 ajcCp5AA3v7vWyDaHOVz0sF3a7OT0UJPrrbBy29hPyJPinSjvBdazkoRAaxhlLtJ16a74dP4o
 VXe2e1i8YWY04Y3HxeLvjwrkCdIKC2zdwVTj4nRGQmjtITIEND+8QIUcCDRS5WyJyhBLfcu91
 Oslxcg==
Received-SPF: pass client-ip=212.227.17.12;
 envelope-from=michael_heerdegen@HIDDEN; helo=mout.web.de
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)


Hello,

`flyspell-prog-mode' is a variant of `flyspell-mode' for editing
programs: it limits spell checking to areas of text fontified with
certain faces (`flyspell-prog-text-faces', normally strings and
comments).  The intention is obviously to skip keywords and tags that
are used by the programming language itself.

However, the name is confusing and undiscoverable: the name suggests
that `flyspell-prog-mode' has a direct relation to `prog-mode' or that
it would be a major mode (like `prog-mode').

`flyspell-prog-mode' seems to be much older than `prog-mode', but since
we have added `prog-mode' the name "flyspell-prog-mode" is kind of a
"false friend".  AFAIU there is no relation between the two names at all
but an etymological one.  In particular it is not necessary for
`flyspell-prog-mode' that the current major mode derives from
`prog-mode'.

In sum the name "flyspell-prog-mode" has become a very bad one.  We
should obsolete it and find a better one.


TIA,

Michael.


In GNU Emacs 30.0.50 (build 7, x86_64-pc-linux-gnu, cairo version
 1.16.0) of 2023-04-04 built on drachen
Repository revision: e1e4974862517ad5df2831508c39179ce178e0ef
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)





Acknowledgement sent to Michael Heerdegen <michael_heerdegen@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#62677; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 6 Sep 2023 19:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.