From: chad <yandros@gmail.com>
To: Philip Kaludercic <philipk@posteo.net>
Cc: Stefan Kangas <stefankangas@gmail.com>,
EMACS development team <emacs-devel@gnu.org>
Subject: Re: master d506d91b1f 2/2: Make linum.el obsolete
Date: Wed, 21 Sep 2022 12:17:56 -0400 [thread overview]
Message-ID: <CAO2hHWb3tbN+vCpRv6dkrSxmJHDnQas-cfGdb1XY3q3NKEXWdw@mail.gmail.com> (raw)
In-Reply-To: <87pmfonbi3.fsf@posteo.net>
[-- Attachment #1: Type: text/plain, Size: 853 bytes --]
On Wed, Sep 21, 2022 at 9:24 AM Philip Kaludercic <philipk@posteo.net>
wrote:
> Perhaps, when it comes to this, it might be enough to add a legacy alias
> and make `linum-mode' invoke `display-line-numbers-mode', doing the same
> for `global-linum-mode' and `global-display-line-numbers-mode'.
>
> A more general idea might be to have some kind of init.el-health-checker
> command that could detect and propose to fix simple issues like these.
> But then again, will those who never pay attention notice this?
>
Perhaps a variant of the disabled-command machinery for replaced
functionality? Something like:
(put 'linum-mode 'replaced "This library was made obsolete in Emacs 29.1.
We recommend...")
If this need doesn't deserve a generalized approach, it looks like a
one-off for linum based on #'command-query could work.
Hope this helps,
~Chad
[-- Attachment #2: Type: text/html, Size: 1325 bytes --]
prev parent reply other threads:[~2022-09-21 16:17 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <166370103866.17769.3203831255447980421@vcs2.savannah.gnu.org>
[not found] ` <20220920191039.C61BCC00874@vcs2.savannah.gnu.org>
2022-09-21 7:50 ` master d506d91b1f 2/2: Make linum.el obsolete Philip Kaludercic
2022-09-21 8:37 ` Stefan Kangas
2022-09-21 9:45 ` Philip Kaludercic
2022-09-21 12:35 ` Stefan Kangas
2022-09-21 12:43 ` Philip Kaludercic
2022-09-21 13:58 ` Stefan Kangas
2022-09-21 16:13 ` [External] : " Drew Adams
2022-09-21 16:36 ` Stefan Kangas
2022-09-21 18:26 ` Philip Kaludercic
2022-09-21 19:19 ` Stefan Kangas
2022-09-22 2:59 ` Po Lu
2022-09-22 11:01 ` Stefan Kangas
2022-09-22 11:50 ` Po Lu
2022-09-22 13:31 ` Stefan Monnier
2022-09-22 14:01 ` Stefan Kangas
2022-09-22 14:15 ` Stefan Monnier
2022-09-21 16:17 ` chad [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAO2hHWb3tbN+vCpRv6dkrSxmJHDnQas-cfGdb1XY3q3NKEXWdw@mail.gmail.com \
--to=yandros@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=philipk@posteo.net \
--cc=stefankangas@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).