all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Uwe Scholz <nurfuernews@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Auto enable text-mode when editing email (from mutt)
Date: 21 Feb 2009 09:42:27 GMT	[thread overview]
Message-ID: <gnoia3$p4a$1@news1.uni-leipzig.de> (raw)
In-Reply-To: mailman.1214.1235076354.31690.help-gnu-emacs@gnu.org

On Thu, 19 Feb 2009 12:45:47 -0800, TheLonelyStar wrote:

> Hi,
> 
> 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?
> 
> Thanks!
> Nathan

Hello,

I prefer 'post-mode' for editing outgoing mail with emacs started from 
mutt. You can get it from here: http://sourceforge.net/projects/post-mode/

To use it, you have to put the el-file in a folder you want, lets say 
".emacs.stuff" and insert the following lines to your .emacs file:

(setq load-path (cons "~/.emacs.stuff" load-path))
(load "post")

This starts the post-mode every time, you start emacs. For running emacs 
using mutt I wrote an extra config-file with the postmode-entry and 
insert the line

set editor='emacs -nw -l ~/.emacs.mail'

in .muttrc.

Ciao, Uwe


       reply	other threads:[~2009-02-21  9:42 UTC|newest]

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

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='gnoia3$p4a$1@news1.uni-leipzig.de' \
    --to=nurfuernews@web.de \
    --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.