Re: sort threads

2002-07-03 Thread Nicolas Rachinsky

* Deb <[EMAIL PROTECTED]> [2002-07-03 22:37 -0700]:
> * Oliver Fuchs <[EMAIL PROTECTED]> [2002-07-04 06:15:38 +0200]:
> 
> > set sort=subject
> > set sort=threads# sorting the mails in threads
> > set sort_aux=date   # sorting the threads
> > 
> > ... that works for me
> 
> Nope, didn't work.  Must be something else.  

Do you have any hooks which change $sort?

What's the output of ":set ?sort\n"?

Nicolas



Re: sort threads

2002-07-03 Thread Deb

* Oliver Fuchs <[EMAIL PROTECTED]> [2002-07-04 06:15:38 +0200]:

> set sort=subject
> set sort=threads  # sorting the mails in threads
> set sort_aux=date # sorting the threads
> 
> ... that works for me

Nope, didn't work.  Must be something else.  

Thanks anyway,

deb


-- 
"If it dies, it's biology.  If it blows up, it's chemistry,
and if it doesn't work, it's physics."
-- University bathroom graffito
ô¿ô
 ~ 



Re: sort threads

2002-07-03 Thread Oliver Fuchs

On Wed, 03 Jul 2002, Deb wrote:

> But when I use mutt to read email, messages are not sorted by threads by
> default. I have to go to options (o) and then sort by threads (t), which
> then gives me the display that I want.

Hi,
try 

set sort=subject
set sort=threads# sorting the mails in threads
set sort_aux=date   # sorting the threads

... that works for me

Oliver
-- 
... don't touch the bang-bang fruit



Re: Passing muttrc format strings to bash

2002-07-03 Thread David Ellement

On 020630, at 12:03:38, Rob 'Feztaa' Park wrote
> Alas! Lee J. Moore spake thus:
> > Is this possible or impossible?  ...
> > If, in my
> > index_format, I have this:
> > 
> > `~/bin/maildir-count ~/Maildir/%f`
> > 
> > ...it's actually, ~/Maildir/%f and *not* ~/Maildir/submaildir
> > that's being passed to the bash script.
> 
> Well, yeah. The backticks are being evaluated when mutt starts, not when
> viewing a folder. So of course, %f cannot be expanded because mutt can't
> possibly know what it is.

It is possible to delay evaluation of the backticks, using single
quotes instead of double quotes.  (I don't know, and have tried, if
this will help in this case).

-- 
David Ellement



sort threads

2002-07-03 Thread Deb


I've been using mutt for about a week.  In my .muttrc are these settings:

set sort=threads
set sort_aux=date-received 

But when I use mutt to read email, messages are not sorted by threads by
default. I have to go to options (o) and then sort by threads (t), which
then gives me the display that I want.

How can I do this by default when I first start mutt?  I must be missing
something obvious...

TIA,

deb


-- 
"If it dies, it's biology.  If it blows up, it's chemistry,
and if it doesn't work, it's physics."
-- University bathroom graffito
ô¿ô
 ~ 



Re: Default attachments-directory

2002-07-03 Thread Cedric Duval

Thomas Kalve Pedersen wrote:
> When i receive an attachment in my mailbox, and saves it, it is saved to
> ~~/. The thing that bothers my sorry little brain, is if it's
> possible to change the default directory mutt saves attachments to.

Try something like this:

  macro attach s "/path/"

-- 
Cedric



Default attachments-directory

2002-07-03 Thread Thomas Kalve Pedersen

Hi there!

When i receive an attachment in my mailbox, and saves it, it is saved to
~~/. The thing that bothers my sorry little brain, is if it's
possible to change the default directory mutt saves attachments to.

If there is such a possibility, I would be more than happy to know how
to use it. :]

In advance; Thanks!

-- 
Thomas Kalve Pedersen - Parttime supernerd.
[EMAIL PROTECTED] and http://rosaplysj.net/




Re: BUG/RFI: scope of 'send-hook' too large ...

2002-07-03 Thread Vineet Kumar

