]> git.eshelyaron.com Git - emacs.git/commitdiff
Make linum.el obsolete
authorStefan Kangas <stefankangas@gmail.com>
Tue, 20 Sep 2022 18:52:42 +0000 (20:52 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Tue, 20 Sep 2022 18:53:40 +0000 (20:53 +0200)
* lisp/obsolete/linum.el: Add Obsolete-since.
* etc/NEWS: Announce obsoletion of linum.el.  (Bug#57412)

* doc/misc/efaq.texi (Displaying the current line or column):
* etc/TODO:
* lisp/faces.el: Don't mention linum.el.

doc/misc/efaq.texi
etc/NEWS
etc/TODO
lisp/faces.el
lisp/obsolete/linum.el

index ccaca1d017cf55211e67cd663ea042430ae62679..0da397919dbd1286bfaa8e49948bc89de14f72bc 100644 (file)
@@ -1810,9 +1810,6 @@ optional display.  Alternatively, you can use the
 customize @code{display-line-numbers-type} with the same value as you
 would use with @code{display-line-numbers}.
 
-There is also the @samp{linum} package which will henceforth become
-obsolete.  We recommend using @samp{display-line-numbers} instead.
-
 @node Displaying the current file name in the titlebar
 @section How can I modify the titlebar to contain the current file name?
 @cindex Titlebar, displaying the current file name in
index 5e34f43179ff53f4f42aad767565cadcc0112c6b..97174ba7a2d8e81a4f3dbd89b80dd71fbfba661c 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -389,6 +389,12 @@ The user options 'url-gateway-rlogin-host',
 'url-gateway-rlogin-parameters', and 'url-gateway-rlogin-user-name'
 are also obsolete.
 
+---
+** The linum.el library is now obsolete.
+We recommend using either the built-in `display-line-numbers-mode', or
+the `nlinum' package from GNU ELPA instead.  The former has better
+performance, but the latter is closer to a drop-in replacement.
+
 ---
 ** The autoarg.el library is now marked obsolete.
 This library provides the 'autoarg-mode' and 'autoarg-kp-mode' minor
index 5a89c47a9c103b3f3c7cb60c11fdab4e89e93a95..3e4979da8a70112d6aad8a587e7304c72127e64c 100644 (file)
--- a/etc/TODO
+++ b/etc/TODO
@@ -1686,12 +1686,6 @@ and the one to use when terminating the selection.
 More specifically do what's needed to make ibuffer.el the default, or
 just an extension of buff-menu.el.
 
-** Replace linum.el with nlinum.el
-https://lists.gnu.org/r/emacs-devel/2013-08/msg00379.html
-
-(Since Emacs 26 introduced native line numbers, this item is
-probably obsolete.)
-
 ** Merge sendmail.el and messages.el
 Probably not a complete merge, but at least arrange for messages.el to
 be a derived mode of sendmail.el.  Or arrange for messages.el to be
index e171b32e31739a7a0ceb39f3996db5de8c014d4a..ffdc391f669a4767b3e74f98020ce556503cc6c5 100644 (file)
@@ -2548,7 +2548,6 @@ default."
   :version "21.1"
   :group 'basic-faces)
 
-;; Definition stolen from linum.el.
 (defface line-number
   '((t :inherit (shadow default)))
   "Face for displaying line numbers.
index 1b897a2bd22f76c97a4f067534e8a46b18946dc1..017c06e426ec5fe72f18f5950e4eecc7bdbc7d52 100644 (file)
@@ -6,6 +6,7 @@
 ;; Maintainer: emacs-devel@gnu.org
 ;; Keywords: convenience
 ;; Old-Version: 0.9x
+;; Obsolete-since: 29.1
 
 ;; This file is part of GNU Emacs.
 
 
 ;;; Commentary:
 
+;; NOTE: This library was made obsolete in Emacs 29.1.  We recommend
+;; using either the built-in `display-line-numbers-mode', or the
+;; `nlinum' package from GNU ELPA instead.  The former has better
+;; performance, but the latter is closer to a drop-in replacement.
+;;
+;; --------------------
+;;
 ;; Display line numbers for the current buffer.
 ;;
 ;; Toggle display of line numbers with M-x linum-mode.  To enable