GNU bug report logs - #35113
27.0.50; [epg/epa] gpg key handling bug

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Wed, 3 Apr 2019 00:24:02 UTC

Severity: normal

Tags: moreinfo

Found in version 27.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Richard Stallman <rms <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 35113 <at> debbugs.gnu.org
Subject: bug#35113: 27.0.50; key handling bug
Date: Mon, 26 Aug 2019 19:16:15 -0400
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

I run this command, which is in my .emacs
and invokes standard parts of Emacs,

(defun epenc (&optional arg)
  (interactive "P")
  (unless arg
    (mail-cc-me))
  (mail-text)
  ;; Record the plaintext so we can save it when message is sent.
  (make-local-variable 'buffer-plaintext)
  (setq buffer-plaintext (buffer-string))
  (let (message)
    (when (looking-at "[[]+ To any")
      (let ((beg (point)))
	(while (looking-at "[[]+ \\|$")
	  (forward-line 1))
	(setq message (buffer-substring beg (point)))
	(delete-region beg (point))))
    (epa-mail-encrypt)
    (when message
      (mail-text)
      (insert message))))

-- 
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






This bug report was last modified 4 years and 312 days ago.

Previous Next


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