[comp.mail.mh] Including ~/.signature file automatically?

eric@CS2.WSU.EDU (02/04/89)

Is there a way to have messages included your .signature file automatically?
I was thinking of adding a 'sign' command to whatnow which would append
your ~/.signature file to the draft message.  Does this sound like a reasonable
approach.  Also, what is the easiest way to include text from a message in
a reply?  I often user the MH-e emacs interface, and this make it quite nice,
but I was wondering how other people approach this, since I see many different
styles.

				Thanks for any help you might have

*----------------------------------------------------------------------*
| Eric Schneider, System Manager  eric@wsu.edu or cs2.wsu.edu          |
| Washington State University     "If it can't be done in COBOL, I     |
| Computer Science Department     just tell them it can't be done.     |
| Pullman, WA 99164-1210          It saves a lot of time." -- unknown  |
*----------------------------------------------------------------------*

wisner@cheops.cis.ohio-state.edu (Bill Wisner) (02/04/89)

(1) Just include the signature you use in your components file.
(2) From mh-e, I believe C-c C-y will yank the message being replied
    to into the current buffer, with ">> " prepended to each line.

gregg@ihlpb.ATT.COM (Wonderly) (02/06/89)

From article <8902032002.AA19464@cs2.wsu.edu>, by eric@CS2.WSU.EDU:
> Is there a way to have messages included your .signature file
> automatically?  I was thinking of adding a 'sign' command to whatnow
> which would append your ~/.signature file to the draft message.  Does
> this sound like a reasonable approach.  Also, what is the easiest way to
> include text from a message in a reply?  I often user the MH-e emacs
> interface, and this make it quite nice, but I was wondering how other
> people approach this, since I see many different styles.

I use the following for my components file

To:
cc:
Subject:
--------



-----
Gregg Wonderly                             DOMAIN: gregg@ihlpb.att.com
AT&T Bell Laboratories                     UUCP:   att!ihlpb!gregg

I use the following for my reply filter

:
body:component="> ",overflowoffset=1,compwidth=0,overflowtext="",width=80
:
:-----
:Gregg Wonderly                             DOMAIN: gregg@ihlpb.att.com
:AT&T Bell Laboratories                     UUCP:   att!ihlpb!gregg

Which does the right thing for me.

-- 
Gregg Wonderly                             DOMAIN: gregg@ihlpb.att.com
AT&T Bell Laboratories                     UUCP:   att!ihlpb!gregg

khera@juliet.cs.duke.edu (Vick Khera) (02/07/89)

In article <8902032002.AA19464@cs2.wsu.edu> eric@CS2.WSU.EDU writes:
>Is there a way to have messages included your .signature file automatically?
> ...
>				Thanks for any help you might have
>
>*----------------------------------------------------------------------*
>| Eric Schneider, System Manager  eric@wsu.edu or cs2.wsu.edu          |
>| Washington State University     "If it can't be done in COBOL, I     |
>| Computer Science Department     just tell them it can't be done.     |
>| Pullman, WA 99164-1210          It saves a lot of time." -- unknown  |
>*----------------------------------------------------------------------*

The simplest way i can think of is to have a personalized components file
in your personal mh mail directory, most likely Mail, with the necessary
information in it.  comp will look in your mail directory for a file named
"components" before it looks in it's own library directory.  this is also
true for replcomps, forwcomps, etc.  for example, the components file in my
personal mail directory is as follows: (sans the ">" at the start of each
line for postnews.)

----<cut here>----
>To:
>cc:
>Fcc:
>Subject:
>--------
>
>								v.
>
----<cut here>----

If you only want to include the information on certain messages, name the
file something else and use the -form formfile switch to comp when you want
to include it.

As for including text from another message in my replies, i just use emacs'
include file command and edit from there, though there are ways to have
replcomps include the message being replied to.  Hope this helps.

								v.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
ARPA:	khera@cs.duke.edu		Department of Computer Science
CSNET:	khera@duke        		Duke University
UUCP:	decvax!duke!khera		Durham, NC 27706