unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jai Vetrivelan <jaivetrivelan@gmail.com>
To: 54925@debbugs.gnu.org
Cc: Jai Vetrivelan <jaivetrivelan@gmail.com>
Subject: [bug#54925] [PATCH 3/5] gnu: Add emacs-lin.
Date: Thu, 14 Apr 2022 13:08:04 +0530	[thread overview]
Message-ID: <20220414073806.24819-3-jaivetrivelan@gmail.com> (raw)
In-Reply-To: <20220414073806.24819-2-jaivetrivelan@gmail.com>

* gnu/packages/emacs-xyz.scm (emacs-lin): New variable.
---
 gnu/packages/emacs-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 43f08fa880..1ceb526cfd 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13741,6 +13741,42 @@ (define-public emacs-linum-relative
 number on the left margin in Emacs.")
     (license license:gpl2+)))
 
+(define-public emacs-lin
+  (package
+    (name "emacs-lin")
+    (version "0.3.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~protesilaos/lin")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1w1mli2wrxbnwagn3rx5ygslmzlri3drm74nqgwpl4pwh66xi98a"))))
+    (native-inputs (list texinfo))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'makeinfo
+            (lambda _
+              (invoke "emacs"
+                      "--batch"
+                      "--eval=(require 'ox-texinfo)"
+                      "--eval=(find-file \"README.org\")"
+                      "--eval=(org-texinfo-export-to-info)")
+              (install-file "lin.info" (string-append #$output "/share/info")))))))
+    (home-page "https://protesilaos.com/emacs/lin")
+    (synopsis "Make @command{hl-line-mode} more suitable for selection UIs")
+    (description "Lin is a stylistic enhancement for Emacs’ built-in
+@command{hl-line-mode}.  It remaps the hl-line face (or equivalent)
+buffer-locally to a style that is optimal for major modes where line selection
+is the primary mode of interaction.")
+    (license (list license:gpl3+
+                   license:fdl1.3+)))) ; GFDLv1.3+ for the manual
+
 (define-public emacs-idle-highlight
   (package
     (name "emacs-idle-highlight")
-- 
2.34.0





  reply	other threads:[~2022-04-14  7:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-14  7:34 [bug#54925] [PATCH 0/6] emacs-xyz: add info manuals Jai Vetrivelan
2022-04-14  7:38 ` [bug#54925] [PATCH 1/5] gnu: emacs-mct: Add Info manual Jai Vetrivelan
2022-04-14  7:38   ` [bug#54925] [PATCH 2/5] gnu: Add emacs-logos Jai Vetrivelan
2022-04-14  7:38     ` Jai Vetrivelan [this message]
2022-04-14  7:38       ` [bug#54925] [PATCH 4/5] gnu: Add emacs-pulsar Jai Vetrivelan
2022-04-14  7:38         ` [bug#54925] [PATCH 5/5] gnu: emacs-modus-themes: Update to 2.3.2 Jai Vetrivelan
2022-05-08 22:09 ` bug#54925: [PATCH 0/6] emacs-xyz: add info manuals Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220414073806.24819-3-jaivetrivelan@gmail.com \
    --to=jaivetrivelan@gmail.com \
    --cc=54925@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.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).