Version 0.4.0 of package Lin has just been released in GNU ELPA. You can now find it in M-x package-list RET.
Lin describes itself as: Make `hl-line-mode' more suitable for selection UIs More at https://elpa.gnu.org/packages/lin.html Recent NEWS: ━━━━━━━━━━━━━━━━━━━━━━ CHANGE LOG OF LIN.EL ━━━━━━━━━━━━━━━━━━━━━━ The newest release is at the top. For further details, please consult the manual: <https://protesilaos.com/emacs/lin>. Version 0.4.0 on 2022-06-09 ═══════════════════════════ ⁃ The official Git repository is now hosted on SourceHut. Mirrors are available on GitHub and GitLab—users can open issues there if they find it difficult to use the mailing list. The sources: • Official manual: <https://protesilaos.com/emacs/lin> • Change log: <https://protesilaos.com/emacs/lin-changelog> • Git repo on SourceHut: <https://git.sr.ht/~protesilaos/lin> ⁃ Mirrors: • GitHub: <https://github.com/protesilaos/lin> • GitLab: <https://gitlab.com/protesilaos/lin> • Mailing list: <https://lists.sr.ht/~protesilaos/lin> ⁃ The `grep-mode-hook' and `proced-mode-hook' are included in the default value of the user option `lin-mode-hooks'. This practically means that Lin will be active in the implied modes when `lin-global-mode' is enabled. Thanks to Nicolas De Jaeghere for the patch (Nicolas has assigned copyright to the Free Software Foundation). ⁃ The faces that leverage the macOS palette (`lin-mac{,-override-fg}') are made to work with Mitsuharu Yamamoto's `emacs-mac' port: <https://bitbucket.org/mituharu/emacs-mac/src/master/>. They read the `mac' display specification in addition to the `ns' one. Remember that you can specify the desired face as the value of `lin-face' (its doc string documents all the stylistic options we provide). Thanks to Kai von Fintel for the patch (the change is well below the ~15 line threshold for copyright assignment). Version 0.3.0 on 2022-04-08 ═══════════════════════════ ⁃ Changed the source repository from GitLab to SourceHut: <https://git.sr.ht/~protesilaos/lin>. Use the mailing list to start a discussion, report a bug, send a patch, etc.: <https://lists.sr.ht/~protesilaos/lin>. The GitLab URL will serve as a mirror from now on (a GitHub mirror is still available and will remain that way). ⁃ Introduced a buffer-local minor mode as well as its global equivalent: `lin-mode' and `lin-global-mode'. This makes it easier to set up Lin in user init files and/or toggle it on demand. The following shows how the package can be used: ┌──── │ (require 'lin) │ │ (setq lin-face 'lin-blue) ; check doc string for alternative styles │ │ ;; You can use this to live update the face: │ ;; │ ;; (customize-set-variable 'lin-face 'lin-green) │ │ (setq lin-mode-hooks │ '(bongo-mode-hook │ dired-mode-hook │ elfeed-search-mode-hook │ git-rebase-mode-hook │ ibuffer-mode-hook │ ilist-mode-hook │ ledger-report-mode-hook │ log-view-mode-hook │ magit-log-mode-hook │ mu4e-headers-mode │ notmuch-search-mode-hook │ notmuch-tree-mode-hook │ occur-mode-hook │ org-agenda-mode-hook │ tabulated-list-mode-hook)) │ │ (lin-global-mode 1) └──── ⁃ The `lin-face' now has a custom setter which automatically updates its appearance in all buffers where `lin-mode' is enabled. Users might thus prefer to set its value with `customize-set-variable' in order to find the style they like the most. Otherwise setting the value with `setq' is just fine for stable configurations. If, in that case, the user wants to update the face, they must invoke `revert-buffer' or equivalent (e.g. type `g' in Dired with the default key bindings) or evaluate the function `lin-enable-mode-in-buffers'. ⁃ The user option `lin-mode-hooks' now includes `bongo-mode-hook' (from the `bongo' package). Its default value is shown in the sample code above. Version 0.2.0 on 2022-03-16 ═══════════════════════════ Rewrote the entirety of `lin.el' to make the configuration easier and keep the code streamlined. The gist is that now Lin automatically enables `hl-line-mode' in every mode implied by `lin-mode-hooks'. Here is how Lin should be set up henceforth: … …
