-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>> "Rebecca" == Rebecca Ore "Re:
mailcrypt and gpg"
>>>> Tue, 24 Nov 1998 08:23:51 -0500 (EST)
Rebecca> (load-library "/usr/local/share/emacs/site-lisp/mailcrypt")
Rebecca> (load-library "/usr/local/share/emacs/site-lisp/mc-toplev")
Rebecca> (load-library "/usr/local/share/emacs/site-lisp/mc-gpg")
Rebecca> (load-library "/usr/local/share/emacs/site-lisp/mc-setversion")
Rebecca> (load-library "/usr/local/share/emacs/site-lisp/expect")
Rebecca> (mc-setversion "gpg")
Rebecca> (require 'mailcrypt "/usr/local/share/emacs/site-lisp/")
Rebecca> (autoload 'mc-install-write-mode "mailcrypt" nil t)
Rebecca> (autoload 'mc-install-read-mode "mailcrypt" nil t)
Rebecca> (add-hook 'mail-mode-hook 'mc-install-write-mode)
Hmm.. What versions are involved?
I had the package mailcryptng-1.01-pkg installed with XEmacs-21.0 then
I installed the original mailcrypt-3.5b7 from
<
http://www.nb.net/~lbudney/linux/software/mailcrypt.html> so that I
could install the new patches from
<
ftp://ftp.lothar.com/linux/mailcrypt-3.5b7-gpg5.patch.gz>.
After placing the new patched version in my load path ahead of
everything else I found the following as suggested in the patched
mailcrypt README adequate.
(load-library "mailcrypt")
(mc-setversion "gpg")
(autoload 'mc-install-write-mode "mailcrypt" nil t)
(autoload 'mc-install-read-mode "mailcrypt" nil t)
(add-hook 'mail-mode-hook 'mc-install-write-mode)
(add-hook 'mh-folder-mode-hook 'mc-install-read-mode)
(add-hook 'mh-letter-mode-hook 'mc-install-write-mode)
(setq mc-encrypt-for-me t)
(setq mc-default-scheme 'mc-scheme-gpg)
This I have not fully tested but seems sane for a start.
This exercise brought some questions to mind.
1. What is the recommended way for one to discern that
"mailcryptng-1.01-pkg" is based upon "mailcrypt-3.5b7"?
2. How can one see easily what modifications were made to
"mailcrypt-3.5b7" when it was packaged and what packaging scaffolding
was introduced?
3. Where are the instructions for building a local package?
4. How can one replace or override the official package with a local
variant while retaining the official package for a fall back?
jam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.4.4 (GNU/Linux)
Comment: For info finger gcrypt(a)ftp.guug.de
iEYEARECAAYFAjZa/fIACgkQUEvv1b/iXy+W+wCfaUi4cm7nYkJFV3ZPo4mIgCkY
CEMAmQFxPE0D5JNP8W7nk7+B5rzdxD3L
=69K+
-----END PGP SIGNATURE-----