Please note: Most if not all elisp packages are distributed as gzip'd tar archive (*.tar.gz
). Thus you will need gzip and GNU tar for installation of those packages.
Please also note: All of the below packages come with readme files and manuals. Make sure you will have a look into those files as these pages are not meant to replace those manuals.
Another note: The elisp code shown below will become unusable if you save this page with your browser. To get a one-to-one copy of the elisp code contained herein, please mark it, then copy and paste it into your editor.
BBDB is a kind of rolodex database with automated support for mail and GNUS. It has pre-built fields such as name, address, phone, e-mail as well as support for user-defined fields.
The installation of BBDB 2.00 under Emacs 20.6 for OS/2 is not problematic. It can be installed manually without having to install dozens of helper applications to run its makefile
sucessfully.
x:\emacs\lisp
, and unpack with tar -zxf bbdb2.00.tar.gz
.
x:\emacs\lisp\bbdb-2.00\lisp
and issue the command emacs -batch -q -f batch-byte-compile *.el
.
x:\emacs\lisp\bbdb-2.00\texinfo
and issue the command makeinfo bbdb
. Move the resulting file bbdb.info
to your info directory, probably x:\emx\info
, and add the line * BDDB: (bbdb). Insidious Big Brother Database
to the dir
file in that directory.
You are done with the installation.
Now you need to setup BBDB for your environment. First you will need to add the BBDB path to the Emacs load path.
(setq load-path (append '("x:/emacs/lisp/" "x:/emacs/20.6/lib-src" "x:/emacs/lisp/bbdb-2.00/lisp") load-path))
This is what I have additionally in my site-start.el
(I just use BBDB in conjunction with rmail):
;;; Setup what is to be ignored in BBDB, ;;; i.e. for what kind of addresses not to auto-create an BBDB entry (setq bbdb/mail-auto-create-p 'bbdb-ignore-some-messages-hook) (setq bbdb-ignore-some-messages-alist '(("From" . "listserv\\|mailer\\|postmaster\\|list\\|root\\|[Aa]buse") ;; ("Originator" . "emx\\|glelist") ;; ("Sender" . "emx\\|glelist\\|maiser\\|Finance") ("To" . "idw\\|info\\|vote") ;; for mailing lists ;; ("Apparently-To" . "emtex") ;; ("Subject" . "[Cc]onfirm") ;; ("CC" . "info\\|teach\\|supercite\\|gaussian") ;; ("Reply-To" . "trumpet\\|os2ip\\|FINANCE") )) (setq bbdb-user-mail-names "Forename Lastname") ;;; put your name here ;;; Use European phone numbers (setq bbdb-north-american-phone-numbers-p nil) (require 'bbdb) (bbdb-initialize 'rmail)
Download BBDB 2.00. Please note: It is recommended that you download the most recent version as of this writing: version 2.00.06. This is a development version, but it fixes a bug in version 2.00 starting BBDB in read-only view-mode.
Version 7.106 does work with Emacs 20.6 for OS/2 and rmail, but not out of the box.
More information will be available soon.
Mailcrypt is an Emacs interface for PGP, thus it will be only of interest to you if you are using PGP.
Mailcrypt supports on-the-fly de-/encryption. Version 3.5.5 of mailcrypt is updated to work with PGP 5.0. However I have not tested this with PGP 5.0 for OS/2 as I am still working with version 2.6.3i.
The installation of Mailcrypt 3.5.5 under Emacs 20.6 for OS/2 is not problematic. It can be installed manually without having to install dozens of helper applications to run its makefile
sucessfully.
x:\emacs\lisp
, and unpack with tar -zxf mailcrypt-3.5.5.tar.gz
.
x:\emacs\lisp\mailcrypt-3.5.5
and issue the command emacs -batch -q -f batch-byte-compile *.el
.
x:\emacs\lisp\mailcrypt-3.5.5
and move the info files mailcrypt.info*
to your info directory, probably x:\emx\info
. Add the line * MailCrypt: (mailcrypt). Emacs interface to PGP
to the dir
file in that directory.
You are done with the installation.
Now you need to setup mailcrypt for your environment. First you will need to add the mailcrypt path to the Emacs load path.
(setq load-path (append '("x:/emacs/lisp/" "x:/emacs/20.6/lib-src" "x:/emacs/lisp/mailcrypt-3.5.5") load-path))
This is what I have additionally in my site-start.el
:
;;; Personal setup (setq mc-pgp-path "/yourpath/pgp") (setq mc-pgp-alternate-keyring "/yourpath/pubring.pgp") ;; (setq mc-pgp-comment nil) (setq mc-passwd-timeout 600) (setq user-login-name "Forename Lastname <you@domain.com>") ;;; General setup (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) ;;; for writing modes (add-hook 'message-mode-hook 'mc-install-write-mode) ;;; for writing modes ;;;Rmail (add-hook 'rmail-mode-hook 'mc-install-read-mode) ;;; for reading modes (add-hook 'rmail-summary-mode-hook 'mc-install-read-mode) ;;; for reading modes ;;; GNUS (add-hook 'gnus-summary-mode-hook 'mc-install-read-mode) ;;; for reading modes (add-hook 'news-reply-mode-hook 'mc-install-write-mode) ;;; for writing modes (load-library "mailcrypt") (setq mc-setversion "2.6") ;; Alternately, "5.0" or "gpg"
Download mailcrypt 3.5.5.