From unknown Sun Jun 22 17:11:44 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#28076] [PATCH] gnu: Add emacs-highlight-symbol. Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 13 Aug 2017 10:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28076 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 28076@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.150261972626068 (code B ref -1); Sun, 13 Aug 2017 10:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Aug 2017 10:22:06 +0000 Received: from localhost ([127.0.0.1]:59222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgq22-0006mO-I2 for submit@debbugs.gnu.org; Sun, 13 Aug 2017 06:22:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgq20-0006m1-5S for submit@debbugs.gnu.org; Sun, 13 Aug 2017 06:22:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgq1t-0007ss-Q4 for submit@debbugs.gnu.org; Sun, 13 Aug 2017 06:21:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58469) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dgq1t-0007sk-MP for submit@debbugs.gnu.org; Sun, 13 Aug 2017 06:21:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgq1s-0008A9-02 for guix-patches@gnu.org; Sun, 13 Aug 2017 06:21:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgq1n-0007pu-TX for guix-patches@gnu.org; Sun, 13 Aug 2017 06:21:55 -0400 Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]:37199) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dgq1n-0007oB-K6 for guix-patches@gnu.org; Sun, 13 Aug 2017 06:21:51 -0400 Received: by mail-lf0-x231.google.com with SMTP id m86so30090596lfi.4 for ; Sun, 13 Aug 2017 03:21:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=ODbeekIJVOT4bMekMaqhPtxtMO0SPg3a14j4OtVMS88=; b=eWW2LP39jVTbVMf0oMxlMT91Du4JUNQldJCyclWLPwvHzl/J6G6DN3xL5DmqI0fW6H 8mYGI8SOBw42njRQfN7EbvKcmF5dBkiaR9tH9XAcG1z5MpAjVO/RdZ8rMs+Zq0yUMI2R lVdJV6Zxku8/MGzA1177w8grxx63mAXJ2UCDMpU6YVA2YTY+QBtgq+rkPKRxSi9HAk/E 1C6RHy0GVkzGE/zQiKBKVubsz2ay3CqyNus40ptnPS2HSMNY4Nl9m5M9mbpdQ5Pg2b9V g+sskgBm7hKgF5uxwBHRV+Jv07m3scvL6pVEpIp9jW9MZh6BReI8qrFw7HOK7IymPUO/ DZpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=ODbeekIJVOT4bMekMaqhPtxtMO0SPg3a14j4OtVMS88=; b=apJvXFjYb00LvWN1WHzU/+qPdPJZh7igFQCfJYrPnwa1KBzgyoSwGpC5pLI5D9n7Eb eReMC6vyFNbfGmvG0nN+FtaZ1astLVY1bLKiDkxhwpqIuV5UOXE/tZRmo044oq/li3Cy yWcW4ewtsyWesM3L2NjS6drdaLUL1ZD/QUtz6zK0nz2DIsZockB36PK2JqyeLiMcoA4f A8U0gxHAFYoS/ONGCNsTviJ53a4/7k5jm5h6GpF0rm0NoN5OnFSGSLLTxQ0Rna0RXXRc jSpro32rGWbhCXwg2ssTOU0FKBof/pHt8oKUWG7J4nfP1Yc61cEqRFMbSuAw8MrtFTkG Mwkw== X-Gm-Message-State: AHYfb5ipE0bPTfU2lUEkzukNlglgLHkMbJr9+rKIzXKr0zacrwZbj7FC l5Qgri4tDIYAx4Pg X-Received: by 10.25.59.213 with SMTP id d82mr6312982lfl.37.1502619708646; Sun, 13 Aug 2017 03:21:48 -0700 (PDT) Received: from magnolia ([178.70.246.24]) by smtp.gmail.com with ESMTPSA id g84sm954734lfl.61.2017.08.13.03.21.47 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 13 Aug 2017 03:21:47 -0700 (PDT) From: Oleg Pykhalov Date: Sun, 13 Aug 2017 13:21:46 +0300 Message-ID: <87tw1bvkcl.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Guix, I have a question about license, =E2=80=9Chighlight-symbol.el=E2=80=9D says: --8<---------------cut here---------------start------------->8--- ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License ;; as published by the Free Software Foundation; either version 2 ;; of the License, or (at your option) any later version. --8<---------------cut here---------------end--------------->8--- Could we use =E2=80=9C(license license:gpl3+)=E2=80=9D because it says =E2= =80=9Cor any later version=E2=80=9D? --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-emacs-highlight-symbol.patch Content-Description: [PATCH] gnu: Add emacs-highlight-symbol. >From 35a1ede25fdc8460e1f4b048f52c68931f2e0e8b Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Sun, 13 Aug 2017 13:17:02 +0300 Subject: [PATCH] gnu: Add emacs-highlight-symbol. * gnu/packages/emacs.scm (emacs-highlight-symbol): New variable. --- gnu/packages/emacs.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 5a69990c6..0bd071c8e 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -2632,6 +2632,38 @@ features found in other packages it also brings many improvements as well as completely new features.") (license license:gpl3+))) +(define-public emacs-highlight-symbol + (package + (name "emacs-highlight-symbol") + (version "1.3") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/nschum/highlight-symbol.el/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1n7k1qns0fn0jsyc0hrjac5nzk21xw48yc30vyrhwvc51h0b9g90")))) + (build-system emacs-build-system) + (home-page "http://nschum.de/src/emacs/highlight-symbol") + (synopsis "Automatic and manual symbol highlighting for Emacs") + (description + "Use @code{highlight-symbol} to toggle highlighting of the symbol at +point throughout the current buffer. Use @code{highlight-symbol-mode} to keep +the symbol at point highlighted. + +The functions @code{highlight-symbol-next}, @code{highlight-symbol-prev}, +@code{highlight-symbol-next-in-defun} and +@code{highlight-symbol-prev-in-defun} allow for cycling through the locations +of any symbol at point. Use @code{highlight-symbol-nav-mode} to enable key +bindings @code{M-p} and @code{M-p} for navigation. When +@code{highlight-symbol-on-navigation-p} is set, highlighting is triggered +regardless of @code{highlight-symbol-idle-delay}. + +@code{highlight-symbol-query-replace} can be used to replace the symbol. ") + (license license:gpl3+))) + (define-public emacs-hl-todo (package (name "emacs-hl-todo") -- 2.14.1 --=-=-= Content-Type: text/plain -- Best regards, Oleg. --=-=-=-- From unknown Sun Jun 22 17:11:44 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Oleg Pykhalov Subject: bug#28076: closed (Re: [bug#28076] [PATCH] gnu: Add emacs-highlight-symbol.) Message-ID: References: <87y3qkzmoc.fsf@fastmail.com> <87tw1bvkcl.fsf@gmail.com> X-Gnu-PR-Message: they-closed 28076 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 28076@debbugs.gnu.org Date: Tue, 15 Aug 2017 18:57:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1502823422-2058-1" This is a multi-part message in MIME format... ------------=_1502823422-2058-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #28076: [PATCH] gnu: Add emacs-highlight-symbol. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 28076@debbugs.gnu.org. --=20 28076: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D28076 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1502823422-2058-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 28076-done) by debbugs.gnu.org; 15 Aug 2017 18:56:31 +0000 Received: from localhost ([127.0.0.1]:39121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhh0x-0000X0-8A for submit@debbugs.gnu.org; Tue, 15 Aug 2017 14:56:31 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:58875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhh0v-0000Wu-Pl for 28076-done@debbugs.gnu.org; Tue, 15 Aug 2017 14:56:30 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 1916821D8D; Tue, 15 Aug 2017 14:55:03 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 15 Aug 2017 14:55:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=vaq7RE8PygfmUDvx9IMAlPWW5MTkS+HnOiKHcna8Z 3I=; b=CLncAKjvsVI49vFpIUF1pcQqy2qj6aDrFHRxzELpX8FIlw7uTzVopSEMJ jyj64D/9cItZ2kGO60NLRmxgIrHHlHwXkwnWNKgi/r74gZGr6C8e2Sxx+1zGQr4P hV6/E5xlU4gukiplSBH+RGfOmFleVOIwY7iXNRrFDxzIgAkVWU0yy4U/gQeUZvn6 Om2BWtvnlnL23NS4E12ziW93utCrksYhdhjlU/DwFkX/dFy/DYYYdSqumzDlgb4g /bsNAJQubIsiVCCnZ6X+KXARjetTCStNtuD0s8kQBHgvt//uX3VouUzSJ099/nxi QQoKSsPAJazmgXo61s4DNbCsTmhcA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=vaq7RE8PygfmUDvx9I MAlPWW5MTkS+HnOiKHcna8Z3I=; b=ixVfqaHQNWQjCyxov/icZV2nSlWzGvO3P7 ofeVqkQK+mKQCL9T2me34cYQDiVI463osdEk4nQ44PkMHVf3CCjtmQYgB8nmMgQS hP9gB1pYnnKwLnqA3MvOQFdiIKf+ArwMo3+X3tbpGK8G3feevzxJ5qtg8AUw4GCG a4pgLEmJXXXz40hPXm4v6BJ/O0DeCfSF+FVM8LDXz2DzCVMAdrq+EHczW/xOiWQ1 BArdQJ8vkWS2do7BvypmVHSdxK8O93ofk2PeNevRYdfCRd1IP5eEu90KMvDbPIm+ tJZMnYYaio+sb1Wn8Z33gfs0ar9Re/QaHM0XJnnENjzch4PdSzlQ== X-ME-Sender: X-Sasl-enc: 24doDWymlisFT1PQKauC+uGDsul0G/7qt25KJxNFU+CJ 1502823302 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id A7E12240AF; Tue, 15 Aug 2017 14:55:02 -0400 (EDT) From: Marius Bakke To: Oleg Pykhalov , 28076-done@debbugs.gnu.org Subject: Re: [bug#28076] [PATCH] gnu: Add emacs-highlight-symbol. In-Reply-To: <87tw1bvkcl.fsf@gmail.com> References: <87tw1bvkcl.fsf@gmail.com> User-Agent: Notmuch/0.25 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Tue, 15 Aug 2017 20:54:43 +0200 Message-ID: <87y3qkzmoc.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 28076-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Oleg Pykhalov writes: > Hello Guix, > > I have a question about license, =E2=80=9Chighlight-symbol.el=E2=80=9D sa= ys: > > --8<---------------cut here---------------start------------->8--- > ;; This program is free software; you can redistribute it and/or > ;; modify it under the terms of the GNU General Public License > ;; as published by the Free Software Foundation; either version 2 > ;; of the License, or (at your option) any later version. > --8<---------------cut here---------------end--------------->8--- > > Could we use =E2=80=9C(license license:gpl3+)=E2=80=9D because it says = =E2=80=9Cor any later > version=E2=80=9D? We probably *could*, but we should not hide this fact from the end user. I went ahead and applied this patch after changing the license to gpl2+ and using HTTPS for the home page. Thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlmTQ3MACgkQoqBt8qM6 VPqibAgAj9w/TZN0ZxOsgLYPN7/Nuz7a9F7ZKfgMxJ/ps1xKzgfo1Dw48EDY7lXk krih2bkS/mxTRtp4VRJSXGQt1XqAHbZrO92G259v1OEIct5v5r5aXRz6FeH0dWHV zQmAunMC/gugoK3brtHqvwWUEs+5FZQhWzP+uDzhRadksz4ayi7eXMveVg6yqezj mGiAuiFfx4G0WWFDEkHadhqm0dua2XuCmpHtIydw41vqoo2Ja/MsEX0LRTwDnzHB GRwNqtcBZvv1PsccJPdg3YW7ihwO4Z0llI2oCTXExYQcyPDArE3+qWt/1CK5+DKJ g9r0OT9CA9n4QxdwPJqbNU2ok+nBow== =Zkyt -----END PGP SIGNATURE----- --=-=-=-- ------------=_1502823422-2058-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Aug 2017 10:22:06 +0000 Received: from localhost ([127.0.0.1]:59222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgq22-0006mO-I2 for submit@debbugs.gnu.org; Sun, 13 Aug 2017 06:22:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgq20-0006m1-5S for submit@debbugs.gnu.org; Sun, 13 Aug 2017 06:22:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgq1t-0007ss-Q4 for submit@debbugs.gnu.org; Sun, 13 Aug 2017 06:21:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58469) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dgq1t-0007sk-MP for submit@debbugs.gnu.org; Sun, 13 Aug 2017 06:21:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgq1s-0008A9-02 for guix-patches@gnu.org; Sun, 13 Aug 2017 06:21:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgq1n-0007pu-TX for guix-patches@gnu.org; Sun, 13 Aug 2017 06:21:55 -0400 Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]:37199) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dgq1n-0007oB-K6 for guix-patches@gnu.org; Sun, 13 Aug 2017 06:21:51 -0400 Received: by mail-lf0-x231.google.com with SMTP id m86so30090596lfi.4 for ; Sun, 13 Aug 2017 03:21:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=ODbeekIJVOT4bMekMaqhPtxtMO0SPg3a14j4OtVMS88=; b=eWW2LP39jVTbVMf0oMxlMT91Du4JUNQldJCyclWLPwvHzl/J6G6DN3xL5DmqI0fW6H 8mYGI8SOBw42njRQfN7EbvKcmF5dBkiaR9tH9XAcG1z5MpAjVO/RdZ8rMs+Zq0yUMI2R lVdJV6Zxku8/MGzA1177w8grxx63mAXJ2UCDMpU6YVA2YTY+QBtgq+rkPKRxSi9HAk/E 1C6RHy0GVkzGE/zQiKBKVubsz2ay3CqyNus40ptnPS2HSMNY4Nl9m5M9mbpdQ5Pg2b9V g+sskgBm7hKgF5uxwBHRV+Jv07m3scvL6pVEpIp9jW9MZh6BReI8qrFw7HOK7IymPUO/ DZpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=ODbeekIJVOT4bMekMaqhPtxtMO0SPg3a14j4OtVMS88=; b=apJvXFjYb00LvWN1WHzU/+qPdPJZh7igFQCfJYrPnwa1KBzgyoSwGpC5pLI5D9n7Eb eReMC6vyFNbfGmvG0nN+FtaZ1astLVY1bLKiDkxhwpqIuV5UOXE/tZRmo044oq/li3Cy yWcW4ewtsyWesM3L2NjS6drdaLUL1ZD/QUtz6zK0nz2DIsZockB36PK2JqyeLiMcoA4f A8U0gxHAFYoS/ONGCNsTviJ53a4/7k5jm5h6GpF0rm0NoN5OnFSGSLLTxQ0Rna0RXXRc jSpro32rGWbhCXwg2ssTOU0FKBof/pHt8oKUWG7J4nfP1Yc61cEqRFMbSuAw8MrtFTkG Mwkw== X-Gm-Message-State: AHYfb5ipE0bPTfU2lUEkzukNlglgLHkMbJr9+rKIzXKr0zacrwZbj7FC l5Qgri4tDIYAx4Pg X-Received: by 10.25.59.213 with SMTP id d82mr6312982lfl.37.1502619708646; Sun, 13 Aug 2017 03:21:48 -0700 (PDT) Received: from magnolia ([178.70.246.24]) by smtp.gmail.com with ESMTPSA id g84sm954734lfl.61.2017.08.13.03.21.47 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 13 Aug 2017 03:21:47 -0700 (PDT) From: Oleg Pykhalov To: guix-patches@gnu.org Subject: [PATCH] gnu: Add emacs-highlight-symbol. Date: Sun, 13 Aug 2017 13:21:46 +0300 Message-ID: <87tw1bvkcl.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Guix, I have a question about license, =E2=80=9Chighlight-symbol.el=E2=80=9D says: --8<---------------cut here---------------start------------->8--- ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License ;; as published by the Free Software Foundation; either version 2 ;; of the License, or (at your option) any later version. --8<---------------cut here---------------end--------------->8--- Could we use =E2=80=9C(license license:gpl3+)=E2=80=9D because it says =E2= =80=9Cor any later version=E2=80=9D? --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-emacs-highlight-symbol.patch Content-Description: [PATCH] gnu: Add emacs-highlight-symbol. >From 35a1ede25fdc8460e1f4b048f52c68931f2e0e8b Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Sun, 13 Aug 2017 13:17:02 +0300 Subject: [PATCH] gnu: Add emacs-highlight-symbol. * gnu/packages/emacs.scm (emacs-highlight-symbol): New variable. --- gnu/packages/emacs.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 5a69990c6..0bd071c8e 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -2632,6 +2632,38 @@ features found in other packages it also brings many improvements as well as completely new features.") (license license:gpl3+))) +(define-public emacs-highlight-symbol + (package + (name "emacs-highlight-symbol") + (version "1.3") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/nschum/highlight-symbol.el/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1n7k1qns0fn0jsyc0hrjac5nzk21xw48yc30vyrhwvc51h0b9g90")))) + (build-system emacs-build-system) + (home-page "http://nschum.de/src/emacs/highlight-symbol") + (synopsis "Automatic and manual symbol highlighting for Emacs") + (description + "Use @code{highlight-symbol} to toggle highlighting of the symbol at +point throughout the current buffer. Use @code{highlight-symbol-mode} to keep +the symbol at point highlighted. + +The functions @code{highlight-symbol-next}, @code{highlight-symbol-prev}, +@code{highlight-symbol-next-in-defun} and +@code{highlight-symbol-prev-in-defun} allow for cycling through the locations +of any symbol at point. Use @code{highlight-symbol-nav-mode} to enable key +bindings @code{M-p} and @code{M-p} for navigation. When +@code{highlight-symbol-on-navigation-p} is set, highlighting is triggered +regardless of @code{highlight-symbol-idle-delay}. + +@code{highlight-symbol-query-replace} can be used to replace the symbol. ") + (license license:gpl3+))) + (define-public emacs-hl-todo (package (name "emacs-hl-todo") -- 2.14.1 --=-=-= Content-Type: text/plain -- Best regards, Oleg. --=-=-=-- ------------=_1502823422-2058-1--