[comp.emacs] Editing letters in text-mode with e

tom@hcx2.SSD.HARRIS.COM (02/21/89)

If the file name being edited can be recognized automatically
(i.e. it is always something like '/tmp/elm[a-f0-9]*') you
can add a pattern that will recognize the name to auto-mode-alist:

(setq
   auto-mode-alist
   (cons (cons "^/tmp/elm[a-f0-9]*" 'text-mode) auto-mode-alist)
)

I do something like this to recognize the temp files created by
the 'notes' program and automatically insert my .signature

I don't use elm, so I don't know if this is possible or not.

=====================================================================
    usenet: tahorsley@ssd.harris.com  USMail: Tom Horsley
compuserve: 76505,364                         511 Kingbird Circle
     genie: T.HORSLEY                         Delray Beach, FL  33444
======================== Aging: Just say no! ========================