<<< Date Index >>>     <<< Thread Index >>>

Re: Request for NEW functionality in signature



On 2006-10-11, Michelle Konzack <linux4michelle@xxxxxxxxxx> wrote:
> Hello,
> 
> for attaching a signature to messages we have
> 
>     set signature=<path>/some_sig
>     set sig_on_top=<yes|no>
> 
> The problem is, that I (and many others) have the need for a "signature"
> on TOP and on BOTTOM where the message should apear in the middle.
> 
> So my question is:  Is it possible to add this feature?

[example deleted]

> So the replied message with its attribution line
> will replace the <MUTT_MESSAGE_TAG>
> 
> ...or using instead of
> 
>     set signature=<path>/some_sig
>     set sig_on_top=<yes|no>
> 
> two new signatures like
> 
>     set signature_top=<path>/some_sig_top
>     set signature_bottom=<path>/some_sig_bottom
> 

It appears to me that you're not really adding a signature-on-top 
but rather adding a greeting-on-top.

    <greeting text>

    <mutt message text>

    <signature text>

So an option like

    set greeting=<path>/some_greeting

along with

    set signature=<path>/some_sig
    set sig_on_top=no

might be easier to understand and be backwards-compatible with the
existing signature options.

> Currently I do it with an "external formater" in my $EDITOR where I
> must select the text and then activate the "formater" which wraps
> the selected text into the TOP and BOTTOM signatures but this kind
> of working is crap, specialy if it can be done more easier in mutt
> directly.

Is it really that difficult to add such a greeting in your editor?
You didn't say what editor you're using, but in vim, you could
easily write a function to add a greeting--and even the signature,
too--and bind that function to a function key or short key sequence.

Regards,
Gary

-- 
Gary Johnson                               | Agilent Technologies
garyjohn@xxxxxxxxxxxxxxx                   | Wireless Division
http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA