Lars Ingebrigtsen [2016-02-06 16:53:10+11] wrote: > Russ Allbery writes: >> Try (setq epg-gpg-program "gpg2"). By default, I think it uses gpg, >> which is not compatible with the gpg-agent that comes with gpg2. > Should the default here be changed? I'm not very familiar with the epg > stuff... > > That is, if pgp2 exists on the system, should that be the default > value? I think yes. Currently (as in Emacs branch emacs-25) it's this: (defcustom epg-gpg-program (cond ((executable-find "gpg") "gpg") ((executable-find "gpg2") "gpg2") (t "gpg")) "The `gpg' executable." :group 'epg :type 'string) I suggest this: (defcustom epg-gpg-program (cond ((executable-find "gpg2") "gpg2") (t "gpg")) "The `gpg' executable." :group 'epg :type 'string) -- /// Teemu Likonen - .-.. // // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///