all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tyler <tyler.smith@mail.mcgill.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Auto enable text-mode when editing email (from mutt)
Date: Thu, 19 Feb 2009 17:14:08 -0400	[thread overview]
Message-ID: <8763j6gme7.fsf@blackbart.sedgenet> (raw)
In-Reply-To: 22109337.post@talk.nabble.com

TheLonelyStar <nabble2@lonely-star.org> writes:

> I use emacs to edit my emails (from mutt). It is started with this line:
> /usr/bin/emacs -nw -q
>
> Now, editing emails in text-mode instead of fundamental mode would be much
> cooler!
> How can I make emacs got to text-mode when invoked from mutt?
>

I haven't used mutt in a while, but I still have this in my .emacs:

(add-to-list 'auto-mode-alist '("/mutt" . mail-mode))

I believe that that will put all buffers visiting mutt files into
mail-mode automatically. You could switch that to text-mode, but you
might find that mail-mode covers what you want already.

Cheers,

Tyler

-- 
Friends don't let friends send Word documents

http://www.nothingisreal.com/dfki/no-word





  reply	other threads:[~2009-02-19 21:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-19 20:45 Auto enable text-mode when editing email (from mutt) TheLonelyStar
2009-02-19 21:14 ` tyler [this message]
2009-02-19 21:35 ` Teemu Likonen
     [not found] <mailman.1214.1235076354.31690.help-gnu-emacs@gnu.org>
2009-02-21  9:42 ` Uwe Scholz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8763j6gme7.fsf@blackbart.sedgenet \
    --to=tyler.smith@mail.mcgill.ca \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.