Question

I am using both mutt and emacs to write mail.

I use, until recent time, this code into my .emacs :

; corrector
(add-hook 'mail-mode-hook 'flyspell-mode)

; Do not cut words
(global-visual-line-mode t)

; open mail-mode when emacs is invoked by mutt                                
(add-to-list 'auto-mode-alist '("/mutt" . mail-mode))

; wrap email body
(add-hook 'mail-mode-hook 'turn-on-auto-fill)
(add-hook 'mail-mode-hook 'turn-on-filladapt-mode)

But it is not working anymore. When I write a email with emacs I have no flyspell enable and the mail-mode does not wrap the text.

When I try to launch the mail-mode manually, I have a error :

File mode specification error: (void-function turn-on-filladapt-mode)
Making completion list... [2 times]
run-hooks: Symbol's function definition is void: turn-on-filladapt-mode
Was it helpful?

Solution

The problem was caused by the missing package emacs-goodies.el (in debian sid) which include filladapt.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top