From: Zhiwei Chen <condy0919@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 50331@debbugs.gnu.org, andlind@gmail.com
Subject: bug#50331: 28.0.50; Propose to obsolete cwarn.el
Date: Thu, 02 Sep 2021 16:12:03 +0800 [thread overview]
Message-ID: <87zgsvbdm4.fsf@gmail.com> (raw)
In-Reply-To: <8335qnphc4.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 02 Sep 2021 10:27:55 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Zhiwei Chen <condy0919@gmail.com>
>> Date: Thu, 02 Sep 2021 14:30:44 +0800
>> Cc: andlind@gmail.com
>>
>> # conclusion
>>
>> Since the first two cases are not existent, and the last one is false
>> positive (IMO), I propose to obsolete cwarn.
>
> I don't understand how you arrived at that conclusion. cwarn provides
> the diagnostics while you write the code, without any need to invoke
> the compiler, and potentially long before you submit the code to the
> compiler. Some people might prefer that, so why inconvenience them?
Why would I like to obsolete cwarn?
Actually, I'm making an introduction to Emacs builtin modes (in Chinese)
to see how powerful the vanilla Emacs is. But I found, Emacs is not so
orthogonal in functionality. e.g., `whitespace-mode' provides
`whitespace-cleanup' while simple.el has `delete-trailing-whitespace'.
Is it time to do subtraction for Emacs? There are too many packages
merged into Emacs, but a few are removed from Emacs (to elpa maybe).
The main reason for obsoleting cwarn is that its functionality can be
superseded by flycheck/flymake. The result of
https://grep.app/search?q=cwarn-mode shows that there are few users of
cwarn. Of course this result may be wrong, after all https://grep.app/
only searches the git repo and all data on the Internet. The safe way to
do this is to raise a poll and let the community decide if cwarn should
be removed. Since Emacs is such a monster of 40yrs, the expected result
is that most users never know there is a package named cwarn.
[1]: https://emacs-china.org/t/emacs-builtin-mode/11937
--
Zhiwei Chen
next prev parent reply other threads:[~2021-09-02 8:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-02 6:30 bug#50331: 28.0.50; Propose to obsolete cwarn.el Zhiwei Chen
2021-09-02 7:27 ` Eli Zaretskii
2021-09-02 8:12 ` Zhiwei Chen [this message]
2021-09-02 8:28 ` Eli Zaretskii
2021-09-02 8:51 ` Zhiwei Chen
2021-09-02 11:10 ` Anders Lindgren
2021-09-02 16:12 ` Lars Ingebrigtsen
2021-09-03 6:18 ` bug#50331: [Anders Lindgren] " Zhiwei Chen
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=87zgsvbdm4.fsf@gmail.com \
--to=condy0919@gmail.com \
--cc=50331@debbugs.gnu.org \
--cc=andlind@gmail.com \
--cc=eliz@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.