all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jamie Beardslee <beardsleejamie@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Gnus: Store message in PGP-decrypted form
Date: Wed, 10 Jun 2020 13:57:39 +1200	[thread overview]
Message-ID: <87ftb34r8s.fsf@gmail.com> (raw)
In-Reply-To: 87eeqnn10e.fsf@ebih.ebihd

[-- Attachment #1: Type: text/plain, Size: 348 bytes --]

I stole some of it from `epa-decrypt-armor-in-region' because
`epa-mail-decrypt' is interactive-only.

Ideally armor-start and armor-end should only be lexically bound, so
they should be in the let form:

(let ((buffer (get-buffer-create
		 (format "%s *decrypted*"
			 (file-name-nondirectory file))))
      armor-beg armor-end)
   ...)

--
Jamie

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 519 bytes --]

  reply	other threads:[~2020-06-10  1:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-09  8:02 Gnus: Store message in PGP-decrypted form Marvin ‘quintus’ Gülker
2020-06-10  1:38 ` Jamie Beardslee
2020-06-10  1:49   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10  1:57     ` Jamie Beardslee [this message]
2020-06-10  2:05       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10  8:42   ` Marvin ‘quintus’ Gülker
2020-06-10  6:50 ` Teemu Likonen
2020-06-10  8:40   ` Marvin ‘quintus’ Gülker
2020-06-10  9:12     ` Mail folders and searches Teemu Likonen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ftb34r8s.fsf@gmail.com \
    --to=beardsleejamie@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.