* Replacing linum-mode by nlinum-mode
@ 2013-08-14 1:02 Stefan Monnier
2013-08-14 1:53 ` Drew Adams
0 siblings, 1 reply; 10+ messages in thread
From: Stefan Monnier @ 2013-08-14 1:02 UTC (permalink / raw)
To: emacs-devel
Could someone try to take care of replacing linum-mode with nlinum-mode?
I guess this would involve renaming linum.el (and its functions/vars) to
olinum.el, move it to lisp/obsolete, and then try to rename the nlinum
vars and functions to try and maximize backward compatibility.
Any taker?
Stefan
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: Replacing linum-mode by nlinum-mode
2013-08-14 1:02 Replacing linum-mode by nlinum-mode Stefan Monnier
@ 2013-08-14 1:53 ` Drew Adams
2013-08-14 2:35 ` Stefan Monnier
0 siblings, 1 reply; 10+ messages in thread
From: Drew Adams @ 2013-08-14 1:53 UTC (permalink / raw)
To: Stefan Monnier, emacs-devel
> Could someone try to take care of replacing linum-mode with nlinum-mode?
> I guess this would involve renaming linum.el (and its functions/vars) to
> olinum.el, move it to lisp/obsolete, and then try to rename the nlinum
> vars and functions to try and maximize backward compatibility.
If you want to "maximize backward compatibility", why rename anything?
Why not just use nlinum functions wherever you want, in place of linum
functions? Why gratuitously change user code at the same time?
(To be clear, I don't knowingly use either, and I have no code that
does. My question has nothing to do with my personal use of Emacs.)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Replacing linum-mode by nlinum-mode
2013-08-14 1:53 ` Drew Adams
@ 2013-08-14 2:35 ` Stefan Monnier
2013-08-14 2:50 ` Drew Adams
2013-08-14 12:25 ` Juanma Barranquero
0 siblings, 2 replies; 10+ messages in thread
From: Stefan Monnier @ 2013-08-14 2:35 UTC (permalink / raw)
To: Drew Adams; +Cc: emacs-devel
> If you want to "maximize backward compatibility", why rename anything?
> Why not just use nlinum functions wherever you want, in place of linum
> functions? Why gratuitously change user code at the same time?
> (To be clear, I don't knowingly use either, and I have no code that
> does. My question has nothing to do with my personal use of Emacs.)
Because the main reason to install nlinum-mode is to fix the bugs of
linum-mode, so users of linum-mode will only benefit from those
bug-fixes if they get transparently "upgraded" to nlinum-mode.
Stefan
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: Replacing linum-mode by nlinum-mode
2013-08-14 2:35 ` Stefan Monnier
@ 2013-08-14 2:50 ` Drew Adams
2013-08-14 12:25 ` Juanma Barranquero
1 sibling, 0 replies; 10+ messages in thread
From: Drew Adams @ 2013-08-14 2:50 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
> > If you want to "maximize backward compatibility", why rename anything?
> >
> > Why not just use nlinum functions wherever you want, in place of linum
> > functions? Why gratuitously change user code at the same time?
> >
> > (To be clear, I don't knowingly use either, and I have no code that
> > does. My question has nothing to do with my personal use of Emacs.)
>
> Because the main reason to install nlinum-mode is to fix the bugs of
> linum-mode, so users of linum-mode will only benefit from those
> bug-fixes if they get transparently "upgraded" to nlinum-mode.
They will benefit if they are "upgraded" to nlinum-mode, whether
that happens "transparently" or they do it intentionally & knowingly.
Still sounds more user-friendly to me to (a) fix all Emacs source code
to use the nlinum functions and (b) encourage 3rd-party code to move
to using those functions also.
Changing the names is not so nice. 3rd-party programmers will not
know without digging a bit that completely different code is now being
run under the same names (even the library name is taken over).
Not a big deal, but not super considerate of users. And you did say
you wanted to "maximize backward compatibility".
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Replacing linum-mode by nlinum-mode
2013-08-14 2:35 ` Stefan Monnier
2013-08-14 2:50 ` Drew Adams
@ 2013-08-14 12:25 ` Juanma Barranquero
2013-08-14 15:40 ` Stefan Monnier
1 sibling, 1 reply; 10+ messages in thread
From: Juanma Barranquero @ 2013-08-14 12:25 UTC (permalink / raw)
To: Stefan Monnier; +Cc: Drew Adams, Emacs developers
On Wed, Aug 14, 2013 at 4:35 AM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
> Because the main reason to install nlinum-mode is to fix the bugs of
> linum-mode, so users of linum-mode will only benefit from those
> bug-fixes if they get transparently "upgraded" to nlinum-mode.
Some important differences betwen nlinum and linum were already
reported. Have they been fixed in nlinum?
J
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Replacing linum-mode by nlinum-mode
2013-08-14 12:25 ` Juanma Barranquero
@ 2013-08-14 15:40 ` Stefan Monnier
2013-08-14 15:41 ` Juanma Barranquero
0 siblings, 1 reply; 10+ messages in thread
From: Stefan Monnier @ 2013-08-14 15:40 UTC (permalink / raw)
To: Juanma Barranquero; +Cc: Drew Adams, Emacs developers
> Some important differences betwen nlinum and linum were already
> reported. Have they been fixed in nlinum?
No.
Stefan
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Replacing linum-mode by nlinum-mode
2013-08-14 15:40 ` Stefan Monnier
@ 2013-08-14 15:41 ` Juanma Barranquero
2013-08-14 16:00 ` Stefan Monnier
0 siblings, 1 reply; 10+ messages in thread
From: Juanma Barranquero @ 2013-08-14 15:41 UTC (permalink / raw)
To: Stefan Monnier; +Cc: Drew Adams, Emacs developers
On Wed, Aug 14, 2013 at 5:40 PM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
> No.
Then, replacing linum.el with nlinum.el can hardly be called an "upgrade".
J
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Replacing linum-mode by nlinum-mode
2013-08-14 15:41 ` Juanma Barranquero
@ 2013-08-14 16:00 ` Stefan Monnier
2013-08-14 16:03 ` Juanma Barranquero
0 siblings, 1 reply; 10+ messages in thread
From: Stefan Monnier @ 2013-08-14 16:00 UTC (permalink / raw)
To: Juanma Barranquero; +Cc: Drew Adams, Emacs developers
>> No.
> Then, replacing linum.el with nlinum.el can hardly be called an "upgrade".
Well, AFAIK it's faster and more reliable.
Stefan
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Replacing linum-mode by nlinum-mode
2013-08-14 16:00 ` Stefan Monnier
@ 2013-08-14 16:03 ` Juanma Barranquero
2013-08-19 2:18 ` Stefan Monnier
0 siblings, 1 reply; 10+ messages in thread
From: Juanma Barranquero @ 2013-08-14 16:03 UTC (permalink / raw)
To: Stefan Monnier; +Cc: Drew Adams, Emacs developers
On Wed, Aug 14, 2013 at 6:00 PM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
> Well, AFAIK it's faster and more reliable.
I've never had problems with linum's speed. Nor with reliability,
truth be told; though I know there are a few bug reports about it, so
perhaps I've just been lucky.
But, in any case, a functionality-removing change could only be called
at most a "sidegrade". Also, I seem to remember from the last time we
talked about this, that implementing the missing linum features in
nlinum wasn't exactly trivial, if at all possible.
J
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Replacing linum-mode by nlinum-mode
2013-08-14 16:03 ` Juanma Barranquero
@ 2013-08-19 2:18 ` Stefan Monnier
0 siblings, 0 replies; 10+ messages in thread
From: Stefan Monnier @ 2013-08-19 2:18 UTC (permalink / raw)
To: Juanma Barranquero; +Cc: Drew Adams, Emacs developers
> But, in any case, a functionality-removing change could only be called
> at most a "sidegrade". Also, I seem to remember from the last time we
> talked about this, that implementing the missing linum features in
> nlinum wasn't exactly trivial, if at all possible.
There's no doubt that in some cases it's currently a downgrade.
If those can all be fixed, I don't know, but I think the important cases
can be fixed.
Would you be willing to try and be in charge of the change, then?
You seem to have a good grasp of what it would take to make the package
good enough to be a real upgrade.
I'd provide any help I can, of course.
Stefan
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2013-08-19 2:18 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-14 1:02 Replacing linum-mode by nlinum-mode Stefan Monnier
2013-08-14 1:53 ` Drew Adams
2013-08-14 2:35 ` Stefan Monnier
2013-08-14 2:50 ` Drew Adams
2013-08-14 12:25 ` Juanma Barranquero
2013-08-14 15:40 ` Stefan Monnier
2013-08-14 15:41 ` Juanma Barranquero
2013-08-14 16:00 ` Stefan Monnier
2013-08-14 16:03 ` Juanma Barranquero
2013-08-19 2:18 ` Stefan Monnier
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.