GNU bug report logs - #58220
global-linum-mode emacs29

Previous Next

Package: emacs;

Reported by: Gwang-Jin Kim <gwang.jin.kim.phd <at> gmail.com>

Date: Sat, 1 Oct 2022 11:27:02 UTC

Severity: normal

Tags: notabug

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58220 in the body.
You can then email your comments to 58220 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#58220; Package emacs. (Sat, 01 Oct 2022 11:27:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gwang-Jin Kim <gwang.jin.kim.phd <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 01 Oct 2022 11:27:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gwang-Jin Kim <gwang.jin.kim.phd <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: global-linum-mode emacs29
Date: Sat, 1 Oct 2022 13:15:51 +0200
[Message part 1 (text/plain, inline)]
deactivating or removing `global-linum-mode` is a stupid idea, in my view.
One has to correct packages which are not workign any more emacs29.
Please add global-linum-mode back into emacs29 - for backwards
compatibility reasons.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58220; Package emacs. (Sat, 01 Oct 2022 12:18:01 GMT) Full text and rfc822 format available.

Message #8 received at 58220 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Gwang-Jin Kim <gwang.jin.kim.phd <at> gmail.com>
Cc: 58220 <at> debbugs.gnu.org
Subject: Re: bug#58220: global-linum-mode emacs29
Date: Sat, 01 Oct 2022 14:17:38 +0200
Gwang-Jin Kim <gwang.jin.kim.phd <at> gmail.com> writes:

> deactivating or removing `global-linum-mode` is a stupid idea, in my view.
> One has to correct packages which are not workign any more emacs29.
> Please add global-linum-mode back into emacs29 - for backwards compatibility
> reasons.

It's still in Emacs 29, and you can continue to use it as before.

(But it will be removed at some point, since there are many newer
solutions that work better.)

Closing.




Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 01 Oct 2022 12:18:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 58220 <at> debbugs.gnu.org and Gwang-Jin Kim <gwang.jin.kim.phd <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 01 Oct 2022 12:18:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58220; Package emacs. (Sat, 01 Oct 2022 13:09:02 GMT) Full text and rfc822 format available.

Message #15 received at 58220 <at> debbugs.gnu.org (full text, mbox):

From: Colin Baxter <m43cap <at> yandex.com>
To: Gwang-Jin Kim <gwang.jin.kim.phd <at> gmail.com>
Cc: 58220 <at> debbugs.gnu.org
Subject: Re: bug#58220: global-linum-mode emacs29
Date: Sat, 01 Oct 2022 14:08:04 +0100
>>>>> Gwang-Jin Kim <gwang.jin.kim.phd <at> gmail.com> writes:

    > deactivating or removing `global-linum-mode` is a stupid idea, in
    > my view.  One has to correct packages which are not workign any
    > more emacs29.  Please add global-linum-mode back into emacs29 -
    > for backwards compatibility reasons.

I've put a copy of linum.el in my own lisp directory (together with
other soon-to-be or already-been obsoleted libraries). I then have
that directory sourced early in the load-path. That way I'll not be
affected when the axe finally falls.

Best wishes,




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58220; Package emacs. (Wed, 05 Oct 2022 19:16:02 GMT) Full text and rfc822 format available.

Message #18 received at 58220 <at> debbugs.gnu.org (full text, mbox):

From: Jean Louis <bugs <at> gnu.support>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 58220 <at> debbugs.gnu.org, Gwang-Jin Kim <gwang.jin.kim.phd <at> gmail.com>
Subject: Re: bug#58220: global-linum-mode emacs29
Date: Wed, 5 Oct 2022 21:51:18 +0300
* Lars Ingebrigtsen <larsi <at> gnus.org> [2022-10-01 15:19]:
> Gwang-Jin Kim <gwang.jin.kim.phd <at> gmail.com> writes:
> 
> > deactivating or removing `global-linum-mode` is a stupid idea, in my view.
> > One has to correct packages which are not workign any more emacs29.
> > Please add global-linum-mode back into emacs29 - for backwards compatibility
> > reasons.
> 
> It's still in Emacs 29, and you can continue to use it as before.
> 
> (But it will be removed at some point, since there are many newer
> solutions that work better.)

I do not have that in development version.

Which other function should I use to get lines numbered?

--
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58220; Package emacs. (Wed, 05 Oct 2022 22:52:02 GMT) Full text and rfc822 format available.

Message #21 received at 58220 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Jean Louis <bugs <at> gnu.support>, Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 58220 <at> debbugs.gnu.org, Gwang-Jin Kim <gwang.jin.kim.phd <at> gmail.com>
Subject: Re: bug#58220: global-linum-mode emacs29
Date: Wed, 5 Oct 2022 15:51:44 -0700
Jean Louis <bugs <at> gnu.support> writes:

