From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 21 15:37:13 2019 Received: (at submit) by debbugs.gnu.org; 21 Jul 2019 19:37:13 +0000 Received: from localhost ([127.0.0.1]:59532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpHdw-00012t-8M for submit@debbugs.gnu.org; Sun, 21 Jul 2019 15:37:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:40459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpHdd-00012D-Mp for submit@debbugs.gnu.org; Sun, 21 Jul 2019 15:37:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56851) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpHdb-00041o-S4 for guix-patches@gnu.org; Sun, 21 Jul 2019 15:36:53 -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.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hpHdZ-00070a-T3 for guix-patches@gnu.org; Sun, 21 Jul 2019 15:36:51 -0400 Received: from mx.kolabnow.com ([95.128.36.40]:41548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hpHdZ-0006zY-FS for guix-patches@gnu.org; Sun, 21 Jul 2019 15:36:49 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id ECFF9404CF for ; Sun, 21 Jul 2019 21:36:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s= dkim20160331; t=1563737804; x=1565552205; bh=1G8y/+qyn776qWe3lpA pmlkG1rUwmdajrK3ZrX3WidI=; b=5nr918Hnd/7+z+lO/7XFvejlgLIVqU5ca2g nAR+LBYrZTa+g3zF4MhGbRctgD4Zl/xQ6mmIYNQV/sOIWO1vpaIRPGx3eJitTm1N tpx0xdEsf5silMLU9WJa+NlSk27Rx0XoWs3Kf/pGOPzX6mmeAOHBmemyC8V7cFG2 ZQ7DoDMxIGWPAF3scKAi02mMi+XmEl+WBLtAyJOd6Db2RTSkMESZkev3vo1dxMXY zBi+xQBb3VJJy5a6wS0Fo7g+J1Tq1yzXpp83pH1Ek6JQfbv5jCIVdiuPJ5xfV9vb fKeGrcdNoFdtGcIisdFIAOsZ5YRMI7ZLkTmhJmG/OzFLrmBR2NCwWRZIgUXqs4m+ jB0U2u49aUAypDCWv2zZYFv9aNkfkuwqFgAFnv1k3LbHHGVwRvIS7pqKSWUpF4jt KezbtuMe6Jv9B1ioJ8Ligjx+3HRmhdUIvDBo6DSerbUw5MFpasp+/jwiGiIhNEWF riW244xysluuToSekAjYtj6+LWAUIpzBJQzks9rpOvI3kmOllIJOdYS0t+HaGr8/ wwe0MjuEBi4NKIoQWhj97LW1EuNphx1DX2JYXLHJ0Dnc96H8fYPxLXsCkckPXOvQ 0PwFFKxQCbEf36K3u/NGr7o8k4C67wvI9/xOcfcSiz0Kvp21TrRdMX1uUpClOf3z QBCC4arI= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IR278qhgV2f2 for ; Sun, 21 Jul 2019 21:36:44 +0200 (CEST) Received: from int-mx002.mykolab.com (unknown [10.9.13.2]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id BDEFC403BB for ; Sun, 21 Jul 2019 21:36:44 +0200 (CEST) Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx002.mykolab.com (Postfix) with ESMTPS id 731042464 for ; Sun, 21 Jul 2019 21:36:44 +0200 (CEST) From: "LaFreniere\, Joseph" To: guix-patches@gnu.org Subject: [PATCH] gnu: Add emacs-hyperbole. Date: Sun, 21 Jul 2019 14:36:39 -0500 Message-ID: <875znv89iw.fsf@odyssey.lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 95.128.36.40 X-Spam-Score: -0.9 (/) 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: -1.9 (-) --=-=-= Content-Type: text/plain; format=flowed Please see the attached patch. -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-emacs-hyperbole.patch Content-Transfer-Encoding: quoted-printable >From f97a05a1abe561c31dee815a1f3623c85c025868 Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Wed, 5 Jun 2019 01:27:49 -0500 Subject: [PATCH] gnu: Add emacs-hyperbole. * gnu/packages/emacs-xyz.scm (emacs-hyperbole): Add at 7.0.3 --- gnu/packages/emacs-xyz.scm | 63 ++++++++++++++ .../emacs-hyperbole-do-not-check-dir.patch | 24 ++++++ .../patches/emacs-hyperbole-domainname.patch | 29 +++++++ .../emacs-hyperbole-toggle-messaging.patch | 86 +++++++++++++++++++ 4 files changed, 202 insertions(+) create mode 100644 gnu/packages/patches/emacs-hyperbole-do-not-check-dir.p= atch create mode 100644 gnu/packages/patches/emacs-hyperbole-domainname.patch create mode 100644 gnu/packages/patches/emacs-hyperbole-toggle-messaging.p= atch diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index a808749444..7760b889aa 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -182,6 +182,69 @@ metadata.") (define-public geiser (deprecated-package "geiser" emacs-geiser)) =20 +(define-public emacs-hyperbole + (package + (name "emacs-hyperbole") + (version "7.0.3") + (source (origin + (method url-fetch) + (uri (string-append + "http://ftpmirror.gnu.org/hyperbole/" + "hyperbole-" version ".tar.gz")) + (sha256 + (base32 + "0znsjhm0lmzpmkgfni4qzx4l6dp604bmrzp3mwxxax2v96wpwmcx")) + (patches + (search-patches + "emacs-hyperbole-do-not-check-dir.patch" + "emacs-hyperbole-domainname.patch" + "emacs-hyperbole-toggle-messaging.patch")))) + (build-system emacs-build-system) + (arguments + `(#:include '("\\.el$" "\\.info$") + #:phases + (modify-phases %standard-phases + (add-before 'install 'make-info + (lambda _ + (invoke "make" "info")))))) + (propagated-inputs `(("inetutils" ,inetutils))) + (home-page "https://www.gnu.org/software/hyperbole/") + (synopsis "The Everyday Hypertextual Information Manager") + (description + "GNU Hyperbole, or just Hyperbole, is an easy-to-use, yet powerful and +programmable hypertextual information management system implemented as a G= NU +Emacs package. It offers rapid views and interlinking of all kinds of tex= tual +information, utilizing Emacs for editing. It can dramatically increase yo= ur +productivity and greatly reduce the number of keyboard/mouse keys you'll n= eed +to work efficiently. Hyperbole lets you: + +@itemize +@item Quickly create hyperlink buttons either from the keyboard or by drag= ging +between a source and destination window with a mouse button depressed. La= ter, +activate buttons by pressing/clicking on them or by giving the name of the +button. +@item Activate many kinds of \"implicit buttons\" recognized by context wi= thin +text buffers, e.g. URLs, grep output lines, and git commits. A single key= or +mouse button automatically does the right thing in dozens of contexts; just +press and go. +@item Build outlines with multi-level numbered outline nodes, e.g. 1.4.8.6, +that all renumber automatically as any node or tree is moved in the outlin= e. +Each node also has a permanent hyperlink anchor that you can reference from +any other node. +@item Manage all your contacts quickly with hierarchical categories and em= bed +hyperlinks within each entry. Or create an archive of documents with +hierarchical entries and use the same search mechanism to quickly find any +matching entry. +@item Use single keys to easily manage your Emacs windows or frames and +quickly retrieve saved window and frame configurations. +@item Search for things in your current buffers, in a directory tree or ac= ross +major web search engines with the touch of a few keys. +@end itemize + +The common thread in all these features is making retrieval, management and +display of information fast and easy. That is Hyperbole's purpose.") + (license license:gpl3+))) + (define-public emacs-paredit (package (name "emacs-paredit") diff --git a/gnu/packages/patches/emacs-hyperbole-do-not-check-dir.patch b/= gnu/packages/patches/emacs-hyperbole-do-not-check-dir.patch new file mode 100644 index 0000000000..66c7a0fb08 --- /dev/null +++ b/gnu/packages/patches/emacs-hyperbole-do-not-check-dir.patch @@ -0,0 +1,24 @@ +From 3016fbd61e47978be73bbbaf7a8c2709bec42066 Mon Sep 17 00:00:00 2001 +From: Joseph LaFreniere +Date: Fri, 12 Jul 2019 13:12:40 -0500 +Subject: [PATCH] Do not run hyperb:check-dir-user during initialization + +--- + hyperbole.el | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/hyperbole.el b/hyperbole.el +index 872dbaf..6edb2a7 100644 +--- a/hyperbole.el ++++ b/hyperbole.el +@@ -653,7 +653,6 @@ If FLAG is nil then text is shown, while if FLAG is t = the text is hidden." + (interactive) + (message "Initializing Hyperbole...") + (run-hooks 'hyperbole-init-hook) +- (hyperb:check-dir-user) + (or (stringp hyperb:user-email) + (setq hyperb:user-email + (or (and (boundp 'user-mail-address) +--=20 +2.22.0 + diff --git a/gnu/packages/patches/emacs-hyperbole-domainname.patch b/gnu/pa= ckages/patches/emacs-hyperbole-domainname.patch new file mode 100644 index 0000000000..cf4b63b54b --- /dev/null +++ b/gnu/packages/patches/emacs-hyperbole-domainname.patch @@ -0,0 +1,29 @@ +From 17c87ac58ce6d475fa1987347fcb868ef7f75e40 Mon Sep 17 00:00:00 2001 +From: Joseph LaFreniere +Date: Sun, 2 Jun 2019 12:38:27 -0500 +Subject: [PATCH] Replace executable domainname with hostname + +Fixes build failure: +> ice-9/boot-9.scm:752:25: In procedure dispatch-exception: +> patch-el-files: unable to locate "domainname" +--- + hypb.el | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/hypb.el b/hypb.el +index 6abc17a..0332946 100644 +--- a/hypb.el ++++ b/hypb.el +@@ -183,8 +183,7 @@ Global keymap is used unless optional KEYMAP is given." +=20 + (defun hypb:domain-name () + "Returns current Internet domain name with '@' prepended or nil if none= ." +- (let* ((dname-cmd (or (file-exists-p "/usr/bin/domainname") +- (file-exists-p "/bin/domainname"))) ++ (let* ((dname-cmd (file-exists-p "/bin/hostname")) + (dname (or (and (boundp 'message-user-fqdn) (stringp message-user-fqdn) + (string-match "\\." message-user-fqdn) + message-user-fqdn) +--=20 +2.21.0 + diff --git a/gnu/packages/patches/emacs-hyperbole-toggle-messaging.patch b/= gnu/packages/patches/emacs-hyperbole-toggle-messaging.patch new file mode 100644 index 0000000000..ab66e1b389 --- /dev/null +++ b/gnu/packages/patches/emacs-hyperbole-toggle-messaging.patch @@ -0,0 +1,86 @@ +From 6d5c587ec719e3309077c7d637b03b13db65c047 Mon Sep 17 00:00:00 2001 +From: Joseph LaFreniere +Date: Fri, 12 Jul 2019 12:43:46 -0500 +Subject: [PATCH] Move definition of hyperbole-toggle-messaging to hsettings + +--- + hsettings.el | 25 +++++++++++++++++++++++++ + hyperbole.el | 26 -------------------------- + 2 files changed, 25 insertions(+), 26 deletions(-) + +diff --git a/hsettings.el b/hsettings.el +index 6cdd1b8..9632067 100644 +--- a/hsettings.el ++++ b/hsettings.el +@@ -163,6 +163,31 @@ package to display search results." + search-term))) + (user-error "(Hyperbole): Invalid web search service `%s'" service-= name)))) +=20 ++;;;###autoload ++(defun hyperbole-toggle-messaging (&optional arg) ++ "Toggle Hyperbole support for explicit buttons in mail and news buffers. ++Toggles the boolean variable `inhibit-hyperbole-messaging=E2=80=99 and ei= ther ++adds hooks (nil value) or removes them (t value). ++ ++With optional prefix ARG > 0, enables support. If ARG <=3D 0, ++disables/inhibits support." ++ (interactive "P") ++ (setq inhibit-hyperbole-messaging (if (null arg) ++ (not inhibit-hyperbole-messaging) ++ (<=3D (prefix-numeric-value arg) 0))) ++ (if inhibit-hyperbole-messaging ++ (var:remove-all) ++ (var:append-all) ++ ;; Add any hooks that were skipped when inhibit-hyperbole-messaging ++ ;; was nil. ++ (cond ((boundp 'hyperbole-loading)) ++ ((not after-init-time) ++ (add-hook 'after-init-hook (lambda () (load "hyperbole")))) ++ (t (load "hyperbole")))) ++ (if (called-interactively-p 'interactive) ++ (message "Hyperbole messaging button support is %s" ++ (if inhibit-hyperbole-messaging "disabled" "enabled")))) ++ + (defcustom inhibit-hyperbole-messaging t + "*Determines whether Hyperbole supports explicit buttons in mail and ne= ws buffers. + The default of t means disable such support (work remains to +diff --git a/hyperbole.el b/hyperbole.el +index 4aa427d..872dbaf 100644 +--- a/hyperbole.el ++++ b/hyperbole.el +@@ -121,32 +121,6 @@ + t))) + (error "(Hyperbole): Startup failure: `hyperb:dir' must be manually a= dded to `load-path' to fix."))) +=20 +-;; This must be defined before the defcustom `inhbit-hyperbole-messaging'. +-;;;###autoload +-(defun hyperbole-toggle-messaging (&optional arg) +- "Toggle Hyperbole support for explicit buttons in mail and news buffers. +-Toggles the boolean variable `inhibit-hyperbole-messaging=E2=80=99 and ei= ther +-adds hooks (nil value) or removes them (t value). +- +-With optional prefix ARG > 0, enables support. If ARG <=3D 0, +-disables/inhibits support." +- (interactive "P") +- (setq inhibit-hyperbole-messaging (if (null arg) +- (not inhibit-hyperbole-messaging) +- (<=3D (prefix-numeric-value arg) 0))) +- (if inhibit-hyperbole-messaging +- (var:remove-all) +- (var:append-all) +- ;; Add any hooks that were skipped when inhibit-hyperbole-messaging +- ;; was nil. +- (cond ((boundp 'hyperbole-loading)) +- ((not after-init-time) +- (add-hook 'after-init-hook (lambda () (load "hyperbole")))) +- (t (load "hyperbole")))) +- (if (called-interactively-p 'interactive) +- (message "Hyperbole messaging button support is %s" +- (if inhibit-hyperbole-messaging "disabled" "enabled")))) +- + (defgroup hyperbole-koutliner nil + "Hyperbole multi-level autonumbered outliner customizations." + :group 'hyperbole) +--=20 +2.22.0 + --=20 2.22.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 23 00:33:19 2019 Received: (at 36751) by debbugs.gnu.org; 23 Jul 2019 04:33:19 +0000 Received: from localhost ([127.0.0.1]:33870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpmUI-0007jY-Vb for submit@debbugs.gnu.org; Tue, 23 Jul 2019 00:33:19 -0400 Received: from mx.kolabnow.com ([95.128.36.40]:4794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpmUG-0007jL-0x for 36751@debbugs.gnu.org; Tue, 23 Jul 2019 00:33:16 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id 7B717403B6 for <36751@debbugs.gnu.org>; Tue, 23 Jul 2019 06:33:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:in-reply-to :date:date:references:subject:subject:from:from:received :received:received; s=dkim20160331; t=1563856389; x=1565670790; bh=mheoUFLAPkN5n1KKnc5XjFlISTTuYv0mfMd9S2QFcfg=; b=EXNBYVeXxMQ0 FT9ycb7bFpWiP4Orj7RAInnz2kfQxZyvGZB+tfNtGgRmH/5S65tToXeqnt9dngqA w927diiKbzFk+w4/3mD09Ma06reYBFOuAFwRSGUy7g3oo7Vf4KozCJ7NH4uEdDvt DPAh8E4DB1tcZRXJWtyqEb3+ENQpNNWzIsMnxzoOdLbO6BSGVjA4uBwwc4NI7akv b8F0RxnZnmXKCme3seNMGeHX58mhLlBQ7VC3CfynO36rBPCHy71mudrrtBArpdYw 2asJRndihamXquZTQZ9F8e2tvHu+R9SRyCpggee1xYRB7ex9HXON0cHnvCbbFFRO oJZbtNZ36OeJFtU7fp//Guw6J9IGqF0cjkEy3v6FEmU5lIMiy90OpRgLj9+68/Qz 1gHFeMBrV1LjllVQO8yS3aMs7TdtRKD3QXhNvi+2LEHsZJrKXlyU+qefJtoGuOKr JQm3gTLWlXB0UgXwqTEDPySmYKenSOT0TbkxTcEvQtFtoD29cwLKoBcsXvrbF74o zsva5Zzr65bPuPYNbdyAGe+06TXHwprgjBJKV6yOjITdcAyIe/yLscW5z/fuMGSU wZnls5RZcYYKfsZPCkqDS87M0LdN7hw53AdSnR1NUfw0ySYGKugO9zQEUQT1zIXx VfpFBIsIwA6fFKdysmhrCwbyLu/JDFs= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V3RGRHDjLlW0 for <36751@debbugs.gnu.org>; Tue, 23 Jul 2019 06:33:09 +0200 (CEST) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id D71B7403AA for <36751@debbugs.gnu.org>; Tue, 23 Jul 2019 06:33:08 +0200 (CEST) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx003.mykolab.com (Postfix) with ESMTPS id 9370CB0F for <36751@debbugs.gnu.org>; Tue, 23 Jul 2019 06:33:08 +0200 (CEST) From: joseph@lafreniere.xyz (LaFreniere, Joseph) To: 36751@debbugs.gnu.org Subject: Re: [bug#36751] [PATCH] gnu: Add emacs-hyperbole. References: <875znv89iw.fsf@odyssey.lafreniere.xyz> Date: Mon, 22 Jul 2019 23:33:03 -0500 In-Reply-To: <875znv89iw.fsf@odyssey.lafreniere.xyz> (Joseph LaFreniere's message of "Sun, 21 Jul 2019 14:36:39 -0500") Message-ID: <87a7d55q0w.fsf@odyssey.lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 36751 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.5 (/) --=-=-= Content-Type: text/plain Please find a fixup commit attached. The original patch omitted several sample files; whie those files are not necessary for the functioning of Hyperbole itself, they are referred to in its menu system and are valuable resources for new users. -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-fixup-gnu-Add-emacs-hyperbole.patch >From 4624f21921730162f64b3efd90969e64eb54a39a Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Mon, 22 Jul 2019 23:18:48 -0500 Subject: [PATCH] fixup! gnu: Add emacs-hyperbole. --- gnu/packages/emacs-xyz.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 7760b889aa..df01e1d931 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -201,7 +201,12 @@ metadata.") "emacs-hyperbole-toggle-messaging.patch")))) (build-system emacs-build-system) (arguments - `(#:include '("\\.el$" "\\.info$") + `(#:include '("DEMO" + "DEMO-ROLO.otl" + "HY-ABOUT" + "\\.el$" + "\\.info$" + "\\.kotl$") #:phases (modify-phases %standard-phases (add-before 'install 'make-info -- 2.22.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 03 00:16:40 2019 Received: (at 36751) by debbugs.gnu.org; 3 Aug 2019 04:16:40 +0000 Received: from localhost ([127.0.0.1]:58149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htlTE-0007MA-2X for submit@debbugs.gnu.org; Sat, 03 Aug 2019 00:16:40 -0400 Received: from mx.kolabnow.com ([95.128.36.42]:24700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htlTC-0007Lp-4k for 36751@debbugs.gnu.org; Sat, 03 Aug 2019 00:16:39 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id C2A0934C for <36751@debbugs.gnu.org>; Sat, 3 Aug 2019 06:16:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :in-reply-to:subject:subject:from:from:references:received :received:received; s=dkim20160331; t=1564805790; x=1566620191; bh=e4O7ij/JXIDSSRb9WhgCCSN6VW/zKHw/lb4GvTvD1oU=; b=iW4Hj6nwRkmm TbELG2fObO4uOAIGj3t2qTqzIMcBNI92/U8lu2c686piRGRyPiqCDnTAoR0oJcXj g75hkAMFZvCCVtktZlynNkil5dqR7pOhGwTSqfdS7HAdF9d4eO1FnsYqBMUKRpz4 dtHVARcfDkZwvsqzvmJAnjEDSAKlk0R3CvO8JzofD4WrkOn2UkNfSyQcTp7dChkg HS1JxqQ8b633jJVPId7gNMiB3y7M4wS0ggkCT1ck9L83/CQ3qexYt91Pb0xLyeDh K6xNrVvuV66zPocE2DZK4/0zJWNu/EsvEGAy5m0xmIFKLMrPyjZuvlbj0Cwag7S9 mMQaMNwFgiUzEaAfAqRBw6SBcYMhgWjOol3TkIKkj6Q7zQM1VKMTNY+k78HcPi4K 22B58iZMSxCOqV+q2T3BTrpD945914gzXt8MpUf91wfYxlA5Xm1z3erln5IZjA5V RE1/UrYarx91aDzfTm8zJoxI6PCbvO8e7zBolbn5ZXNprmvq9ozijXMsC2AiRJhp mUbx5Oxy1qNevY0fZKTZo9iXXTE+jSLEMUj8wdTAOiCTsXTwHlovvUUpY+Hwpub+ c+frev6WTv6D2k7Rxfvy75TxDI2WiuyFufB9knIBXcFHJcPlQ9X8Xo3v6WtqnIA8 ysOtfiCImfvSKmVsNuqWeFFdm4n8fjM= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NKXS-7_YE5ew for <36751@debbugs.gnu.org>; Sat, 3 Aug 2019 06:16:30 +0200 (CEST) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id A2E5C317 for <36751@debbugs.gnu.org>; Sat, 3 Aug 2019 06:16:30 +0200 (CEST) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx001.mykolab.com (Postfix) with ESMTPS id 10824E00 for <36751@debbugs.gnu.org>; Sat, 3 Aug 2019 06:16:30 +0200 (CEST) References: <875znv89iw.fsf@odyssey.lafreniere.xyz> <87a7d55q0w.fsf@odyssey.lafreniere.xyz> From: "LaFreniere\, Joseph" To: 36751@debbugs.gnu.org Subject: Re: [bug#36751] [PATCH] gnu: Add emacs-hyperbole. In-reply-to: <87a7d55q0w.fsf@odyssey.lafreniere.xyz> Date: Fri, 02 Aug 2019 23:16:19 -0500 Message-ID: <877e7urii4.fsf@odyssey.lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 36751 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.5 (/) --=-=-= Content-Type: text/plain; format=flowed I have squashed the fixup into the original commit and rebased on current master (82ebb785f178d8618d39b658932d23d9f859fc91). The resulting commit is attached. -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-emacs-hyperbole.patch Content-Transfer-Encoding: quoted-printable >From 7bddfbe5cc24c5493b640d385901fa705cf06fcb Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Wed, 5 Jun 2019 01:27:49 -0500 Subject: [PATCH] gnu: Add emacs-hyperbole. * gnu/packages/emacs-xyz.scm (emacs-hyperbole): Add at 7.0.3 --- gnu/packages/emacs-xyz.scm | 68 +++++++++++++++ .../emacs-hyperbole-do-not-check-dir.patch | 24 ++++++ .../patches/emacs-hyperbole-domainname.patch | 29 +++++++ .../emacs-hyperbole-toggle-messaging.patch | 86 +++++++++++++++++++ 4 files changed, 207 insertions(+) create mode 100644 gnu/packages/patches/emacs-hyperbole-do-not-check-dir.p= atch create mode 100644 gnu/packages/patches/emacs-hyperbole-domainname.patch create mode 100644 gnu/packages/patches/emacs-hyperbole-toggle-messaging.p= atch diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 600d810bea..73f64ff4c2 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -183,6 +183,74 @@ metadata.") (define-public geiser (deprecated-package "geiser" emacs-geiser)) =20 +(define-public emacs-hyperbole + (package + (name "emacs-hyperbole") + (version "7.0.3") + (source (origin + (method url-fetch) + (uri (string-append + "http://ftpmirror.gnu.org/hyperbole/" + "hyperbole-" version ".tar.gz")) + (sha256 + (base32 + "0znsjhm0lmzpmkgfni4qzx4l6dp604bmrzp3mwxxax2v96wpwmcx")) + (patches + (search-patches + "emacs-hyperbole-do-not-check-dir.patch" + "emacs-hyperbole-domainname.patch" + "emacs-hyperbole-toggle-messaging.patch")))) + (build-system emacs-build-system) + (arguments + `(#:include '("DEMO" + "DEMO-ROLO.otl" + "HY-ABOUT" + "\\.el$" + "\\.info$" + "\\.kotl$") + #:phases + (modify-phases %standard-phases + (add-before 'install 'make-info + (lambda _ + (invoke "make" "info")))))) + (propagated-inputs `(("inetutils" ,inetutils))) + (home-page "https://www.gnu.org/software/hyperbole/") + (synopsis "The Everyday Hypertextual Information Manager") + (description + "GNU Hyperbole, or just Hyperbole, is an easy-to-use, yet powerful and +programmable hypertextual information management system implemented as a G= NU +Emacs package. It offers rapid views and interlinking of all kinds of tex= tual +information, utilizing Emacs for editing. It can dramatically increase yo= ur +productivity and greatly reduce the number of keyboard/mouse keys you'll n= eed +to work efficiently. Hyperbole lets you: + +@itemize +@item Quickly create hyperlink buttons either from the keyboard or by drag= ging +between a source and destination window with a mouse button depressed. La= ter, +activate buttons by pressing/clicking on them or by giving the name of the +button. +@item Activate many kinds of \"implicit buttons\" recognized by context wi= thin +text buffers, e.g. URLs, grep output lines, and git commits. A single key= or +mouse button automatically does the right thing in dozens of contexts; just +press and go. +@item Build outlines with multi-level numbered outline nodes, e.g. 1.4.8.6, +that all renumber automatically as any node or tree is moved in the outlin= e. +Each node also has a permanent hyperlink anchor that you can reference from +any other node. +@item Manage all your contacts quickly with hierarchical categories and em= bed +hyperlinks within each entry. Or create an archive of documents with +hierarchical entries and use the same search mechanism to quickly find any +matching entry. +@item Use single keys to easily manage your Emacs windows or frames and +quickly retrieve saved window and frame configurations. +@item Search for things in your current buffers, in a directory tree or ac= ross +major web search engines with the touch of a few keys. +@end itemize + +The common thread in all these features is making retrieval, management and +display of information fast and easy. That is Hyperbole's purpose.") + (license license:gpl3+))) + (define-public emacs-paredit (package (name "emacs-paredit") diff --git a/gnu/packages/patches/emacs-hyperbole-do-not-check-dir.patch b/= gnu/packages/patches/emacs-hyperbole-do-not-check-dir.patch new file mode 100644 index 0000000000..66c7a0fb08 --- /dev/null +++ b/gnu/packages/patches/emacs-hyperbole-do-not-check-dir.patch @@ -0,0 +1,24 @@ +From 3016fbd61e47978be73bbbaf7a8c2709bec42066 Mon Sep 17 00:00:00 2001 +From: Joseph LaFreniere +Date: Fri, 12 Jul 2019 13:12:40 -0500 +Subject: [PATCH] Do not run hyperb:check-dir-user during initialization + +--- + hyperbole.el | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/hyperbole.el b/hyperbole.el +index 872dbaf..6edb2a7 100644 +--- a/hyperbole.el ++++ b/hyperbole.el +@@ -653,7 +653,6 @@ If FLAG is nil then text is shown, while if FLAG is t = the text is hidden." + (interactive) + (message "Initializing Hyperbole...") + (run-hooks 'hyperbole-init-hook) +- (hyperb:check-dir-user) + (or (stringp hyperb:user-email) + (setq hyperb:user-email + (or (and (boundp 'user-mail-address) +--=20 +2.22.0 + diff --git a/gnu/packages/patches/emacs-hyperbole-domainname.patch b/gnu/pa= ckages/patches/emacs-hyperbole-domainname.patch new file mode 100644 index 0000000000..cf4b63b54b --- /dev/null +++ b/gnu/packages/patches/emacs-hyperbole-domainname.patch @@ -0,0 +1,29 @@ +From 17c87ac58ce6d475fa1987347fcb868ef7f75e40 Mon Sep 17 00:00:00 2001 +From: Joseph LaFreniere +Date: Sun, 2 Jun 2019 12:38:27 -0500 +Subject: [PATCH] Replace executable domainname with hostname + +Fixes build failure: +> ice-9/boot-9.scm:752:25: In procedure dispatch-exception: +> patch-el-files: unable to locate "domainname" +--- + hypb.el | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/hypb.el b/hypb.el +index 6abc17a..0332946 100644 +--- a/hypb.el ++++ b/hypb.el +@@ -183,8 +183,7 @@ Global keymap is used unless optional KEYMAP is given." +=20 + (defun hypb:domain-name () + "Returns current Internet domain name with '@' prepended or nil if none= ." +- (let* ((dname-cmd (or (file-exists-p "/usr/bin/domainname") +- (file-exists-p "/bin/domainname"))) ++ (let* ((dname-cmd (file-exists-p "/bin/hostname")) + (dname (or (and (boundp 'message-user-fqdn) (stringp message-user-fqdn) + (string-match "\\." message-user-fqdn) + message-user-fqdn) +--=20 +2.21.0 + diff --git a/gnu/packages/patches/emacs-hyperbole-toggle-messaging.patch b/= gnu/packages/patches/emacs-hyperbole-toggle-messaging.patch new file mode 100644 index 0000000000..ab66e1b389 --- /dev/null +++ b/gnu/packages/patches/emacs-hyperbole-toggle-messaging.patch @@ -0,0 +1,86 @@ +From 6d5c587ec719e3309077c7d637b03b13db65c047 Mon Sep 17 00:00:00 2001 +From: Joseph LaFreniere +Date: Fri, 12 Jul 2019 12:43:46 -0500 +Subject: [PATCH] Move definition of hyperbole-toggle-messaging to hsettings + +--- + hsettings.el | 25 +++++++++++++++++++++++++ + hyperbole.el | 26 -------------------------- + 2 files changed, 25 insertions(+), 26 deletions(-) + +diff --git a/hsettings.el b/hsettings.el +index 6cdd1b8..9632067 100644 +--- a/hsettings.el ++++ b/hsettings.el +@@ -163,6 +163,31 @@ package to display search results." + search-term))) + (user-error "(Hyperbole): Invalid web search service `%s'" service-= name)))) +=20 ++;;;###autoload ++(defun hyperbole-toggle-messaging (&optional arg) ++ "Toggle Hyperbole support for explicit buttons in mail and news buffers. ++Toggles the boolean variable `inhibit-hyperbole-messaging=E2=80=99 and ei= ther ++adds hooks (nil value) or removes them (t value). ++ ++With optional prefix ARG > 0, enables support. If ARG <=3D 0, ++disables/inhibits support." ++ (interactive "P") ++ (setq inhibit-hyperbole-messaging (if (null arg) ++ (not inhibit-hyperbole-messaging) ++ (<=3D (prefix-numeric-value arg) 0))) ++ (if inhibit-hyperbole-messaging ++ (var:remove-all) ++ (var:append-all) ++ ;; Add any hooks that were skipped when inhibit-hyperbole-messaging ++ ;; was nil. ++ (cond ((boundp 'hyperbole-loading)) ++ ((not after-init-time) ++ (add-hook 'after-init-hook (lambda () (load "hyperbole")))) ++ (t (load "hyperbole")))) ++ (if (called-interactively-p 'interactive) ++ (message "Hyperbole messaging button support is %s" ++ (if inhibit-hyperbole-messaging "disabled" "enabled")))) ++ + (defcustom inhibit-hyperbole-messaging t + "*Determines whether Hyperbole supports explicit buttons in mail and ne= ws buffers. + The default of t means disable such support (work remains to +diff --git a/hyperbole.el b/hyperbole.el +index 4aa427d..872dbaf 100644 +--- a/hyperbole.el ++++ b/hyperbole.el +@@ -121,32 +121,6 @@ + t))) + (error "(Hyperbole): Startup failure: `hyperb:dir' must be manually a= dded to `load-path' to fix."))) +=20 +-;; This must be defined before the defcustom `inhbit-hyperbole-messaging'. +-;;;###autoload +-(defun hyperbole-toggle-messaging (&optional arg) +- "Toggle Hyperbole support for explicit buttons in mail and news buffers. +-Toggles the boolean variable `inhibit-hyperbole-messaging=E2=80=99 and ei= ther +-adds hooks (nil value) or removes them (t value). +- +-With optional prefix ARG > 0, enables support. If ARG <=3D 0, +-disables/inhibits support." +- (interactive "P") +- (setq inhibit-hyperbole-messaging (if (null arg) +- (not inhibit-hyperbole-messaging) +- (<=3D (prefix-numeric-value arg) 0))) +- (if inhibit-hyperbole-messaging +- (var:remove-all) +- (var:append-all) +- ;; Add any hooks that were skipped when inhibit-hyperbole-messaging +- ;; was nil. +- (cond ((boundp 'hyperbole-loading)) +- ((not after-init-time) +- (add-hook 'after-init-hook (lambda () (load "hyperbole")))) +- (t (load "hyperbole")))) +- (if (called-interactively-p 'interactive) +- (message "Hyperbole messaging button support is %s" +- (if inhibit-hyperbole-messaging "disabled" "enabled")))) +- + (defgroup hyperbole-koutliner nil + "Hyperbole multi-level autonumbered outliner customizations." + :group 'hyperbole) +--=20 +2.22.0 + --=20 2.22.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 06 07:32:56 2019 Received: (at 36751) by debbugs.gnu.org; 6 Aug 2019 11:32:56 +0000 Received: from localhost ([127.0.0.1]:36541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1huxi4-0005p0-GZ for submit@debbugs.gnu.org; Tue, 06 Aug 2019 07:32:56 -0400 Received: from mx1.riseup.net ([198.252.153.129]:55550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1huxi3-0005os-4w for 36751@debbugs.gnu.org; Tue, 06 Aug 2019 07:32:55 -0400 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 633981A16C9; Tue, 6 Aug 2019 04:32:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1565091174; bh=y1U1Vd4GItO+NPVvaHkREC6R/VOb2NYbyusMbDCUlF4=; h=Subject:To:References:From:Date:In-Reply-To:From; b=IZBUjUJHnRI5zyM2LDiW9Tub8V+vJh7T4BbHJ03IPhrT6A3uBh/S7ZlzFN13Qe5SS N0dMx4RhQfz8YnOqZ+oMYjfHINJoymCaqOSdBraaakDH+KzSf9qCUW/MI44QGiopD9 cAKATbGBjEFePdPIT3/U7eW4oqnbi/iHBeNE9NFE= X-Riseup-User-ID: 38FEB3347FE3444CBCEC3714EDB7D52F7EF3021B05EE13F8C4C4BC959C4736FE Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 9941722283D; Tue, 6 Aug 2019 04:32:53 -0700 (PDT) Subject: Re: [bug#36751] [PATCH] gnu: Add emacs-hyperbole. To: "LaFreniere, Joseph" , 36751@debbugs.gnu.org References: <875znv89iw.fsf@odyssey.lafreniere.xyz> <87a7d55q0w.fsf@odyssey.lafreniere.xyz> <877e7urii4.fsf@odyssey.lafreniere.xyz> From: swedebugia Message-ID: Date: Tue, 6 Aug 2019 13:32:50 +0200 MIME-Version: 1.0 In-Reply-To: <877e7urii4.fsf@odyssey.lafreniere.xyz> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 36751 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: -1.7 (-) Hi! Thanks for the patch. On 2019-08-03 06:16, LaFreniere, Joseph wrote: > I have squashed the fixup into the original commit and rebased on > current master (82ebb785f178d8618d39b658932d23d9f859fc91).  The > resulting commit is attached. > > > -- > Joseph LaFreniere Git said this: $ git apply 0001-gnu-Add-emacs-hyperbole.patch 0001-gnu-Add-emacs-hyperbole.patch:122: space before tab in indent.          (or (and (boundp 'user-mail-address) 0001-gnu-Add-emacs-hyperbole.patch:123: trailing whitespace. -- 0001-gnu-Add-emacs-hyperbole.patch:149: trailing whitespace. 0001-gnu-Add-emacs-hyperbole.patch:155: space before tab in indent.       (dname (or (and (boundp 'message-user-fqdn) (stringp message-user-fqdn) 0001-gnu-Add-emacs-hyperbole.patch:156: space before tab in indent.               (string-match "\\." message-user-fqdn) warning: squelched 10 whitespace errors warning: 15 lines add whitespace errors. --- Could you take a look at that? Otherwise LGTM. (I linted it, inspected the output in the store with 'ls -lR' and opened the info file) -- Cheers Swedebugia From debbugs-submit-bounces@debbugs.gnu.org Mon May 11 19:17:06 2020 Received: (at 36751) by debbugs.gnu.org; 11 May 2020 23:17:06 +0000 Received: from localhost ([127.0.0.1]:53613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYHfW-0006gY-1C for submit@debbugs.gnu.org; Mon, 11 May 2020 19:17:06 -0400 Received: from mail-qv1-f65.google.com ([209.85.219.65]:42149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYHfT-0006fu-Ud for 36751@debbugs.gnu.org; Mon, 11 May 2020 19:17:04 -0400 Received: by mail-qv1-f65.google.com with SMTP id g20so2481202qvb.9 for <36751@debbugs.gnu.org>; Mon, 11 May 2020 16:17:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=fwi1k4e5/juAR8BVxVRCxmkpwVxWTu792RdB5/7D/K4=; b=Sc+CLkLbpjcd6d3iIs5kw603KAci0NjLH1OV80GtDYsOUfulkN0vajJug8HvowTLtD BjlxJhsmQW/EcdsPUAdZ8wK39cXiZoTNHjdL0UuQTmdwvl61BNjLdrv4+CObprNad3p6 5Fc1r2GyGTYGbdC1LC6CnLpPAxLO9TlvfR+nmSBAhcChdhL2nsZoylEDkuKDv07BHRqT W13xgm8IFVO6T4KEWxwUPjEf08+kFaHidvDosDRFxojm2cgaNxfYHUHMoQg6/5eN8O0+ J48A+eybFzl0HO+bRU/5nLTlj8KasWpBZQ3Sx6wLhndvPepDvEcIP8AmdVCEQ65PCy08 7bFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=fwi1k4e5/juAR8BVxVRCxmkpwVxWTu792RdB5/7D/K4=; b=lUcaFfKpTXcW3uYgcLjzrPzWUi9RmPu4rDW26Fv2wQarWdRqdtlp/IsGLWZ/Pgkviq P0Od60VNp0dDU5fbIotTdzEFeiTEqyTKERizwLWCFRbM4/LscklWR4tvw12urt5zcwCd BzmlcjrSmVqyr3lz/wm8cQID8Vy1CiYMar7Xws3Sbd8wxAvLmvqEP//ZP0uVy7Ik6T1V JErhrQNkl+vy9Njg+AZFhLvNF0D1syBZSGo8+Ue5+jzw9v5IZdFLSRP5h3G5jtopZYRW 1C2faW2TMdU0WOY5BYKkye9po/Szu3IfIdGqAgiq/evBTpYLmvwQ/MCHMYsmEHccBhzu iuuw== X-Gm-Message-State: AGi0PuZiDWp+JLp1QnEpUo45c66I2FTRSbVed8kdrVxj1Rf+0l/i17tM pkOmsDEKKACTXlC1Ci0rBA0tNfSg X-Google-Smtp-Source: APiQypJNnAjFsniw0qA837kBcGTNvYXgoeXZn4VMBGIGVREG7AtoPUMW1d1qfIG3terFAdpuLkWZ8Q== X-Received: by 2002:ad4:5624:: with SMTP id cb4mr12731349qvb.154.1589239017994; Mon, 11 May 2020 16:16:57 -0700 (PDT) Received: from librem (24.115.110.176.res-cmts.mlf.ptd.net. [24.115.110.176]) by smtp.gmail.com with ESMTPSA id d207sm9482865qkc.49.2020.05.11.16.16.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 16:16:57 -0700 (PDT) From: Alex ter Weele X-Google-Original-From: Alex ter Weele To: swedebugia Subject: Re: [bug#36751] [PATCH] gnu: Add emacs-hyperbole. References: <875znv89iw.fsf@odyssey.lafreniere.xyz> <87a7d55q0w.fsf@odyssey.lafreniere.xyz> <877e7urii4.fsf@odyssey.lafreniere.xyz> Date: Mon, 11 May 2020 19:16:47 -0400 In-Reply-To: (swedebugia@riseup.net's message of "Tue, 6 Aug 2019 13:32:50 +0200") Message-ID: <878shyrrj4.fsf@librem.i-did-not-set--mail-host-address--so-tickle-me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: swedebugia writes: > Hi! > > Thanks for the patch. > > On 2019-08-03 06:16, LaFreniere, Joseph wrote: >> I have squashed the fixup into the original commit and rebased on >> current master (82ebb785f178d8618d39b658932d2 [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: gnu.org] 1.8 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: lafreniere.xyz (xyz)] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.219.65 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (alex.ter.weele[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.219.65 listed in list.dnswl.org] 0.0 PP_MIME_FAKE_ASCII_TEXT BODY: MIME text/plain claims to be ASCII but isn't X-Debbugs-Envelope-To: 36751 Cc: "LaFreniere, Joseph" , 36751@debbugs.gnu.org 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.8 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: 8bit swedebugia writes: > Hi! > > Thanks for the patch. > > On 2019-08-03 06:16, LaFreniere, Joseph wrote: >> I have squashed the fixup into the original commit and rebased on >> current master (82ebb785f178d8618d39b658932d23d9f859fc91). The >> resulting commit is attached. >> >> >> -- Joseph LaFreniere > > Git said this: > > $ git apply 0001-gnu-Add-emacs-hyperbole.patch > 0001-gnu-Add-emacs-hyperbole.patch:122: space before tab in indent. >      (or (and (boundp 'user-mail-address) > 0001-gnu-Add-emacs-hyperbole.patch:123: trailing whitespace. > -- > 0001-gnu-Add-emacs-hyperbole.patch:149: trailing whitespace. > > 0001-gnu-Add-emacs-hyperbole.patch:155: space before tab in indent. >    (dname (or (and (boundp 'message-user-fqdn) > (stringp message-user-fqdn) > 0001-gnu-Add-emacs-hyperbole.patch:156: space before tab in indent. >        (string-match "\\." message-user-fqdn) > warning: squelched 10 whitespace errors > warning: 15 lines add whitespace errors. > > --- > > Could you take a look at that? I took a look at this. Regarding "trailing whitespace", I think those are generated with trailing whitespace in them, so I think it is normal that when adding .patch files to git that we'd see that message. Regarding "space before tab in indent", a mixture of tabs and spaces appears to be consistent with the Hyperbole codebase, so I think that's ok too. Attached is a patch that should apply against master. I have tested it a bit, by going through some of the Hyperbole demo. Things like Koutliner and Hycontrol seem to work, though I did not test all of Hyperbole's many features. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-emacs-hyperbole.patch Content-Transfer-Encoding: quoted-printable >From 96091af1de0ed8b91dc42e042ec9128c999d5016 Mon Sep 17 00:00:00 2001 From: "LaFreniere, Joseph" Date: Fri, 2 Aug 2019 23:16:19 -0500 Subject: [PATCH] gnu: Add emacs-hyperbole. * gnu/packages/emacs-xyz.scm (emacs-hyperbole): Add at 7.0.3 --- gnu/packages/emacs-xyz.scm | 68 +++++++++++++++ .../emacs-hyperbole-do-not-check-dir.patch | 24 ++++++ .../patches/emacs-hyperbole-domainname.patch | 29 +++++++ .../emacs-hyperbole-toggle-messaging.patch | 86 +++++++++++++++++++ 4 files changed, 207 insertions(+) create mode 100644 gnu/packages/patches/emacs-hyperbole-do-not-check-dir.p= atch create mode 100644 gnu/packages/patches/emacs-hyperbole-domainname.patch create mode 100644 gnu/packages/patches/emacs-hyperbole-toggle-messaging.p= atch diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index c472958886..bd312c2f87 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -243,6 +243,74 @@ using geiser.") (license license:bsd-3) (home-page "https://github.com/xiaohanyu/ac-geiser")))) =20 +(define-public emacs-hyperbole + (package + (name "emacs-hyperbole") + (version "7.0.3") + (source (origin + (method url-fetch) + (uri (string-append + "http://ftpmirror.gnu.org/hyperbole/" + "hyperbole-" version ".tar.gz")) + (sha256 + (base32 + "0znsjhm0lmzpmkgfni4qzx4l6dp604bmrzp3mwxxax2v96wpwmcx")) + (patches + (search-patches + "emacs-hyperbole-do-not-check-dir.patch" + "emacs-hyperbole-domainname.patch" + "emacs-hyperbole-toggle-messaging.patch")))) + (build-system emacs-build-system) + (arguments + `(#:include '("DEMO" + "DEMO-ROLO.otl" + "HY-ABOUT" + "\\.el$" + "\\.info$" + "\\.kotl$") + #:phases + (modify-phases %standard-phases + (add-before 'install 'make-info + (lambda _ + (invoke "make" "info")))))) + (propagated-inputs `(("inetutils" ,inetutils))) + (home-page "https://www.gnu.org/software/hyperbole/") + (synopsis "The Everyday Hypertextual Information Manager") + (description + "GNU Hyperbole, or just Hyperbole, is an easy-to-use, yet powerful and +programmable hypertextual information management system implemented as a G= NU +Emacs package. It offers rapid views and interlinking of all kinds of tex= tual +information, utilizing Emacs for editing. It can dramatically increase yo= ur +productivity and greatly reduce the number of keyboard/mouse keys you'll n= eed +to work efficiently. Hyperbole lets you: + +@itemize +@item Quickly create hyperlink buttons either from the keyboard or by drag= ging +between a source and destination window with a mouse button depressed. La= ter, +activate buttons by pressing/clicking on them or by giving the name of the +button. +@item Activate many kinds of \"implicit buttons\" recognized by context wi= thin +text buffers, e.g. URLs, grep output lines, and git commits. A single key= or +mouse button automatically does the right thing in dozens of contexts; just +press and go. +@item Build outlines with multi-level numbered outline nodes, e.g. 1.4.8.6, +that all renumber automatically as any node or tree is moved in the outlin= e. +Each node also has a permanent hyperlink anchor that you can reference from +any other node. +@item Manage all your contacts quickly with hierarchical categories and em= bed +hyperlinks within each entry. Or create an archive of documents with +hierarchical entries and use the same search mechanism to quickly find any +matching entry. +@item Use single keys to easily manage your Emacs windows or frames and +quickly retrieve saved window and frame configurations. +@item Search for things in your current buffers, in a directory tree or ac= ross +major web search engines with the touch of a few keys. +@end itemize + +The common thread in all these features is making retrieval, management and +display of information fast and easy. That is Hyperbole's purpose.") + (license license:gpl3+))) + (define-public emacs-paredit (package (name "emacs-paredit") diff --git a/gnu/packages/patches/emacs-hyperbole-do-not-check-dir.patch b/= gnu/packages/patches/emacs-hyperbole-do-not-check-dir.patch new file mode 100644 index 0000000000..66c7a0fb08 --- /dev/null +++ b/gnu/packages/patches/emacs-hyperbole-do-not-check-dir.patch @@ -0,0 +1,24 @@ +From 3016fbd61e47978be73bbbaf7a8c2709bec42066 Mon Sep 17 00:00:00 2001 +From: Joseph LaFreniere +Date: Fri, 12 Jul 2019 13:12:40 -0500 +Subject: [PATCH] Do not run hyperb:check-dir-user during initialization + +--- + hyperbole.el | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/hyperbole.el b/hyperbole.el +index 872dbaf..6edb2a7 100644 +--- a/hyperbole.el ++++ b/hyperbole.el +@@ -653,7 +653,6 @@ If FLAG is nil then text is shown, while if FLAG is t = the text is hidden." + (interactive) + (message "Initializing Hyperbole...") + (run-hooks 'hyperbole-init-hook) +- (hyperb:check-dir-user) + (or (stringp hyperb:user-email) + (setq hyperb:user-email + (or (and (boundp 'user-mail-address) +--=20 +2.22.0 + diff --git a/gnu/packages/patches/emacs-hyperbole-domainname.patch b/gnu/pa= ckages/patches/emacs-hyperbole-domainname.patch new file mode 100644 index 0000000000..cf4b63b54b --- /dev/null +++ b/gnu/packages/patches/emacs-hyperbole-domainname.patch @@ -0,0 +1,29 @@ +From 17c87ac58ce6d475fa1987347fcb868ef7f75e40 Mon Sep 17 00:00:00 2001 +From: Joseph LaFreniere +Date: Sun, 2 Jun 2019 12:38:27 -0500 +Subject: [PATCH] Replace executable domainname with hostname + +Fixes build failure: +> ice-9/boot-9.scm:752:25: In procedure dispatch-exception: +> patch-el-files: unable to locate "domainname" +--- + hypb.el | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/hypb.el b/hypb.el +index 6abc17a..0332946 100644 +--- a/hypb.el ++++ b/hypb.el +@@ -183,8 +183,7 @@ Global keymap is used unless optional KEYMAP is given." +=20 + (defun hypb:domain-name () + "Returns current Internet domain name with '@' prepended or nil if none= ." +- (let* ((dname-cmd (or (file-exists-p "/usr/bin/domainname") +- (file-exists-p "/bin/domainname"))) ++ (let* ((dname-cmd (file-exists-p "/bin/hostname")) + (dname (or (and (boundp 'message-user-fqdn) (stringp message-user-fqdn) + (string-match "\\." message-user-fqdn) + message-user-fqdn) +--=20 +2.21.0 + diff --git a/gnu/packages/patches/emacs-hyperbole-toggle-messaging.patch b/= gnu/packages/patches/emacs-hyperbole-toggle-messaging.patch new file mode 100644 index 0000000000..ab66e1b389 --- /dev/null +++ b/gnu/packages/patches/emacs-hyperbole-toggle-messaging.patch @@ -0,0 +1,86 @@ +From 6d5c587ec719e3309077c7d637b03b13db65c047 Mon Sep 17 00:00:00 2001 +From: Joseph LaFreniere +Date: Fri, 12 Jul 2019 12:43:46 -0500 +Subject: [PATCH] Move definition of hyperbole-toggle-messaging to hsettings + +--- + hsettings.el | 25 +++++++++++++++++++++++++ + hyperbole.el | 26 -------------------------- + 2 files changed, 25 insertions(+), 26 deletions(-) + +diff --git a/hsettings.el b/hsettings.el +index 6cdd1b8..9632067 100644 +--- a/hsettings.el ++++ b/hsettings.el +@@ -163,6 +163,31 @@ package to display search results." + search-term))) + (user-error "(Hyperbole): Invalid web search service `%s'" service-= name)))) +=20 ++;;;###autoload ++(defun hyperbole-toggle-messaging (&optional arg) ++ "Toggle Hyperbole support for explicit buttons in mail and news buffers. ++Toggles the boolean variable `inhibit-hyperbole-messaging=E2=80=99 and ei= ther ++adds hooks (nil value) or removes them (t value). ++ ++With optional prefix ARG > 0, enables support. If ARG <=3D 0, ++disables/inhibits support." ++ (interactive "P") ++ (setq inhibit-hyperbole-messaging (if (null arg) ++ (not inhibit-hyperbole-messaging) ++ (<=3D (prefix-numeric-value arg) 0))) ++ (if inhibit-hyperbole-messaging ++ (var:remove-all) ++ (var:append-all) ++ ;; Add any hooks that were skipped when inhibit-hyperbole-messaging ++ ;; was nil. ++ (cond ((boundp 'hyperbole-loading)) ++ ((not after-init-time) ++ (add-hook 'after-init-hook (lambda () (load "hyperbole")))) ++ (t (load "hyperbole")))) ++ (if (called-interactively-p 'interactive) ++ (message "Hyperbole messaging button support is %s" ++ (if inhibit-hyperbole-messaging "disabled" "enabled")))) ++ + (defcustom inhibit-hyperbole-messaging t + "*Determines whether Hyperbole supports explicit buttons in mail and ne= ws buffers. + The default of t means disable such support (work remains to +diff --git a/hyperbole.el b/hyperbole.el +index 4aa427d..872dbaf 100644 +--- a/hyperbole.el ++++ b/hyperbole.el +@@ -121,32 +121,6 @@ + t))) + (error "(Hyperbole): Startup failure: `hyperb:dir' must be manually a= dded to `load-path' to fix."))) +=20 +-;; This must be defined before the defcustom `inhbit-hyperbole-messaging'. +-;;;###autoload +-(defun hyperbole-toggle-messaging (&optional arg) +- "Toggle Hyperbole support for explicit buttons in mail and news buffers. +-Toggles the boolean variable `inhibit-hyperbole-messaging=E2=80=99 and ei= ther +-adds hooks (nil value) or removes them (t value). +- +-With optional prefix ARG > 0, enables support. If ARG <=3D 0, +-disables/inhibits support." +- (interactive "P") +- (setq inhibit-hyperbole-messaging (if (null arg) +- (not inhibit-hyperbole-messaging) +- (<=3D (prefix-numeric-value arg) 0))) +- (if inhibit-hyperbole-messaging +- (var:remove-all) +- (var:append-all) +- ;; Add any hooks that were skipped when inhibit-hyperbole-messaging +- ;; was nil. +- (cond ((boundp 'hyperbole-loading)) +- ((not after-init-time) +- (add-hook 'after-init-hook (lambda () (load "hyperbole")))) +- (t (load "hyperbole")))) +- (if (called-interactively-p 'interactive) +- (message "Hyperbole messaging button support is %s" +- (if inhibit-hyperbole-messaging "disabled" "enabled")))) +- + (defgroup hyperbole-koutliner nil + "Hyperbole multi-level autonumbered outliner customizations." + :group 'hyperbole) +--=20 +2.22.0 + --=20 2.26.2 --=-=-= Content-Type: text/plain > > > Otherwise LGTM. > > (I linted it, inspected the output in the store with 'ls -lR' and > opened the info file) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 20 15:33:49 2020 Received: (at 36751-done) by debbugs.gnu.org; 20 Jun 2020 19:33:49 +0000 Received: from localhost ([127.0.0.1]:58793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmjFN-0002A0-Lj for submit@debbugs.gnu.org; Sat, 20 Jun 2020 15:33:49 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:32964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmjFK-00029n-4J for 36751-done@debbugs.gnu.org; Sat, 20 Jun 2020 15:33:48 -0400 Received: (qmail 1362 invoked by uid 1009); 20 Jun 2020 21:33:44 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25848. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.030004 secs); 20 Jun 2020 19:33:44 -0000 Received: from unknown (HELO gravity) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 20 Jun 2020 21:33:44 +0200 Date: Sat, 20 Jun 2020 21:33:42 +0200 From: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= To: 36751-done@debbugs.gnu.org Subject: Done: [PATCH] gnu: Add emacs-hyperbole. Message-ID: <20200620193342.ljdm4fhisdstcqo2@gravity> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="52zdfu2cbaixbm5j" Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36751-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: -1.0 (-) --52zdfu2cbaixbm5j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Thanks for the patch, pushed as commit 7d80d795248b029183b27361e9ab4895079375f7. --52zdfu2cbaixbm5j Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl7uZJYACgkQ4xWnWEYT FWTWxQ/5AcKa7wNmXZYSTKrWPj5qEEQcYXMuP58q6MKgB3MhyyUIRmjSgKp1+byP AplVjTNs+k2iUst4Hz/Z6r0NhVf8g3t4nqycBjMqDFlHhOcUmO8To4+vXTXSaxsy eq3wqNUYQx8DGqWth4l236D6bO2CTpBxF15OqiT51RkHrPgQ5eeWbpax/4YE9KdT o5JELyyH4PnNtHZhIvJbhsNF98aRfkM/0YFEK+Mdi+Bp1Cz9EYo0T0sPS5Hw9N1d kGR/7dH217yFRa2cdbJBBLPTYHeSOJShehhz51vU/8ZFfJiBnizjtqrQn+f7ZLxv lycxZsBbvOHbU69qH5DOyzkIYkZ1nY735BUakt9q2tRcr0WaTvlBmSqmWKOuUwEM 8LR7SnJsUHLjTuHKs16TriyO1dJge/W+RQltZPQiWQ13R0pRY4D5UYN/Vk8fDXpm E2RlbUMl51pUjAN2gO+aquN7PQ+UVgAhENBeH8Ia2a/zAcr0LEhIaS43BQZsVeOv +udt2iF7FQr86insRmDO2t0GzxBvP5/KN3TkcyNI4JKq3dqUF5z0verKFGR5a002 VlJ48cxip1pzPKRy1EpTiqj2jP6S2tyYseQeNVaRXvk2nrQXH8dHXw/OU7qO5lxj btqlYHjcY7M3ocRw+fQR65bbbSVebjQqVI9VbhhbkUG1ZTsFdtE= =ISKl -----END PGP SIGNATURE----- --52zdfu2cbaixbm5j-- From unknown Sun Aug 10 16:48:42 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 19 Jul 2020 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator