Re: Recommended mail filters for use with mutt?

2008-04-06 Thread Chris G
On Fri, Apr 04, 2008 at 11:43:17PM +0200, Alain Bench wrote:
>  On Friday, April 4, 2008 at 10:53:02 +0100, Chris Green wrote:
> 
> > [MDA] removes those annoying "[]" insertions in the subject
> > lines
> 
> Removing list tags cleans your index, and is good for you. However
> when you followup to such lists, you introduce a title variation, which
> might confuse the threading of some mailers. Good for you, potentially
> bad for your readers. It's maybe better to avoid detagging subjects for
> lists where you contribute.
> 
Very few lists that have the tags have a lot of readers who use
threaded newsreaders though.  One particularly annoying use is on my
local FreeCycle list where you never reply to the list anyway.  I do
take your point though, it *could* affect other people.

-- 
Chris Green


Re: Recommended mail filters for use with mutt?

2008-04-06 Thread Chris G
On Fri, Apr 04, 2008 at 11:36:51PM +0200, Alain Bench wrote:
> Hello Chris,
> 
>  On Wednesday, April 2, 2008 at 16:08:51 +0100, Chris Green wrote:
> 
> >| #!/usr/bin/perl
> >| use Mail::Audit qw/KillDups PGP/;
> 
> Are you sure it didn't munge the delivered mails? In the past
> Mail::Audit has been known to do odd modifications to passing mails,
> especially visible as some number of bad PGP signatures.
> 
I've never noticed it breaking anything but, as I said, I want to move
to Python anyway.
> 
> Bye!  Alain.
> -- 
> Perl?
> See the archives for more discussion on why this should,
> like hydrogen for dirigibles, be relegated to the past.
>   PCC DTG on MU. © August 2004.
> 
Quite!  :-)

-- 
Chris Green


Re: sidebar patch - performance

2008-04-06 Thread Raffi Khatchadourian

On Sun  6.Apr'08 at  0:08:36 +0200, Eric Smith wrote:

My pleasure in having the sidebar patch transform the mutt user
experience has just been destroyed by observing the poor performance of
for example scrolling up and down the index.

There seems to be some buffer overload with delayed response compared
to an unpatched mutt which is much more responsive.

Am I alone in experiencing this?

It also seems strange to me that the sidebar feature is not seen as a
high priority by the general mutt community.


I use the sidebar patch myself and the only performance problem I see
with my mutt is that loading mailboxes with quite a few messages takes
some time. I don't know, however, if this is related to the side bar
patch.


Re: sidebar patch - performance

2008-04-06 Thread Raffi Khatchadourian

On Sun  6.Apr'08 at 11:04:20 +0100, Raffi Khatchadourian wrote:

On Sun  6.Apr'08 at  0:08:36 +0200, Eric Smith wrote:

My pleasure in having the sidebar patch transform the mutt user
experience has just been destroyed by observing the poor performance
of for example scrolling up and down the index.

There seems to be some buffer overload with delayed response compared
to an unpatched mutt which is much more responsive.

Am I alone in experiencing this?

It also seems strange to me that the sidebar feature is not seen as a
high priority by the general mutt community.


I use the sidebar patch myself and the only performance problem I see
with my mutt is that loading mailboxes with quite a few messages takes
some time. I don't know, however, if this is related to the side bar
patch.


By the way, I think the side bar is an important feature and should be
seen as high priority as well.


Re: sidebar patch - performance

2008-04-06 Thread Eric Smith
>> I use the sidebar patch myself and the only performance problem I see
>> with my mutt is that loading mailboxes with quite a few messages takes
>> some time. I don't know, however, if this is related to the side bar
>> patch.

Same here.


Re: Recommended mail filters for use with mutt?

2008-04-06 Thread Dave Dodge
On Fri, Apr 04, 2008 at 11:43:17PM +0200, Alain Bench wrote:
>  On Friday, April 4, 2008 at 10:53:02 +0100, Chris Green wrote:
[...]
> Something like a $display_filter acting on index but not on replies
> would surely be good, but it doesn't exist yet.

Aside: back in 2006 I implemented something like this for 1.5.12 by
incorporating a Lua interpreter into mutt.  When displaying a subject
line, mutt would convert the message's ENVELOPE data into a Lua table,
call a Lua function "get_printable_subject", and then use whatever
string came back as the displayed subject line.  The actual message
file/data was never modified, so when replying it would still use the
original subject line.

> > [MDA] removes those annoying "[]" insertions in the subject
> > lines

Ironically my goal was to _add_ those [list] tags to the lists that
didn't already have them.  I normally use a single inbox for all mail
and I wanted my lists consistently marked.  The Lua code looked
something like this:

function is_to(envelope,addr)
return envelope.to ~= nil and envelope.to[1].mailbox == addr
end

function is_xubuntu_message(envelope)
return is_to(envelope,'[EMAIL PROTECTED]')
end

function get_printable_subject(envelope)
local subject = envelope.subject
if subject == nil then subject = '' end

if is_xubuntu_message(envelope) then
subject = '[xubuntu] ' .. subject
end

...many more cases...

return subject
end

It could certainly have done the opposite -- searching for and cutting
out the [list] tags instead.

I also had mutt call a "get_matchable_subject" Lua function when
matching a subject line.  My Lua code defined get_matchable_subject()
to be the same as get_printable_subject(), so searches and limit
operations were able to see the fake [list] tags as well.

Eventually I reinstalled the OS and started using the newer mutt
supplied by the distribution vendor (without my Lua hooks).  I've been
meaning to rebase the patches on a more recent mutt but just haven't
gotten around to it yet.

  -Dave Dodge


bug: sidebar shown while sidebar_visible=no

2008-04-06 Thread Jörg Sommer
Hi,

the Debian package mutt-patched includes the sidebar patch. But I don't
want it and set sidebar_visible=no in my muttrc. When I start mutt with a
e‐mail address to compose a mail. I see the sidebar in the send dialog.

% LANG=C HOME=/ mutt -e 'set sidebar_visible=no' [EMAIL PROTECTED]
…

y:Send  q:Abort  t:To  c:CC  s:Subj  a:Attach file  d:Descrip  ?:Help
From: Jörg Sommer <[EMAIL PROTECTED]>
  To: [EMAIL PROTECTED]
  Cc:
 Bcc:
 Subject: test
Reply-To:
 Fcc: /sent
 Mix: 
Security: Clear

-- Attachments
- I 1 /tmp/mutt-ibook-1000-29618-0   [text/plain, 7bit, us-ascii, 0.1K]
   ^
   ^

All fields (From, To, Cc, …) are shifted to the right.

Bye, Jörg.
-- 
Professor: ‚Gott‘, unverständliches und mythisches Wesen, das sich einmal
  pro Woche im Kreis der Sterblichen manifestiert um Weisheit auf Folien
  unter das Volk zu bringen.(Dschungelbuch 11, FSU Jena)