Christian Ebert | 1 Jul 01:08 2006
X-Face
Picon
Picon

Re: Generic fcc-save-hook

* Aaron Griffin on Friday, June 30, 2006 at 11:07:03 -0500:
> I wanted to know if there was an easy way to create a hook that saves
> sent mail in the current mailbox, if it is a reply, otherwise stick it
> in the normal record mailbox.

Untested, and it's late but try:

set record="+normal_record"
reply-hook ~A "set record='^'"

c
--

-- 
_B A U S T E L L E N_ lesen!  --->> <http://www.blacktrash.org/baustellen.html>

Miek Gieben | 1 Jul 02:00 2006
Picon

Re: notification program

[On 30 Jun,  <at> 17:55, Michael Tatge wrote in "Re: notification program ..."]
> > Right now, I'm also using an imap account which of course 
> > doesn't work with this solution.
> 
> why don't you use a notifier that supports imap?
> 
> > Is there a possibility of calling an external script when
> > mutt sees a new mail coming in?
> 
> not without a patch.

I was just wondering if it could be done within mutt, 

Sadly not :-(

--
grtz,
  - Miek

  http://www.miek.nl              
  PGP: 6A3C F450 6D4E 7C6B C23C  F982 258B 85CF 3880 D0F6
Christian Ebert | 1 Jul 09:54 2006
X-Face
Picon
Picon

Re: Generic fcc-save-hook

* Christian Ebert on Saturday, July 01, 2006 at 01:08:14 +0200:
> * Aaron Griffin on Friday, June 30, 2006 at 11:07:03 -0500:
>> I wanted to know if there was an easy way to create a hook that saves
>> sent mail in the current mailbox, if it is a reply, otherwise stick it
>> in the normal record mailbox.
> 
> Untested, and it's late but try:

Well, it definitely /was/ late.

> set record="+normal_record"
> reply-hook ~A "set record='^'"

This doesn't switch back to normal_record. Hm.

But how about addding a macro overriding the default binding `m':

set record="+normal_record"
reply-hook ~A "set record='^'"
macro index,pager m "\
<enter-command>set record='+normal_record'<enter><mail>" \
"compose a new mail message"

c
--

-- 
_B A U S T E L L E N_ lesen!  --->> <http://www.blacktrash.org/baustellen.html>

Luis A. Florit | 1 Jul 14:56 2006

Re: Display Filters

* El 29/06/06 a las 11:53, Chris Willard chamullaba:

> Hi All,
> 
> I have just started to play with the display filter settings in Mutt
> after finding a utility called t-prot that can remove clutter from the
> display.
> 
> I was wondering what other display filters are being used as this seems
> like a good idea?

I use the mail-to-filter also to strip the long "To:" and "Cc:"
lines, and then I pipe the result to my own perl script that
strips all kinds of adds, like Yahoo puts in the groups mails,
lists data ("unsubscribe..." etc).
It also strips multiple space lines, etc.
It's attached, and can give you something to begin with.

If someone has some criticism, or clues to improve speed
or something, it will be wellcome.

L.
Attachment (mutt-display.pl): application/x-perl, 6379 bytes
Alain Bench | 1 Jul 17:47 2006
Picon

Demoroniser (was: Display Filters)

Hi Gary,

 On Thursday, June 29, 2006 at 18:58:50 -0700, Gary Johnson wrote:

>>> converts certain Microsoft characters to their ASCII equivalents.
> that [Demoroniser] script is widely used and has documentation, I'd
> recommend using it

    Sorry: Me not. I downloaded Demoroniser and evaluated its special
characters conversion feature in the context of Mutt $display_filter. It
has other features, and can be used for HTML outside of Mutt. But in the
precise evaluated conditions, Demoroniser seems very bad to me:

 · In many cases it doesn't provide the expected benefit. You just get 1
to 3 question marks for those special chars, as usual.

 · It doesn't apply to index, nor to replies you compose.

 · In some cases it acts, and provides the wanted Ascii approximations
for \200-\237. That's mostly cases where something is broken: Mutt
setup, iconv, locale, or the mail itself. Properly fixing the brokenness
from the beginning would give better results.

 · The said Ascii approximations are sometimes not really nice. The
U+20AC '€' Euro symbol shouts an error. Spurious HTML tags do appear
(like "<em>f</em>" for the U+0192 'ƒ' hooked letter f). The U+2030 '‰'
per mille sign hurts in some locales...

 · Demoroniser breaks badly in many locales having a charset different
from Latin-1 (and similar scheme). Especially it garbles display of some
(Continue reading)

Andre Majorel | 1 Jul 19:06 2006
Picon

Re: Mangling subject lines in index

On 2006-06-30 13:42 +0200, Andre Majorel wrote:

> Here's what I did. In PCRE terms, the result of the %s
> conversion in $index_format is now s/.*\[.*?]\s*// (i.e.
> everything to the closing "]" is ommitted, including any
> trailing whitespace).

This version of the patch should be a little less broken.

-- 
André Majorel <URL:http://www.teaser.fr/~amajorel/>
Do not use this account for regular correspondence.
See the URL above for contact information.
diff -U5 -r mutt-1.5.11/hdrline.c mutt-1.5.11-nomltag/hdrline.c
--- mutt-1.5.11/hdrline.c	2005-02-12 19:53:35.000000000 +0100
+++ mutt-1.5.11-nomltag/hdrline.c	2006-07-01 09:06:40.000000000 +0200
 <at>  <at>  -540,24 +540,52  <at>  <at> 
 	  optional = 0;
       }
       break;

     case 's':
+      { 
+	const char *s = hdr->env->subject;		/* AYM 2006-06-30 */
+	if (s != NULL)
+	{
+	  const char *s0 = s;
+	  while (*s != '\0' && *s != '[')
(Continue reading)

Troy Piggins | 2 Jul 08:25 2006

Re: Display Filters

* Gary Johnson <garyjohn <at> spk.agilent.com> :
> On 2006-06-30, Dave Chandraratnam <davec <at> med.usyd.edu.au> wrote:
> > Gary,
> > 
> > On Thu, Jun 29, 2006 at 10:41:53AM -0700, Gary Johnson wrote:
> > > 
[snip]
> > 
> > Would it be possible that you could send on the scripts that you have?
> > The "Demoronizer" and "Exchange" ones in particular.
> 
> The mail-to-filter is here:
> 
>     http://www.spocom.com/users/gjohnson/mutt/#tocc

Gary - couple of questions/comments for you...

Your mail-to-filter has #!/usr/local/bin/perl in first line, but
many/most distros would be /usr/bin/perl?  It failed for me til I
realised what was going on and changed that path.

It works great, though!

Now, my question.  It works fine with display_filter set to
mail-to-filter.  However I have my own display filter bash script
that I was using before I saw yours.  It's a sed -e type one:

#v+
#!/bin/bash
# http://aperiodic.net/phil/configs/bin/mutt-display-filter
(Continue reading)

Troy Piggins | 2 Jul 08:30 2006

Re: Display Filters

* Troy Piggins <troy <at> piggo.com> :
> * Gary Johnson <garyjohn <at> spk.agilent.com> :
> > On 2006-06-30, Dave Chandraratnam <davec <at> med.usyd.edu.au> wrote:
> > > Gary,
> > > 
> > > On Thu, Jun 29, 2006 at 10:41:53AM -0700, Gary Johnson wrote:
> > > > 
> [snip]
> > > 
> > > Would it be possible that you could send on the scripts that you have?
> > > The "Demoronizer" and "Exchange" ones in particular.
> > 
> > The mail-to-filter is here:
> > 
> >     http://www.spocom.com/users/gjohnson/mutt/#tocc
> 
> Gary - couple of questions/comments for you...
> 
> Your mail-to-filter has #!/usr/local/bin/perl in first line, but
> many/most distros would be /usr/bin/perl?  It failed for me til I
> realised what was going on and changed that path.
> 
> It works great, though!
> 
> Now, my question.  It works fine with display_filter set to
> mail-to-filter.  However I have my own display filter bash script
> that I was using before I saw yours.  It's a sed -e type one:
[snip]

> How can I incorporate both?  Pipe on to the other?
(Continue reading)

Mun Johl | 2 Jul 23:00 2006

Re: Demoroniser (was: Display Filters)

Hi Alain,

Please see my comments below.

On Sat, Jul 01, 2006 at 08:47 AM PDT, Alain Bench wrote:

... Text Deleted ...

AB>     Incomplete action and grave drawbacks. Conclusion: I recommend to
AB> avoid usage of Demoroniser as $display_filter in Mutt. Other better,
AB> cleaner, more elegant and universal solutions do exist against the base
AB> problem.

Care to elaborate on the other better, cleaner solutions?  I'm very
interesting on a good solution to this common issue.  Thanks.

--

-- 
Mun

Umut Tabak | 2 Jul 23:30 2006
Picon

Mutt Help for a newbie

Dear all,

I am trying to configure and use mutt by the help of a web link which I
found. The link is:

http://mutt.blackfish.org.uk/storage/

but with the instruction

echo $MAIL
I see a blank line.

I think I have to see 

Is something wrong here or is there sth I do not know. I have checked
the mutt manual but I think I need sth more like a tutorial advancing
step by step for a first time user like me.

So Can somebody help me to configure mutt.

Or you can give a step by step tutorial introduction link or briefly
explain the steps to perform.

Regards,

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm


Gmane