Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Configurable SIG_PATTERN?
@ 2009-03-24 22:21 Mark Alexander
  2009-03-24 23:36 ` John Bent
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Alexander @ 2009-03-24 22:21 UTC (permalink / raw)


Here's another little feature I'd like to see (and
maybe implement when I get the time):

I get a lot of automated messages from Bugzilla
at work, full of long lines of dashes separating
blocks of text.  Sup has been interpreting
these blocks as signatures when they're within
15 (MAX_SIG_DISTANCE) lines from the end of the
message.  So I hacked the SIG_PATTERN so that
only the first regexp is used.  This is probably
wrong for many users, though.

I was thinking it might be nice to have
both SIG_PATTERN and MAX_SIG_DISTANCE settable
in config.yaml.  Does this make sense?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [sup-talk] Configurable SIG_PATTERN?
  2009-03-24 22:21 [sup-talk] Configurable SIG_PATTERN? Mark Alexander
@ 2009-03-24 23:36 ` John Bent
  0 siblings, 0 replies; 2+ messages in thread
From: John Bent @ 2009-03-24 23:36 UTC (permalink / raw)


Excerpts from Mark Alexander's message of Tue Mar 24 16:21:10 -0600 2009:
> Here's another little feature I'd like to see (and
> maybe implement when I get the time):
> 
> I get a lot of automated messages from Bugzilla
> at work, full of long lines of dashes separating
> blocks of text.  Sup has been interpreting
> these blocks as signatures when they're within
> 15 (MAX_SIG_DISTANCE) lines from the end of the
> message.  So I hacked the SIG_PATTERN so that
> only the first regexp is used.  This is probably
> wrong for many users, though.
> 
> I was thinking it might be nice to have
> both SIG_PATTERN and MAX_SIG_DISTANCE settable
> in config.yaml.  Does this make sense?
>
Makes sense to me.  Sounds like even better would be if it was
configurable on a per-label or mailing list basis.

John


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-24 23:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-24 22:21 [sup-talk] Configurable SIG_PATTERN? Mark Alexander
2009-03-24 23:36 ` John Bent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox