From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QMhiJlkqN2I24QAAgWs5BA (envelope-from ) for ; Sun, 20 Mar 2022 14:21:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EES7IlkqN2L3OQAAauVa8A (envelope-from ) for ; Sun, 20 Mar 2022 14:21:29 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 568282AD20 for ; Sun, 20 Mar 2022 14:21:29 +0100 (CET) Received: from localhost ([::1]:45576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVvUu-0002e1-Bh for larch@yhetil.org; Sun, 20 Mar 2022 09:21:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVvUW-0002aA-7X for guix-patches@gnu.org; Sun, 20 Mar 2022 09:21:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nVvUU-0004Y2-Jo for guix-patches@gnu.org; Sun, 20 Mar 2022 09:21:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nVvUU-0007YY-GX for guix-patches@gnu.org; Sun, 20 Mar 2022 09:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54474] [PATCH 3/6] gnu: Add emacs-lin. References: <87y214bw95.fsf@gmail.com> In-Reply-To: <87y214bw95.fsf@gmail.com> Resent-From: Jai Vetrivelan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 Mar 2022 13:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54474 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54474@debbugs.gnu.org Received: via spool by 54474-submit@debbugs.gnu.org id=B54474.164778244928988 (code B ref 54474); Sun, 20 Mar 2022 13:21:02 +0000 Received: (at 54474) by debbugs.gnu.org; 20 Mar 2022 13:20:49 +0000 Received: from localhost ([127.0.0.1]:33220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVvUH-0007XU-1G for submit@debbugs.gnu.org; Sun, 20 Mar 2022 09:20:49 -0400 Received: from mail-pl1-f172.google.com ([209.85.214.172]:44896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVvUF-0007XF-PP for 54474@debbugs.gnu.org; Sun, 20 Mar 2022 09:20:48 -0400 Received: by mail-pl1-f172.google.com with SMTP id q11so10580785pln.11 for <54474@debbugs.gnu.org>; Sun, 20 Mar 2022 06:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:emacs:date:message-id:mime-version :content-disposition:content-transfer-encoding; bh=fpRV0UEH3ZZkxFu2G7A+Bo1pbm7Uvp+deJyy7bIYQAc=; b=bmKMEXfCwpbIdT+q5HAT1dXlZAkwwhd0cyC8SPtWz/P6OqZ1wfZ4WInLiix+X4ROZN wK6mS3Qalu4KcAQiAv+EbZv+c8UtN4Y6QWGSU1RFbKNZbEW2tfHr8p+qkWqY9TGDIf/X rSZiEaYDNIjkrL0fwVpvl2Wn0IGbHMtUSR8+O1QLqPfTTANYbSF1c+Igo/9l1lrWiWzZ zra16QHYBYA/p/K57PbAxg7Z83wI5EmZQ4s0rayHpi37PyFyNtiSG9jTAQcEOLUVNjcv asDDUKFZ6kc0NshKp26nFLopLpTpeIRID5fQXxQA79rfG3g7F88M28iEwk7BixqHgMDg jMuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:emacs:date:message-id :mime-version:content-disposition:content-transfer-encoding; bh=fpRV0UEH3ZZkxFu2G7A+Bo1pbm7Uvp+deJyy7bIYQAc=; b=Q0riFbxim547EEMQtHUq6S9v2fttn3nS2L4lckZ6QwAsPnhjWHTf7GiE1w7q7GHvvN FpnalceZcGg9C5+9sxsJ/cZupG0hkxRb5I/H+joZNhWbgu9Ui5dKf5Y8UdYjvkSoknso Lq/P+jz/hHCIw3fcQENMuFRO8Lml7g+JVE/An3npJDsyqCc3ruHqI9HYi/BpB119NavG yFSniyEI7jT6J5+7aEuNONqAb0EXhmBJI2J6qlsQPBAV7tMAX/l9xr9YDAIPKTEiEyLL I/DBjYKHeJphkQCbuhecY2BQJmI1KYC+qb+en1QCAdOjuDNjKgqBEV0y/FHZDQ6BWWeK QASw== X-Gm-Message-State: AOAM533IDkcc+4nW9Z9Hmfxc9buXkS5GAGKOPy3P7MaT2jp/rNVurRFa k3/DZuuslAblRlsQ3YhJSzE8D8hLYZQ= X-Google-Smtp-Source: ABdhPJzuoH4t5MBETaHo2cCkXvHPBdKSmOx1JRSzdksUjALLTLTtpH42xVrhW8ngnYk5DZRxHOOGZA== X-Received: by 2002:a17:902:d2cd:b0:154:38c5:f91d with SMTP id n13-20020a170902d2cd00b0015438c5f91dmr5475769plc.59.1647782442127; Sun, 20 Mar 2022 06:20:42 -0700 (PDT) Received: from guix ([2409:4072:8e46:2982:29b2:66e7:8126:5852]) by smtp.gmail.com with ESMTPSA id d11-20020a056a0010cb00b004e1b76b09c0sm16063914pfu.74.2022.03.20.06.20.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Mar 2022 06:20:41 -0700 (PDT) From: Jai Vetrivelan Emacs: the road to Hell is paved with extensibility. Date: Sun, 20 Mar 2022 18:50:37 +0530 Message-ID: <87o820bw0q.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/patch; charset=utf-8 Content-Disposition: inline; filename=0003-gnu-Add-emacs-lin.patch Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647782489; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=fpRV0UEH3ZZkxFu2G7A+Bo1pbm7Uvp+deJyy7bIYQAc=; b=GMPY+ySMTUojP+nNte8mYPtShlgwaP8ABW4Oc2Hss2aOmDDC8pqs4Jls/svWGsemb1ZSLV BqpbxWum5WB4eApsx+haYBjO7NqVbQqRuyRjnFZbvW/xnPmshFnk+hwulcfxBjtrIeMWRq OWeWkrMLlSS74CAuwdpn+CTJK3UuTT6YE5L1Q0V8xBLzwnDs9Es18tfSsAsGnzL+1j31pc G13At4chQe0Mu6EvBgwI/MOdE/5PnXN1gGfk15n0L+s04fDoPqDmrup9CY/2SpsPi/oN95 59I3jsTQXhrLeEYKlpSLnfT/5aMYaYS/eqdCE+tjMpPdZ1hsHDsKhiVXdjXRkg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647782489; a=rsa-sha256; cv=none; b=NNxHG+Qq3zJPT+sBx2/aAcbGuTa5hslzQ7v7QDcAnyu1OiKbPAyWXKAPNdOriJklCA9zkq 2Qfk0DnnP9jm/S7Tsv3rDL7xcPuAthAuBryiUYdRXh82j5iLz3g5x9XRCjKe9J/pTCmX29 RhFgSdinwjoxQB7umpGYDVATL1pLDWRffAQIjQPM4/nZFT1yJebAW5nocmrGJVzN0uAgjJ u9cGPdnGuz35G/mAIdwuMDhAkSOOfsuoZ2ssMJAChnlB1LbKe/z2pKgw6HU202JKZG+/Vl spa/5uuwRETZzEhR41QcGZu7vZFJ1/jrcEPfBfL7VuNUj4GM3u3QdomegBr+gw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=bmKMEXfC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=bmKMEXfC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 568282AD20 X-Spam-Score: 5.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: TXywvqQxpP1M >From 206367ee989b1c881aeeb857fca8bae7a901e0cf Mon Sep 17 00:00:00 2001 From: Jai Vetrivelan Date: Sun, 20 Mar 2022 17:23:42 +0530 Subject: [PATCH 3/6] gnu: Add emacs-lin. * 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 567dfc4eb8..eb2f857abd 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -13688,6 +13688,42 @@ (define-public emacs-linum-relative number on the left margin in Emacs.") (license license:gpl2+))) =20 +(define-public emacs-lin + (package + (name "emacs-lin") + (version "0.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/protesilaos/lin.git/") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "14aawkgqwwg0sv7wfz6b3f266vga2wjldm8vwdycyipcz89bf73w")))) + (native-inputs (list texinfo)) + (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'makeinfo + (lambda* (#:key outputs #:allow-other-keys) + (invoke "emacs" + "--batch" + "--eval=3D(require 'ox-texinfo)" + "--eval=3D(find-file \"README.org\")" + "--eval=3D(org-texinfo-export-to-info)") + (install-file "lin.info" + (string-append (assoc-ref outputs "out") + "/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=E2=80=99 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 selec= tion +is the primary mode of interaction.") + (license license:gpl3+))) ; GFDLv1.3+ for the manual + (define-public emacs-idle-highlight (package (name "emacs-idle-highlight") --=20 2.34.0