🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #1014

Re: mail mode

#1014
From: Mark D. Baushke
Date: Wed, 28 Sep 1988 16:21
44 lines
2237 bytes
>  From: kgk@cs.brown.edu
>  Date: Wed, 28 Sep 88 09:27:14 EDT
>  To: bug-gnu-emacs@prep.ai.mit.edu
>  
>  I think mail-mode should be autoloadable.  It's something people use
>  all the time, and it's not defined in ``mail-mode.el''.

I think most people use mail instead of mail-mode (mail uses mail-mode
on a new buffer and then adds text to the buffer). The 'mail symbol is
already defined in an (autoload 'mail "sendmail "..." t) in loaddefs.el.

However, if your site feels that mail-mode should be autoloadable,
feel free to put the following into site-init.el at your site.
(Of course, you should then re-build emacs.)

(autoload 'mail-mode "sendmail"
  "\
Major mode for editing mail to be sent.
Like Text Mode but with these additional commands:
C-c C-s  mail-send (send the message)    C-c C-c  mail-send-and-exit
C-c C-f  move to a header field (and create it if there isn't):
	 C-c C-f C-t  move to To:	C-c C-f C-s  move to Subj:
	 C-c C-f C-b  move to BCC:	C-c C-f C-c  move to CC:
C-c C-w  mail-signature (insert ~/.signature at end).
C-c C-y  mail-yank-original (insert current message, in Rmail).
C-c C-q  mail-fill-yanked-message (fill what was yanked)."
  t)


If you want to go a step further, you could place the following into
your site-load.el file instead. After doing so, your re-built and
dumped emacs will have mail already loaded when you start it.

(load "sendmail")
(garbage-collect)


Enjoy!

------------------------------------------------------------------------------
Mark D. Baushke                 Internet:    mdb%silvlis.com@sun.com
Silvar-Lisco, Inc.              Nameservers: mdb@silvlis.com
1080 Marsh Road                 Usenet:      {pyramid,sun}!silvlis!mdb
Menlo Park, CA 94025-1053       Telephone:   +1 415 853-6411 / +1 415 969-8328
Technical Details
Message-ID: <8809281621.AA05825@amadeus.silvlis.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!silvlis.com!mdb
References: <8809281327.AA10504@bimini.cs.brown.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!silvlis.com!mdb
From: mdb@silvlis.com (Mark D. Baushke)
Newsgroups: gnu.emacs.bug
Subject: Re: mail mode
Message-ID: <8809281621.AA05825@amadeus.silvlis.com>
Date: 28 Sep 88 16:21:01 GMT
References: <8809281327.AA10504@bimini.cs.brown.edu>
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 44