* Malcolm Herbert ([EMAIL PROTECTED]) [020702 03:11]:
> Not sure if my list subscription has gone through yet (I haven't seen
> any confirmation so it might not have) but you might want to know about
> this anyway ...
> 
> Is there any way to limit the scope of the changes made with the -hook
> commands? For instance, I have several mailing lists for which I use a
> different address to post from, so I use something like
> 
> send-hook blah 'my_hdr From: Malcolm Herbert <[EMAIL PROTECTED]>'
> 
> to set my From: header appropriately. Unfortunately if I send to these
> lists my From: header remains changed, for the life of the session.

Right. Others have already pointed out the correct way of doing things
(using a "default" hook). I think it's worth pointing out that the hooks
do not introduce any sort of temporary environment -- that is, whatever
command they execute, it's exactly the same as if you had just executed
that same command manually. They just do it automatically when they
match a certain pattern. They never remember an old setting and set it
back when they're "finished" -- they have no concept of that. They only
are matched at certain times: folder-hook when you enter a folder,
send-hook after getting a recipient list, message-hook before formatting
a message, etc. There are no hooks for leaving a folder, leaving the
compose menu, or leaving the pager. You just use the default hook to set
a sane value next time you "enter" one of those areas.

> 
> Is there any way to limit the scope of the send-hook change to just
> the message being composed, then either reverse the change, or have it
> revert automatically?

In the time between when this message is sent and the next message is
started, it doesn't matter what the From: header says. So setting the
default hook is fine: next time the send-hook is applied, it'll be set
back. It can be seen as "lazy", but it works.

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
"Computer Science is no more about computers
than astronomy is about telescopes." -E.W. Dijkstra



msg29359/pgp0.pgp
Description: PGP signature


Re: Mailboxstatus and changing box

2002-07-03 Thread Jussi Ekholm

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,

Hello! You should *really* trim your line lenghts to 70-74 characters.
They are far too long now.

> The mailboxes are specified in the .muttrc file but I havenät fully
> understood if I can :
> 
> * Step between my mailboxes specified int the .muttrc file without
> opening the filebrowser? Is their any commando like next-mailbox?

As you've probably noticed, that when you press 'c', Mutt doesn't jump
to browser view instantly. Instead, it prompts you for a folder. So, you
can always press 'c' and then write to the prompt '=somembox'. This way
you don't have to enter the browser view at all.

> * In the statusbar see a total of new messages in all mailboxes? See
> which mailboxes that have new messages?

This has been asked quite a many times; mutt-users archive would've
given you the answer: no. It would require Mutt parsing all of your
mailboxes everytime and that would be heavy as hell. Think of a
mailboxes with thousands of mails... 

- -- 
Jussi Ekholm  --  [EMAIL PROTECTED]  --  http://erppimaa.ihku.org/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9IqqZAtEARxQQCB4RAhOoAJ99iWpwd0pSKkuQVK0/wlz0YvwHbgCffTNC
y23lTuXJzDLhgZDtaJWUi+8=
=Kmuc
-END PGP SIGNATURE-



Re: BUG/RFI: scope of 'send-hook' too large ...

2002-07-03 Thread Jussi Ekholm

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Malcolm Herbert <[EMAIL PROTECTED]> wrote:
> send-hook blah 'my_hdr From: Malcolm Herbert <[EMAIL PROTECTED]>'
> 
> to set my From: header appropriately. Unfortunately if I send to these
> lists my From: header remains changed, for the life of the session.

I learned this lesson only recently; you have to specify global
send-hook, as well. Something like this:

send-hook . 'my_hdr From: 1st address <1st@address>'
send-hook blah 'my_hdr From: Malcolm Herbert <[EMAIL PROTECTED]>

Works here, at least.

- -- 
Jussi Ekholm  --  [EMAIL PROTECTED]  --  http://erppimaa.ihku.org/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9IqkuAtEARxQQCB4RAibOAJ43AyFJrNxbyovO8MePMoO9lZoY3ACfaPEt
QerlD3q3l1oR7LzlaGLsZtc=
=Nubz
-END PGP SIGNATURE-