To use this, put something like:
-(add-hook 'message-mode-hook '(lambda()(local-set-key [C-tab] 'eweouz-complete)))
+ (add-hook 'gnus-startup-hook 'eweouz-insinuate-gnus)
+ (add-hook 'mail-setup-hook 'eweouz-insinuate-sendmail)
+ (add-hook 'message-setup-hook 'eweouz-insinuate-message)
-in your .gnus file.
+in your .emacs file.
Feature suggestions, patches and general feedback is of course
welcome.
(set-buffer (get-buffer-create eweouz-buffer-name))
(insert (vcard-pretty-print record))))
+;;;###autoload
+(defun eweouz-insinuate-gnus ()
+ "Call this function to hook EWEOUZ into Gnus."
+ (define-key gnus-summary-mode-map ":" 'eweouz-add-sender))
+
+;;;###autoload
+(defun eweouz-insinuate-sendmail ()
+ "Call this function to hook EWEOUZ into sendmail (M-x mail)."
+ (define-key mail-mode-map [C-tab] eweouz-complete))
+
+;;;###autoload
+(defun eweouz-insinuate-message ()
+ "Call this function to hook EWEOUZ into message-mode."
+ (define-key message-mode-map [C-tab] eweouz-complete))
+
(require 'vcard)