[Alpine-info] Using emacs with Alpine

Duke Normandin mumpsoid at gmx.com
Sun Jul 26 07:17:55 PDT 2009


On Sat, 25 Jul 2009, Steven W. Orr wrote:


> On 07/25/09 08:40, quoth Duke Normandin:

> > On Sat, 25 Jul 2009, Steven W. Orr wrote:

> >

> >> On 07/25/09 00:32, quoth Duke Normandin:

> >>> I've been using jed with Alpine2.00 with varying amounts of frustration.

> >>> Would those of you who use emacs as an alternate editor, mind sharing with

> >>> me hat you use as a Alpine configuration command - other than just plain

> >>> old "emacs"?

> >> Well, personally, my .emacs file is well over 100K so I run emacsserver.

> >>

> >> (server-start)

> >>

> >> Then instead of setting your alternate editor to emacs, just set it to emacsclient

> >

> > So if I'm not running an emacs server, I simply use `emacs' -- no

> > mail-mode minor mode or anything?

>

> You mean this?

>

> (add-to-list 'auto-mode-alist '("^/tmp/pico" . text-mode))

>

> (add-hook 'text-mode-hook

> (function

> (lambda ()

> (set (make-local-variable 'dabbrev-case-fold-search) t)

> (set (make-local-variable 'dabbrev-case-replace) t)

> (abbrev-mode 1))))

> (quietly-read-abbrev-file "~/.abbrev_defs")

> (add-hook 'text-mode-hook 'my-text-mode-hook)

> (require 'autoadapt)

> ;; Specialized adaptive auto-fill tables

> (add-hook 'text-mode-hook 'autoadapt-itext-table)

> (add-hook 'text-mode-hook 'turn-on-auto-fill)

>

> Another way to go instead is

> ;; ThunderBird EMAIL mode.

> (require 'tbemail)

>

> which gives you the single line of text per paragraph so that it auto-flows.



Thanks for the above! I'll have to experiment with them as well.
--
duke


More information about the Alpine-info mailing list