unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58220: global-linum-mode emacs29
@ 2022-10-01 11:15 Gwang-Jin Kim
  2022-10-01 12:17 ` Lars Ingebrigtsen
  2022-10-01 13:08 ` Colin Baxter
  0 siblings, 2 replies; 13+ messages in thread
From: Gwang-Jin Kim @ 2022-10-01 11:15 UTC (permalink / raw)
  To: 58220

[-- Attachment #1: Type: text/plain, Size: 229 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 286 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#58220: global-linum-mode emacs29
  2022-10-01 11:15 bug#58220: global-linum-mode emacs29 Gwang-Jin Kim
@ 2022-10-01 12:17 ` Lars Ingebrigtsen
  2022-10-05 18:51   ` Jean Louis
  2022-10-01 13:08 ` Colin Baxter
  1 sibling, 1 reply; 13+ messages in thread
From: Lars Ingebrigtsen @ 2022-10-01 12:17 UTC (permalink / raw)
  To: Gwang-Jin Kim; +Cc: 58220

Gwang-Jin Kim <gwang.jin.kim.phd@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.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#58220: global-linum-mode emacs29
  2022-10-01 11:15 bug#58220: global-linum-mode emacs29 Gwang-Jin Kim
  2022-10-01 12:17 ` Lars Ingebrigtsen
@ 2022-10-01 13:08 ` Colin Baxter
  1 sibling, 0 replies; 13+ messages in thread
From: Colin Baxter @ 2022-10-01 13:08 UTC (permalink / raw)
  To: Gwang-Jin Kim; +Cc: 58220

>>>>> Gwang-Jin Kim <gwang.jin.kim.phd@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,





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#58220: global-linum-mode emacs29
  2022-10-01 12:17 ` Lars Ingebrigtsen
@ 2022-10-05 18:51   ` Jean Louis
  2022-10-05 22:51     ` Stefan Kangas
  0 siblings, 1 reply; 13+ messages in thread
From: Jean Louis @ 2022-10-05 18:51 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 58220, Gwang-Jin Kim

* Lars Ingebrigtsen <larsi@gnus.org> [2022-10-01 15:19]:
> Gwang-Jin Kim <gwang.jin.kim.phd@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/





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#58220: global-linum-mode emacs29
  2022-10-05 18:51   ` Jean Louis
@ 2022-10-05 22:51     ` Stefan Kangas
  2022-10-05 23:12       ` Lars Ingebrigtsen
                         ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Stefan Kangas @ 2022-10-05 22:51 UTC (permalink / raw)
  To: Jean Louis, Lars Ingebrigtsen; +Cc: 58220, Gwang-Jin Kim

Jean Louis <bugs@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?





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#58220: global-linum-mode emacs29
  2022-10-05 22:51     ` Stefan Kangas
@ 2022-10-05 23:12       ` Lars Ingebrigtsen
  2022-10-05 23:38         ` Stefan Kangas
  2022-10-06  6:03       ` Eli Zaretskii
  2022-10-06  7:48       ` Jean Louis
  2 siblings, 1 reply; 13+ messages in thread
From: Lars Ingebrigtsen @ 2022-10-05 23:12 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 58220, Gwang-Jin Kim, Jean Louis

Stefan Kangas <stefankangas@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.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#58220: global-linum-mode emacs29
  2022-10-05 23:12       ` Lars Ingebrigtsen
@ 2022-10-05 23:38         ` Stefan Kangas
  2022-10-06  6:08           ` Eli Zaretskii
  0 siblings, 1 reply; 13+ messages in thread
From: Stefan Kangas @ 2022-10-05 23:38 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 58220, Gwang-Jin Kim, Jean Louis

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Stefan Kangas <stefankangas@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.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#58220: global-linum-mode emacs29
  2022-10-05 22:51     ` Stefan Kangas
  2022-10-05 23:12       ` Lars Ingebrigtsen
@ 2022-10-06  6:03       ` Eli Zaretskii
  2022-10-06  7:48       ` Jean Louis
  2 siblings, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2022-10-06  6:03 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: gwang.jin.kim.phd, larsi, 58220, bugs

> Cc: 58220@debbugs.gnu.org, Gwang-Jin Kim <gwang.jin.kim.phd@gmail.com>
> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Wed, 5 Oct 2022 15:51:44 -0700
> 
> Jean Louis <bugs@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.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#58220: global-linum-mode emacs29
  2022-10-05 23:38         ` Stefan Kangas
@ 2022-10-06  6:08           ` Eli Zaretskii
  2022-10-06  7:11             ` Stefan Kangas
  0 siblings, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2022-10-06  6:08 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: larsi, bugs, 58220, gwang.jin.kim.phd

> Cc: 58220@debbugs.gnu.org, Gwang-Jin Kim <gwang.jin.kim.phd@gmail.com>,
>  Jean Louis <bugs@gnu.support>
> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Thu, 6 Oct 2022 01:38:16 +0200
> 
> Lars Ingebrigtsen <larsi@gnus.org> writes:
> 
> > Stefan Kangas <stefankangas@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.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#58220: global-linum-mode emacs29
  2022-10-06  6:08           ` Eli Zaretskii
@ 2022-10-06  7:11             ` Stefan Kangas
  2022-10-06  7:50               ` Jean Louis
  0 siblings, 1 reply; 13+ messages in thread
From: Stefan Kangas @ 2022-10-06  7:11 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: larsi, bugs, 58220-done, gwang.jin.kim.phd

Eli Zaretskii <eliz@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.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#58220: global-linum-mode emacs29
  2022-10-05 22:51     ` Stefan Kangas
  2022-10-05 23:12       ` Lars Ingebrigtsen
  2022-10-06  6:03       ` Eli Zaretskii
@ 2022-10-06  7:48       ` Jean Louis
  2 siblings, 0 replies; 13+ messages in thread
From: Jean Louis @ 2022-10-06  7:48 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: Lars Ingebrigtsen, 58220, Gwang-Jin Kim


* Stefan Kangas <stefankangas@gmail.com> [2022-10-06 01:52]:
> Jean Louis <bugs@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/





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#58220: global-linum-mode emacs29
  2022-10-06  7:11             ` Stefan Kangas
@ 2022-10-06  7:50               ` Jean Louis
  2022-10-06  8:14                 ` Eli Zaretskii
  0 siblings, 1 reply; 13+ messages in thread
From: Jean Louis @ 2022-10-06  7:50 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: gwang.jin.kim.phd, Eli Zaretskii, larsi, 58220-done

* Stefan Kangas <stefankangas@gmail.com> [2022-10-06 10:12]:
> Eli Zaretskii <eliz@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/





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#58220: global-linum-mode emacs29
  2022-10-06  7:50               ` Jean Louis
@ 2022-10-06  8:14                 ` Eli Zaretskii
  0 siblings, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2022-10-06  8:14 UTC (permalink / raw)
  To: Jean Louis; +Cc: gwang.jin.kim.phd, larsi, stefankangas, 58220-done

> Date: Thu, 6 Oct 2022 10:50:18 +0300
> From: Jean Louis <bugs@gnu.support>
> Cc: Eli Zaretskii <eliz@gnu.org>, larsi@gnus.org,
>   58220-done@debbugs.gnu.org, gwang.jin.kim.phd@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.)






^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-10-06  8:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-01 11:15 bug#58220: global-linum-mode emacs29 Gwang-Jin Kim
2022-10-01 12:17 ` Lars Ingebrigtsen
2022-10-05 18:51   ` Jean Louis
2022-10-05 22:51     ` Stefan Kangas
2022-10-05 23:12       ` Lars Ingebrigtsen
2022-10-05 23:38         ` Stefan Kangas
2022-10-06  6:08           ` Eli Zaretskii
2022-10-06  7:11             ` Stefan Kangas
2022-10-06  7:50               ` Jean Louis
2022-10-06  8:14                 ` Eli Zaretskii
2022-10-06  6:03       ` Eli Zaretskii
2022-10-06  7:48       ` Jean Louis
2022-10-01 13:08 ` Colin Baxter

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).