pgg-encrypt-for-me is t

I want to encrypt a file only with my own key, so I type:

  M-x pgg-encrypt RET RET

and get an error:

  gpg: : skipped: malformed user id
  [GNUPG:] INV_RECP 0 
  gpg: [stdin]: encryption failed: malformed user id

it seems that the 'encrypt for me' setting is only used if I specify other 
recipients as well:

(from the definition of pgg-pgp-encrypt-region:

           (if recipients
               (mapconcat 'shell-quote-argument
                          (append recipients
                                  (if pgg-encrypt-for-me
                                      (list pgg-pgp-user-id)))))
)

I think I would expect pgg-encrypt-for-me to be consulted even if no other 
recipients are specified.

Chris.


In GNU Emacs 22.0.93.34 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2007-02-09 on trpaslik
X server distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure  '--with-gtk' '--prefix' '/usr/local' '--with-xpm' 
'--with-jpeg' '--with-png' '--with-gif''


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to