GNU bug report logs - #26442
[PATCH 0/1] gnu: Add emacs-default-encrypt.

Previous Next

Package: guix-patches;

Reported by: Chris Marusich <cmmarusich <at> gmail.com>

Date: Tue, 11 Apr 2017 08:46:01 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26442 in the body.
You can then email your comments to 26442 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#26442; Package guix-patches. (Tue, 11 Apr 2017 08:46:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chris Marusich <cmmarusich <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 11 Apr 2017 08:46:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Chris Marusich <cmmarusich <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Chris Marusich <cmmarusich <at> gmail.com>
Subject: [PATCH 0/1] gnu: Add emacs-default-encrypt.
Date: Tue, 11 Apr 2017 01:44:48 -0700
Hi,

Here's a patch to add DefaultEncrypt.  Thanks to Alex for their help!
Sometimes it takes a second pair of eyes to solve a problem [1].

[1] https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00174.html

Chris Marusich (1):
  gnu: Add emacs-default-encrypt.

 gnu/packages/emacs.scm | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

-- 
2.12.0





Information forwarded to guix-patches <at> gnu.org:
bug#26442; Package guix-patches. (Tue, 11 Apr 2017 08:51:01 GMT) Full text and rfc822 format available.

Message #8 received at 26442 <at> debbugs.gnu.org (full text, mbox):

From: Chris Marusich <cmmarusich <at> gmail.com>
To: 26442 <at> debbugs.gnu.org
Cc: Chris Marusich <cmmarusich <at> gmail.com>
Subject: [PATCH 1/1] gnu: Add emacs-default-encrypt.
Date: Tue, 11 Apr 2017 01:49:50 -0700
* gnu/packages/emacs.scm (emacs-default-encrypt): New variable.
---
 gnu/packages/emacs.scm | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 3db31f207..53ad50e86 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2014, 2015, 2016, 2017 Alex Kost <alezost <at> gmail.com>
 ;;; Copyright © 2015 Federico Beffa <beffa <at> fbengineering.ch>
 ;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado <at> elephly.net>
-;;; Copyright © 2016 Chris Marusich <cmmarusich <at> gmail.com>
+;;; Copyright © 2016, 2017 Chris Marusich <cmmarusich <at> gmail.com>
 ;;; Copyright © 2015, 2016 Christopher Allan Webber <cwebber <at> dustycloud.org>
 ;;; Copyright © 2016 humanitiesNerd <catonano <at> gmail.com>
 ;;; Copyright © 2016 Efraim Flashner <efraim <at> flashner.co.il>
@@ -4057,3 +4057,31 @@ jQuery and Bootstrap resources included via osscdn.")
     (description
      "This Emacs package highlights the s-exp at the current position.")
     (license license:gpl3+)))
+
+(define-public emacs-default-encrypt
+  (package
+    (name "emacs-default-encrypt")
+    (version "4.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             ;; A versioned, signed copy of this package is avialable on the
+             ;; home page, but 'guix download' fails to download it.
+             "https://github.com/emacsmirror/emacswiki.org/raw/master/jl-encrypt.el"))
+       (file-name (string-append "jl-encrypt-" version ".el"))
+       (sha256
+        (base32
+         "16i3rlfp3jxlqvndn8idylhmczync3gwmy8a019v29vyr48rnnr0"))))
+    (build-system emacs-build-system)
+    (home-page "https://www.informationelle-selbstbestimmung-im-internet.de/Emacs.html")
+    (synopsis "Automatically encrypt or sign Gnus messages in Emacs")
+    (description
+     "DefaultEncrypt is designed to be used with Gnus in Emacs.  It
+automatically encrypts messages that you send (e.g., email) when public keys
+for all recipients are available, and it protects you from accidentally
+sending un-encrypted messages.  It can also be configured to automatically
+sign messages that you send.  For details and instructions on how to use
+DefaultEncrypt, please refer to the home page or read the comments in the
+source file, @file{jl-encrypt.el}.")
+    (license license:gpl3+)))
-- 
2.12.0





Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Tue, 11 Apr 2017 15:52:02 GMT) Full text and rfc822 format available.

Notification sent to Chris Marusich <cmmarusich <at> gmail.com>:
bug acknowledged by developer. (Tue, 11 Apr 2017 15:52:02 GMT) Full text and rfc822 format available.

Message #13 received at 26442-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Chris Marusich <cmmarusich <at> gmail.com>
Cc: 26442-done <at> debbugs.gnu.org
Subject: Re: bug#26442: [PATCH 1/1] gnu: Add emacs-default-encrypt.
Date: Tue, 11 Apr 2017 17:51:26 +0200
Hello Chris,

Chris Marusich <cmmarusich <at> gmail.com> skribis:

> * gnu/packages/emacs.scm (emacs-default-encrypt): New variable.

Applied, thanks!

> +       (method url-fetch)
> +       (uri (string-append
> +             ;; A versioned, signed copy of this package is avialable on the
> +             ;; home page, but 'guix download' fails to download it.
> +             "https://github.com/emacsmirror/emacswiki.org/raw/master/jl-encrypt.el"))

I think it’s OK to take it from github.com, but for the record, I don’t
seem to experience the problem you’re referring to:

--8<---------------cut here---------------start------------->8---
$ guix download https://www.informationelle-selbstbestimmung-im-internet.de/emacs/jl-encrypt4.1/jl-encrypt.el

Starting download of /tmp/guix-file.ukU3OR
From https://www.informationelle-selbstbestimmung-im-internet.de/emacs/jl-encrypt4.1/jl-encrypt.el...
 …rypt.el  24KiB                                                        615KiB/s 00:00 [####################] 100.0%
/gnu/store/ysgd00j7pm38wi0h40557rhsq5zprnj9-jl-encrypt.el
0viwnsza60cgf0ayh45pgbij156yacxwdfvmfldy0161vkr9dizl
--8<---------------cut here---------------end--------------->8---

(That’s with Guile 2.2.0.)

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#26442; Package guix-patches. (Tue, 11 Apr 2017 16:42:02 GMT) Full text and rfc822 format available.

Message #16 received at 26442-done <at> debbugs.gnu.org (full text, mbox):

From: Chris Marusich <cmmarusich <at> gmail.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 26442-done <at> debbugs.gnu.org
Subject: Re: bug#26442: [PATCH 1/1] gnu: Add emacs-default-encrypt.
Date: Tue, 11 Apr 2017 09:41:14 -0700
[Message part 1 (text/plain, inline)]
ludo <at> gnu.org (Ludovic Courtès) writes:

> I don’t seem to experience the problem you’re referring to:
>
> $ guix download https://www.informationelle-selbstbestimmung-im-internet.de/emacs/jl-encrypt4.1/jl-encrypt.el
>
> Starting download of /tmp/guix-file.ukU3OR
> From https://www.informationelle-selbstbestimmung-im-internet.de/emacs/jl-encrypt4.1/jl-encrypt.el...
>  …rypt.el  24KiB                                                        615KiB/s 00:00 [####################] 100.0%
> /gnu/store/ysgd00j7pm38wi0h40557rhsq5zprnj9-jl-encrypt.el
> 0viwnsza60cgf0ayh45pgbij156yacxwdfvmfldy0161vkr9dizl
>
> (That’s with Guile 2.2.0.)

That's because the author fixed it just a few hours ago! :-)  I'll
submit another patch to update the URL to use their home page.

-- 
Chris
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 10 May 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 100 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.