From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Protesilaos Stavrou Newsgroups: gmane.emacs.devel Subject: ELPA: add lin.el Date: Fri, 05 Nov 2021 21:29:11 +0200 Message-ID: <871r3uv1tk.fsf@protesilaos.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39796"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Notmuch/0.33.2 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: Nicolas De Jaeghere To: "emacs-devel" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 05 20:30:55 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mj4vO-000A73-Q8 for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Nov 2021 20:30:54 +0100 Original-Received: from localhost ([::1]:58554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mj4vN-0000z8-8B for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Nov 2021 15:30:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mj4ts-0007Uz-G2 for emacs-devel@gnu.org; Fri, 05 Nov 2021 15:29:20 -0400 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:49731) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mj4tp-0008Pr-S0 for emacs-devel@gnu.org; Fri, 05 Nov 2021 15:29:19 -0400 Original-Received: (Authenticated sender: public@protesilaos.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id E7A5420002; Fri, 5 Nov 2021 19:29:12 +0000 (UTC) Received-SPF: none client-ip=217.70.183.200; envelope-from=info@protesilaos.com; helo=relay7-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:278801 Archived-At: --=-=-= Content-Type: text/plain Hello everyone, I have a small package called "LIN Is Noticeable" (LIN, lin, lin.el, etc.). It locally remaps the 'hl-line' face. The user can enable 'lin-mode' in select major modes to have a more intense (or just different) style for the highlighted line of 'hl-line-mode', without compromising the utility of the 'hl-line' face in all other buffers. Quote from the documentation: The idea is that 'hl-line' cannot work equally well for contexts with competing priorities: (i) line selection, or (ii) simple line highlight. In the former case, the current line needs to be made prominent because it carries a specific meaning of some significance in the given context. Whereas in the latter case, the primary mode of interaction does not revolve around the line highlight itself: it may be because the focus is on editing text or reading through the buffer's contents, so the current line highlight is more of a gentle reminder of the point's location on the vertical axis. LIN does not enable 'hl-line-mode'. It just remaps the 'hl-line' face. I attach the patch for elpa.git. What do you think? I can provide screenshots in case you need a demonstration. Note that I received contributions from Nicolas De Jaeghere (in Cc). Nicolas has also assigned copyright to the FSF. All the best, Protesilaos (or simply "Prot") -- Protesilaos Stavrou https://protesilaos.com --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-elpa-packages-lin-Add-package.patch >From 1060655766e33788d9a6b849935c45484722c50d Mon Sep 17 00:00:00 2001 Message-Id: <1060655766e33788d9a6b849935c45484722c50d.1636138741.git.info@protesilaos.com> From: Protesilaos Stavrou Date: Fri, 5 Nov 2021 20:58:37 +0200 Subject: [PATCH] * elpa-packages (lin): Add package --- elpa-packages | 1 + 1 file changed, 1 insertion(+) diff --git a/elpa-packages b/elpa-packages index e26a428c25..42d72d6874 100644 --- a/elpa-packages +++ b/elpa-packages @@ -295,6 +295,7 @@ ("leaf" :url "https://github.com/conao3/leaf.el") ("let-alist" :core "lisp/emacs-lisp/let-alist.el") ("lex" :url nil) + ("lin" :url "https://gitlab.com/protesilaos/lin" :main-file "lin.el" :doc "README.org") ("lmc" :url nil) ("load-dir" :url nil) ("load-relative" :url "https://github.com/rocky/emacs-load-relative") -- 2.33.1 --=-=-=--