Re: Mutt freezes if network lost and regained

2009-11-15 Thread Joost Kremers
On Sat, Nov 14, 2009 at 11:34:34PM +0100, Jeffrey Ratcliffe wrote:
 On Thu, Nov 12, 2009 at 01:27:13PM +0100, Joost Kremers wrote:
  Better, I guess not, but a bit more convenient would be to run mutt in a 
  screen
  session, then you can kill mutt by just pressing `C-a k'.
 
 This is bit off-topic, but are there any other
 advantages/disadvantages with using screen, with mutt or otherwise?

I don't see any disadvantages, really. I run a screen session (on my own
computer) with three mutt instances, one to access my local mail boxes, and two
for two different IMAP servers on which I have email accounts. The relevant
section of my .screenrc looks like this:

=

screen -t Local mail mutt -F .muttrc-local
screen -t Fastmail mutt -F .muttrc-fm
screen -t Uni Frankfurt mutt -F .muttrc-jwg
screen -t slrn slrn -n

select 1

=

As you can see, I also run slrn in a separate window.

The three .muttrc-* files contain just the settings that differ for each account
and then read .muttrc-gen, which contains general settings.


-- 
Joost Kremers
Life has its moments


Re: intermittant hesitation after key strokes

2009-11-15 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Saturday, November 14 at 11:08 AM, quoth Robert Holtzman:
 When installed in debian lenny on my desktop box and on ubuntu hardy 
 on my laptop it's fine. Hiting c shows the default mailbox to open 
 as the next one with new mail. Better than alpine. Installed on 
 ubuntu hardy, also on my desktop box, hitting c causes it to ask 
 what mailbox to open and I have to bring up the list and scroll down 
 to the one I want. Why the difference between ubuntu on the two 
 different computers is driving me nuts.

Okay, let's look at this more specifically, on two machines, 
change-folder suggests the next mailbox with new mail. On one, it 
doesn't.

If you're always viewing locally stored messages (e.g. stored in your 
home directories), and if your messages are stored in mbox format, 
then it's possible that the difference is that your ubuntu desktop 
mounts its drives with the noatime option, which messes up mutt's 
detection of new mail. Thus, it doesn't suggest a mailbox for the 
simple reason that it doesn't think any of them contain new mail.

If you're always viewing *remote* email (e.g. accessing your mail via 
IMAP), then it's harder to guess why mailboxes with new mail aren't 
being suggested.

In either case, you don't *have* to use the big list to find your 
mailboxes. Mutt's change-folder prompt can work like the shell: you 
can use tab completion to make it faster. For example, I keep my mutt  
mailing list mail organized into INBOX/Subscribed/Mutt. I have $folder 
set to INBOX. Thus, whenever I want to read the mutt mailing list 
email, I simply press c=STABMTABENTER (where the things in 
brackets are key-presses).

~Kyle
- -- 
Imagine what it would be like if TV actually were good. It would be 
the end of everything we know.
   -- Marvin Minsky
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iQIcBAEBCAAGBQJLAC5oAAoJECuveozR/AWe6n4P/j9a0+NgrxNzeA9nmNn2xzbE
/yA+FpqskUa587S4vKSGu3pTL9voijhepzV7eNJlUfWfqfz52OGsLbUZS2XMoOTH
NJ8CaLvxFupOjOUal4Ztn+7KidgVkq4M89wJDmkvdzvnwQbbKdM7Tu+/mgo9LDo3
qcSwrrlId3JiViR4LoMy0ersiPOHx7mYzBqiBUJn3kyVzN5aNE+Yo4GP4oLHB9aN
mZ9SbsRwbwWqdqdqALr8DDYpuUgHlpM8u23hB6lyWPhcrQms+jJVhstcZpgE+prd
OuRJ/IsM5ePVyb1SwpphLrbgGiOOlWvMwkxiWvxGw5aAM7idXoB1gMupXCw/GTSV
r9DDdOMA8qXay18S9G7WiNYq2lLFpRwy5cCEwtsHT3CzMMkvEEf9vXmXoJ/Bk4eL
8gBjolNCoHEP4J2lxdoQF+spww8RQeXCSdgHJmpl26Y9teRc/kX23nnMtxkIx5p9
OfsZIlqgQcmXTECSE3j7U4K6k/jMNyc9piq9mFFjRb/NsXfV3QgNaSwVBWgw+6/7
q0pQ1B7fdy9Zi2p4rw06U0HRpzZeWsDBpyWFz9qrvA3ECF3MBiAr6UhgyrbzAvzp
5GGrKpTMuo7Ucxe/sA9qLLir62ToMwODXxOByRX6oI+9idVtbmqvZUzI8sYnt2ki
wSkIPxlPUiFst62JcCXF
=rOhH
-END PGP SIGNATURE-


Re: intermittant hesitation after key strokes

2009-11-15 Thread Robert Holtzman
On Sun, Nov 15, 2009 at 10:38:01AM -0600, Kyle Wheeler wrote:
 On Saturday, November 14 at 11:08 AM, quoth Robert Holtzman:
  When installed in debian lenny on my desktop box and on ubuntu hardy 
  on my laptop it's fine. Hiting c shows the default mailbox to open 
  as the next one with new mail. Better than alpine. Installed on 
  ubuntu hardy, also on my desktop box, hitting c causes it to ask 
  what mailbox to open and I have to bring up the list and scroll down 
  to the one I want. Why the difference between ubuntu on the two 
  different computers is driving me nuts.
 
 Okay, let's look at this more specifically, on two machines, 
 change-folder suggests the next mailbox with new mail. On one, it 
 doesn't.

Correct.

 
 If you're always viewing locally stored messages (e.g. stored in your 
 home directories), and if your messages are stored in mbox format, 
 then it's possible that the difference is that your ubuntu desktop 
 mounts its drives with the noatime option, which messes up mutt's 
 detection of new mail. Thus, it doesn't suggest a mailbox for the 
 simple reason that it doesn't think any of them contain new mail.

According to fstab /home is mounted relatime, the same as the laptop
(which works). Debian doesn't say which means it's default which I
*assume* is relatime. 
From what I see on
http://blogs.koolwal.net/2009/01/30/installing-linux-on-usb-part-4-noatime-and-relatime-mount-options/
that should be fine. Now I'm snowed. Think I'll try mutt's dev list.

 
 If you're always viewing *remote* email (e.g. accessing your mail via 
 IMAP), then it's harder to guess why mailboxes with new mail aren't 
 being suggested.
 
 In either case, you don't *have* to use the big list to find your 
 mailboxes. Mutt's change-folder prompt can work like the shell: you 
 can use tab completion to make it faster. For example, I keep my mutt  
 mailing list mail organized into INBOX/Subscribed/Mutt. I have $folder 
 set to INBOX. Thus, whenever I want to read the mutt mailing list 
 email, I simply press c=STABMTABENTER (where the things in 
 brackets are key-presses).

Unless I'm missing something, that looks like more key strokes than I have now.

Thanks for the reply.

-- 
Bob Holtzman
Key ID: 8D549279
If you think you're getting free lunch,
 check the price of the beer


signature.asc
Description: Digital signature


Re: Names in sent folder

2009-11-15 Thread Alex Huth
* Patrick Shanahan schrieb:
 * Alex Huth a.h...@tmr.net [11-13-09 12:29]:
 
 read the manual on folder_hooks  :^)
 
I am using already folder_hooks and have a hook for the sent folder, but it
seems to be ignored.