[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs or mutt ?
From: |
tomas |
Subject: |
Re: emacs or mutt ? |
Date: |
Mon, 11 Mar 2019 08:53:43 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sun, Mar 10, 2019 at 11:08:50PM +0100, Philippe Delavalade wrote:
> Hi Jost.
>
> Many thanks for your help.
[...]
> > The best way to do this, I think, is to use `auto-mode-alist`. Put this in
> > ~/.emacs.d/init.el:
> >
> > (add-to-list 'auto-mode-alist '("mutt-[a-z0-9]+-[0-9]+-[0-9]+.*\\'" .
> > message-mode))
>
> I had no file ~/.emac.d/init.el
>
> So I created it and wrote your line but it produces no effect.
I don't know whether this is a typo, but the "normal" name is ~/.emacs.d
(you wrote ~/.emac.d).
Nevertheless...
> Finally I put the line in .emacs and now I have what I want. I replaced
> message-mode with text-mode because I don't know at all this mode but I
> will try it later.
if you have an ~/.emacs, this will take precedence, I think.
Cheers
-- t
signature.asc
Description: Digital signature
Re: emacs or mutt ?, Bob Proulx, 2019/03/13