Re: Ident patch



On Wed, Oct 03, 2001 at 11:20:28AM +0100, Brian Stafford wrote:
> On Wed,  3 October 09:35 Jules Bean wrote:
> >  On Mon, Oct 01, 2001 at 04:28:55PM -0400, hitched97 wrote:
> >  > This seems to be a rather haphazard way of doing this.  What we need is
> >  > a way to keep the signature separate from the message body until the
> >  > message is sent - perhaps by having a separate text box in the compose
> >  > window, similar to the headers in the message view.  Any thoughts?
> >   Is it not sufficient to search for the last occurence of "-- \n"
> >  (hyphen hyphen space newline), and assume all text after that is a
> >  signature?
> >   That's the standard sig separator.
> 
> Standard is a bad word here - common or de-facto would be better.

Yes, good point.

> The real problem though is that this sequence can appear elsewhere in messages
> as well as seperating the final signature.  We cannot rely on the following
> text actually being a signature, at least not in a robust application.

Well, not rely on it, no.  But you have to admit that "\n-- \n" (which
is what I meant, of course) is a pretty unusual sequence to have in a
message.  And recall that we're talking about the compose window, so
it's only things that the user types (much less of a problem than if
it could be triggered by incoming mail).

I think it would be good as an option, anyhow.  There could be some
visual feedback: the text that the compose window 'thinks' is the
signature could appear red, and then the user would understand that it 
was going to be replaced with the other identity's signature if he
changes identity.

Jules




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]