Gnus development mailing list
 help / color / mirror / Atom feed
From: Raymond Scholz <ray-2002@zonix.de>
Subject: [patch] Make PGG respect setting of user ID for sign+encrypt
Date: Fri, 01 Nov 2002 20:57:58 +0100	[thread overview]
Message-ID: <gd.87fzul6p15.fsf@mde1.zonix.de> (raw)

This patch makes PGG respect the setting of the default user ID in
function `pgg-gpg-encrypt-region' like it already does for
`pgg-gpg-sign-region'.

Index: lisp/pgg-gpg.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/pgg-gpg.el,v
retrieving revision 6.7
diff -u -r6.7 pgg-gpg.el
--- lisp/pgg-gpg.el	2002/10/20 00:04:23	6.7
+++ lisp/pgg-gpg.el	2002/11/01 19:56:26
@@ -137,7 +137,7 @@
 	 (args
 	  (append
 	   (list "--batch" "--armor" "--always-trust" "--encrypt")
-	   (if sign '("--sign"))
+	   (if sign (list "--sign" "--local-user" pgg-gpg-user-id))
 	   (if recipients
 	       (apply #'nconc
 		      (mapcar (lambda (rcpt)

Cheers, Ray
-- 
WYSIWYG is a step backwards. Human labor is used to do that which the
computer can do better.                         (Andrew S. Tanenbaum)



             reply	other threads:[~2002-11-01 19:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-01 19:57 Raymond Scholz [this message]
2002-11-02  4:22 ` Simon Josefsson

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=gd.87fzul6p15.fsf@mde1.zonix.de \
    --to=ray-2002@zonix.de \
    --cc=rscholz@zonix.de \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).