From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: wdn Newsgroups: gmane.emacs.help Subject: start emacs in mail mode? Date: Mon, 20 Feb 2006 16:02:35 -0800 (PST) Message-ID: <3041575.post@talk.nabble.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1140507250 19601 80.91.229.2 (21 Feb 2006 07:34:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Feb 2006 07:34:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 21 08:34:08 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FBS25-00082u-GN for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Feb 2006 08:34:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FBS24-00088k-Ls for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Feb 2006 02:34:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FBKzO-00006i-Vq for help-gnu-emacs@gnu.org; Mon, 20 Feb 2006 19:02:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FBKzK-0008Va-TI for Help-gnu-emacs@gnu.org; Mon, 20 Feb 2006 19:02:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FBKzI-0008Uh-8M for Help-gnu-emacs@gnu.org; Mon, 20 Feb 2006 19:02:41 -0500 Original-Received: from [72.21.53.35] (helo=talk.nabble.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FBL5Q-0007pe-Jm for Help-gnu-emacs@gnu.org; Mon, 20 Feb 2006 19:09:00 -0500 Original-Received: from localhost ([127.0.0.1] helo=talk.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1FBKzD-0003Wi-An for Help-gnu-emacs@gnu.org; Mon, 20 Feb 2006 16:02:35 -0800 Original-To: Help-gnu-emacs@gnu.org X-Nabble-Sender: neumann@math.columbia.edu X-Nabble-From: wdn X-Mailman-Approved-At: Tue, 21 Feb 2006 01:56:17 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:33323 Archived-At: I would like to open emacs in mail-mode on a preformated mail message, ready to edit as necessary and then send. (This is from a perl script that gathers the necessary data for the email and composes a draft of the email to potential authors of a journal I edit.) My only idea was to try "emacs -f mail-mode tempmail" It does not do it. It opens the file tempmail in one buffer and starts mail-mode in a separate background buffer. So I still have to do "M-x mail-mode" and then respond to a prompt whether I really want to send the current buffer when I try to send the email. Any help appreciated. --wdn -- View this message in context: http://www.nabble.com/start-emacs-in-mail-mode--t1158821.html#a3041575 Sent from the Emacs - Help forum at Nabble.com.