> Which other function should I use to get lines numbered?

These are your options, in order of preference:

1. (global-display-line-numbers-mode 1)
2. (progn (package-install 'nlinum) (global-nlinum-mode 1))
3. (progn (require 'linum) (global-linum-mode 1))

Maybe we should add the above to NEWS?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58220; Package emacs. (Wed, 05 Oct 2022 23:13:01 GMT) Full text and rfc822 format available.

Message #24 received at 58220 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: 58220 <at> debbugs.gnu.org, Gwang-Jin Kim <gwang.jin.kim.phd <at> gmail.com>,
 Jean Louis <bugs <at> gnu.support>
Subject: Re: bug#58220: global-linum-mode emacs29
Date: Thu, 06 Oct 2022 01:12:12 +0200
Stefan Kangas <stefankangas <at> gmail.com> writes:

> 1. (global-display-line-numbers-mode 1)
> 2. (progn (package-install 'nlinum) (global-nlinum-mode 1))
> 3. (progn (require 'linum) (global-linum-mode 1))
>
> Maybe we should add the above to NEWS?

Makes sense to me.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58220; Package emacs. (Wed, 05 Oct 2022 23:39:01 GMT) Full text and rfc822 format available.

Message #27 received at 58220 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 58220 <at> debbugs.gnu.org, Gwang-Jin Kim <gwang.jin.kim.phd <at> gmail.com>,
 Jean Louis <bugs <at> gnu.support>
Subject: Re: bug#58220: global-linum-mode emacs29
Date: Thu, 6 Oct 2022 01:38:16 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Stefan Kangas <stefankangas <at> gmail.com> writes:
>
>> 1. (global-display-line-numbers-mode 1)
>> 2. (progn (package-install 'nlinum) (global-nlinum-mode 1))
>> 3. (progn (require 'linum) (global-linum-mode 1))
>>
>> Maybe we should add the above to NEWS?
>
> Makes sense to me.

Now done (commit 9cb3813550).  I didn't include instructions for how to
use 'linum', as it's better to just use 'nlinum' in that case.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58220; Package emacs. (Thu, 06 Oct 2022 06:05:01 GMT) Full text and rfc822 format available.

Message #30 received at 58220 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: gwang.jin.kim.phd <at> gmail.com, larsi <at> gnus.org, 58220 <at> debbugs.gnu.org,
 bugs <at> gnu.support
Subject: Re: bug#58220: global-linum-mode emacs29
Date: Thu, 06 Oct 2022 09:03:53 +0300
> Cc: 58220 <at> debbugs.gnu.org, Gwang-Jin Kim <gwang.jin.kim.phd <at> gmail.com>
> From: Stefan Kangas <stefankangas <at> gmail.com>
> Date: Wed, 5 Oct 2022 15:51:44 -0700
> 
> Jean Louis <bugs <at> gnu.support> writes:
> 
> > Which other function should I use to get lines numbered?
> 
> These are your options, in order of preference:
> 
> 1. (global-display-line-numbers-mode 1)
> 2. (progn (package-install 'nlinum) (global-nlinum-mode 1))
> 3. (progn (require 'linum) (global-linum-mode 1))
> 
> Maybe we should add the above to NEWS?

It's a good idea, IMO.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58220; Package emacs. (Thu, 06 Oct 2022 06:09:01 GMT) Full text and rfc822 format available.

Message #33 received at 58220 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: larsi <at> gnus.org, bugs <at> gnu.support, 58220 <at> debbugs.gnu.org,
 gwang.jin.kim.phd <at> gmail.com
Subject: Re: bug#58220: global-linum-mode emacs29
Date: Thu, 06 Oct 2022 09:08:32 +0300
> Cc: 58220 <at> debbugs.gnu.org, Gwang-Jin Kim <gwang.jin.kim.phd <at> gmail.com>,
>  Jean Louis <bugs <at> gnu.support>
> From: Stefan Kangas <stefankangas <at> gmail.com>
> Date: Thu, 6 Oct 2022 01:38:16 +0200
> 
> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> 
> > Stefan Kangas <stefankangas <at> gmail.com> writes:
> >
> >> 1. (global-display-line-numbers-mode 1)
> >> 2. (progn (package-install 'nlinum) (global-nlinum-mode 1))
> >> 3. (progn (require 'linum) (global-linum-mode 1))
> >>
> >> Maybe we should add the above to NEWS?
> >
> > Makes sense to me.
> 
> Now done (commit 9cb3813550).  I didn't include instructions for how to
> use 'linum', as it's better to just use 'nlinum' in that case.

I'd suggest to include linum as well.  We don't know the users'
preferences, and shouldn't second-guess them in this case.  The notes
about backward compatibilities in NEWS are supposed to help users who
want their old ways no matter what.  These notes do not provide our
preferences and recommendations, because those are apparent from the
defaults.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58220; Package emacs. (Thu, 06 Oct 2022 07:12:02 GMT) Full text and rfc822 format available.

Message #36 received at 58220-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: larsi <at> gnus.org, bugs <at> gnu.support, 58220-done <at> debbugs.gnu.org,
 gwang.jin.kim.phd <at> gmail.com
Subject: Re: bug#58220: global-linum-mode emacs29
Date: Thu, 6 Oct 2022 03:11:49 -0400
Eli Zaretskii <eliz <at> gnu.org> writes:

> I'd suggest to include linum as well.  We don't know the users'
> preferences, and shouldn't second-guess them in this case.  The notes
> about backward compatibilities in NEWS are supposed to help users who
> want their old ways no matter what.  These notes do not provide our
> preferences and recommendations, because those are apparent from the
> defaults.

OK, that makes sense.  So I've added it (commit 039ada6d03).

If anyone wants to make any further adjustments or tweaks, please go
ahead.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58220; Package emacs. (Thu, 06 Oct 2022 07:49:02 GMT) Full text and rfc822 format available.

Message #39 received at 58220 <at> debbugs.gnu.org (full text, mbox):

From: Jean Louis <bugs <at> gnu.support>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 58220 <at> debbugs.gnu.org,
 Gwang-Jin Kim <gwang.jin.kim.phd <at> gmail.com>
Subject: Re: bug#58220: global-linum-mode emacs29
Date: Thu, 6 Oct 2022 10:48:24 +0300
* Stefan Kangas <stefankangas <at> gmail.com> [2022-10-06 01:52]:
> Jean Louis <bugs <at> gnu.support> writes:
> 
> > Which other function should I use to get lines numbered?
> 
> These are your options, in order of preference:
> 
> 1. (global-display-line-numbers-mode 1)

Thank you.

It means M-x display-line-numbers-mode -- so it is just matter of a
habit, I was used to linum-mode

as why would I use it globally? Makes no sense to me.



-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58220; Package emacs. (Thu, 06 Oct 2022 07:51:02 GMT) Full text and rfc822 format available.

Message #42 received at 58220-done <at> debbugs.gnu.org (full text, mbox):

From: Jean Louis <bugs <at> gnu.support>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: gwang.jin.kim.phd <at> gmail.com, Eli Zaretskii <eliz <at> gnu.org>, larsi <at> gnus.org,
 58220-done <at> debbugs.gnu.org
Subject: Re: bug#58220: global-linum-mode emacs29
Date: Thu, 6 Oct 2022 10:50:18 +0300
* Stefan Kangas <stefankangas <at> gmail.com> [2022-10-06 10:12]:
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > I'd suggest to include linum as well.  We don't know the users'
> > preferences, and shouldn't second-guess them in this case.  The notes
> > about backward compatibilities in NEWS are supposed to help users who
> > want their old ways no matter what.  These notes do not provide our
> > preferences and recommendations, because those are apparent from the
> > defaults.
> 
> OK, that makes sense.  So I've added it (commit 039ada6d03).
> 
> If anyone wants to make any further adjustments or tweaks, please go
> ahead.

In (info "(emacs) Acknowledgments") there is reference to:

   • Markus Triska wrote ‘linum.el’, a minor mode that displays line
     numbers in the left margin.

So if you are taking package out, consider that such reference may
confuse new users.

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58220; Package emacs. (Thu, 06 Oct 2022 08:15:01 GMT) Full text and rfc822 format available.

Message #45 received at 58220-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jean Louis <bugs <at> gnu.support>
Cc: gwang.jin.kim.phd <at> gmail.com, larsi <at> gnus.org, stefankangas <at> gmail.com,
 58220-done <at> debbugs.gnu.org
Subject: Re: bug#58220: global-linum-mode emacs29
Date: Thu, 06 Oct 2022 11:14:38 +0300
> Date: Thu, 6 Oct 2022 10:50:18 +0300
> From: Jean Louis <bugs <at> gnu.support>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, larsi <at> gnus.org,
>   58220-done <at> debbugs.gnu.org, gwang.jin.kim.phd <at> gmail.com
> 
> In (info "(emacs) Acknowledgments") there is reference to:
> 
>    • Markus Triska wrote ‘linum.el’, a minor mode that displays line
>      numbers in the left margin.
> 
> So if you are taking package out, consider that such reference may
> confuse new users.

Sorry, no.  We won't rewrite the history.  (And I don't think new
users will hurry up to read that section anyway.)





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 03 Nov 2022 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 258 days ago.

Previous Next


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