I'm using VM 8.2.0a downloaded from launchpad and installed in
/usr/local bin with the normal ./configure && make && make install and
GNU Emacs 23.3.1 installed using the Debian testing packages.
My .vm is (including everything in case there's something obvious
I've missed):
;; Set sent folder to the current year/month every time a new message
;; is composed.
(defun gse-set-mail-archive-file-name()
"Set the sent folder to be based on the current year/month."
(setq mail-archive-file-name
(concat "~/mail/sent/" (format-time-string "%Y-%m"))))
(add-hook 'mail-mode-hook 'gse-set-mail-archive-file-name)
I'm using VM 8.2.0a downloaded from launchpad and installed in
/usr/local bin with the normal ./configure && make && make install and
GNU Emacs 23.3.1 installed using the Debian testing packages.
My .vm is (including everything in case there's something obvious
I've missed):
(setq -file "~/.signature" send-mail- function 'smtpmail-send-it auth-credential s (expand-file-name "~/.authinfo") debug-info t default- smtp-server "smtp.gmail.com" smtp-server "smtp.gmail.com" smtp-service 587 starttls- credentials '(("smtp.gmail.com" 587 nil nil)) use-gnutls t external- messages t directory "~/mail" folder- cache-directory "~/mail/cache" max-message- size 512 file-suffix ".vm" headers- only nil attachment- save-directory "~/tmp" folder- cache-directory "~/mail/cache"
mail-signature t
mail-signature
message-
send-mail-function 'smtpmail-send-it
smtpmail-
smtpmail-
smtpmail-
smtpmail-
smtpmail-
smtpmail-
starttls-
vm-enable-
vm-folder-
vm-imap-
vm-imap-
vm-index-
vm-init-file "~/.vm"
vm-load-
vm-mime-
vm-mutable-frames nil
vm-mutable-windows nil
vm-pop-
vm-preview-lines nil
vm-primary-inbox "~/mail/inbox"
vm-stunnel-program "/usr/bin/stunnel4"
vm-imap- account- alist ssl:imap. googlemail. com:993: inbox:login: myuser. com:*"
'(
("imap-
"gmail-work")
)
)
;; Set sent folder to the current year/month every time a new message mail-archive- file-name( ) file-name
"~/mail/ sent/"
(format- time-string "%Y-%m")))) mail-archive- file-name)
;; is composed.
(defun gse-set-
"Set the sent folder to be based on the current year/month."
(setq mail-archive-
(concat
(add-hook 'mail-mode-hook 'gse-set-
;; Nice colours mode-hook 'u-vm-color- summary- mode) message- hook 'u-vm-color- fontify- buffer) mime-message (after u-vm-color activate) color-fontify- buffer- even-more) )
(require 'u-vm-color)
(add-hook 'vm-summary-
(add-hook 'vm-select-
(defadvice vm-decode-
(u-vm-
VM is loaded with the following snippet in my .emacs:
(defun tkj-load-vm ()
" /usr/local/ share/emacs/ site-lisp/ vm")) directory- list
(expand- file-name
"/usr/ local/share/ info/vm" ))
(interactive)
(add-to-list 'load-path (expand-file-name
(add-to-list 'Info-default-
(require 'vm-autoloads)
(require 'vm)
(require 'starttls)
(require 'smtpmail)
(vm)
)