Switching between important and non-important mailboxes

2008-11-25 Thread Vladimir Marek
Hi, This is something I wanted to have for some time, ability to make mutt ignore certain mailboxes for some time, so that they don't bother me all day, but to be able to review them when convenient. Yesterday I bit the bullet and this is the result: In .muttrc, I replaced my 'mailboxes' line

Re: Bind ctrl+up in muttrc

2008-10-21 Thread Vladimir Marek
That's a key that is difficult to bind (the arrow keys usually are). Here's how I'd do it in your case: first, within mutt, type: :exec what-key Then press control-up, and see what happens. Thanks. Unfortunately my version of mutt is too old and doesn't have the what-key

Re: Bind ctrl+up in muttrc

2008-10-21 Thread Vladimir Marek
Hmmm, my week-or-so mutt does not have this either ... Yes it does, you're just looking for it in the wrong place. It's defined in the generic menu, which means it's available everywhere except in the pager and in the editor. See the manual for proof:

Re: New mail folder list

2008-09-15 Thread Vladimir Marek
I'm attaching another way to fix this. It makes mark_old option work also for IMAP. IMAP mark_old patch [...] Have you created a ticket for that patch at dev.mutt.org/trac? No. Brendan had his doubts about this being correct thing to do. I vaguely remember he wanted me to try

Re: New mail folder list

2008-09-13 Thread Vladimir Marek
Hi, I'm sorry I noticed this thread after you walked through the code ... Index: mutt-1.5.18/imap/command.c === --- mutt-1.5.18.orig/imap/command.c 2008-09-09 00:17:25.0 -0400 +++ mutt-1.5.18/imap/command.c

Re: showing new mail

2008-07-06 Thread Vladimir Marek
since I updated mutt on my debian-machine to version 1.5.18, it doesn't show if there has new mail arrived anymore. To describe it: usually I start mutt, hit 'c' and mutt shows me my subscribed mailboxes and marks the ones with new mails in it with a 'N' besides it. But now it doesn't

Re: change folder doesn't suggest folder with unread messages

2008-06-17 Thread Vladimir Marek
Hi, I'm using IMAP to access mailboxes. Have all of them subscribed, and it works great. In Mutt 1.5.13, when I pressed c to change folder, Mutt was automatically suggesting next folder with unread messages. [...] But when I press c - it doesn't suggest anything. Couple of minutes ago

Re: change folder doesn't suggest folder with unread messages

2008-06-17 Thread Vladimir Marek
If I am right about the cause, the attached patch makes mark_old option work also for IMAP. OK, checked - it didn't help :( Do you have 'set mark_old = no' in your .muttrc ? Apart from the mark_old thing, mutt's behaving well for me when using IMAP. If you switch to the folder which is not

Re: change folder doesn't suggest folder with unread messages

2008-06-17 Thread Vladimir Marek
Do you have 'set mark_old = no' in your .muttrc ? Apart from the no. i dont have any mark_old setting in my .,muttrc mark_old thing, mutt's behaving well for me when using IMAP. If you switch to the folder which is not offered by 'c', can you see messages flagged 'N'ew ? Is the folder

Re: change folder doesn't suggest folder with unread messages

2008-06-17 Thread Vladimir Marek
i have got some suspicion about imap server - it got upgraded too. can it be debugged anyway? i can do strace, tcpdump, anything that's neccessary, i just don't know where exactly to look. It can, if mutt is compiled with --enable-debug , see 'mutt -v | grep DEBUG'. +DEBUG means that it is

Re: change folder doesn't suggest folder with unread messages - solved

2008-06-17 Thread Vladimir Marek
for quite some time I've been using Mutt. Lately it was Mutt 1.5.13 on Debian etch. It worked great. Last week I upgraded my server to Ubuntu 8.04, and Mutt 1.5.17 and found out that one of the nicest features is gone. Partially. [...] It boiled down to old header cache. Shouldn't mutt

Re: attaching files from a list?

2008-05-25 Thread Vladimir Marek
Hi, Is there some way, from the compose view in mutt, to attach given files whose paths/filenames I have previously collected in a text file? Not exactly in compose view, but you may attach files directly when editing the message. Just set set edit_headers in your .muttrc, and then add files

Re: speed of cacheing depends on terminal?

2008-05-13 Thread Vladimir Marek
[...] That's why they recently added $time_inc (it's not in a released version of mutt yet; just in the current development tree). Here's the description from the development manual: Sweet. My INBOX opens nearly instantaneously now. And I thought that it's the hcache being slow. Thank you

Re: utf8 console font

2008-05-07 Thread Vladimir Marek
Just wondering which console font people are using in an utf8 locale. Terminus http://www.is-vn.bg/hamster/ Yeah, I have heard of it and am installing it now. Installed Uni3-TerminusBold16 and it seems to be displaying more foreign characters than chavo, although it does remind

Re: utf8 console font

2008-05-06 Thread Vladimir Marek
Just wondering which console font people are using in an utf8 locale. Terminus http://www.is-vn.bg/hamster/ -- Vlad pgpDa6DQRfNyM.pgp Description: PGP signature

Re: Can one automate selecting HTML version and viewing it?

2008-05-06 Thread Vladimir Marek
This is not answer to your question, but have you tried Twibright Links ? http://links.twibright.com/download.php I'm using 'links -dump %s' and I'm quite happy with it. -- Vlad pgpafbRiFOZIn.pgp Description: PGP signature

Re: Change unread mark without open the message

2008-04-29 Thread Vladimir Marek
From comments from Vladimir, is it a bug in mutt? This is a point where we disagree with Brendan. I think it is, he thinks it's IMAP implementation detail. And Brendan surely knows mutt guts better than me (ironically he was the one who gave me the patch :). You can find our discussion in the

Re: Change unread mark without open the message

2008-04-28 Thread Vladimir Marek
I don't know why your 'set mark_old=no' doesn't work. Do you possibly have a folder-hook somewhere that overrides it? mark_old also does not work for IMAP. I'm attaching patch fixing the annoyance. -- Vlad IMAP mark_old patch diff --git a/imap/command.c b/imap/command.c ---

Re: mutt-users@mutt.org

2008-04-24 Thread Vladimir Marek
I am trying to install mutt on sunos box but I get this error: checking whether iconv.h defines iconv_t... yes checking whether this iconv is good enough... no configure: error: Try using libiconv instead bash-2.05b$ config.log should have the details. Try looking for checking whether this

Re: mutt-users@mutt.org

2008-04-24 Thread Vladimir Marek
I am trying to install mutt on sunos box but I get this error: Seems like configure couldn't find the SO. configure:18489: checking whether this iconv is good enough configure:18527: gcc -o conftest -Wall -pedantic -g -O2 conftest.c -liconv 5 configure:18530: $? = 0 configure:18536:

Re: mutt-users@mutt.org

2008-04-24 Thread Vladimir Marek
bash-2.05b$ uname -a SunOS 11 5.8 Generic_117350-34 sun4u sparc SUNW,Netra-T12 Nice, telco machine (Netra). bash-2.05b$ cat /var/sadm/install/contents | grep libiconv.so bash-2.05b$ nothing But we hvae iconv dir under lib intact - /usr/bin/iconv f none 0555 root bin 11996 42547

Re: mutt in GNU Screen - new email indicator

2008-04-11 Thread Vladimir Marek
I am running mutt in GNU Screen. Is there any way to change the 'name' of the mutt screen in the screen statusbar when a new email arrives to indicate the total number of new emails? Wouldn't be enough to 'set beep_new' ? -- Vlad pgpAR2cuVbJ0z.pgp Description: PGP signature

Re: Recommended mail filters for use with mutt?

2008-04-04 Thread Vladimir Marek
# Catch lists on List-Post :0 * ^List-Post:.*mailto:\/[EMAIL PROTECTED] Lists/$MATCH/ # I wish that sieve would be as capable also :( e.g. something along the lines of: require variables; if header :matches List-Post *mailto:[EMAIL PROTECTED] {

Re: Recommended mail filters for use with mutt?

2008-04-03 Thread Vladimir Marek
# Catch lists on List-Post :0 * ^List-Post:.*mailto:\/[EMAIL PROTECTED] Lists/$MATCH/ # I wish that sieve would be as capable also :( Nice one -- Vlad pgpCIJ1WhKu1l.pgp Description: PGP signature

Re: Recommended mail filters for use with mutt?

2008-04-02 Thread Vladimir Marek
Have a look at maildrop, it's filter file is not _that_ simple, but I like it more than procmail. I think its getting the regexps right. Otherwise its quite easy: if (/^Sender: [EMAIL PROTECTED]/) { to $HOME/Mail/IN-mutt-users/ } How much easier than :0: * /^Sender: [EMAIL

Re: Header cache

2008-04-01 Thread Vladimir Marek
I'm having trouble with header cache on my box at work. I have the exact same config on my home box and it works fine. What happens is that mutt seems to consult the header cache but then discards it for some reason and then proceeds to download all the headers again. Home: Debian/i386

Re: How would you ...

2008-04-01 Thread Vladimir Marek
reply to a mail and attach several other mails to this reply, when the attached mails are from different mailboxes ? I can think of - saving the mails to files - add the saved mails as attachments - set the attachment type to message/rfc822 Would it work? Is there better way ? Sorry,

How would you ...

2008-04-01 Thread Vladimir Marek
reply to a mail and attach several other mails to this reply, when the attached mails are from different mailboxes ? I can think of - saving the mails to files - add the saved mails as attachments - set the attachment type to message/rfc822 Would it work? Is there better way ? Thank you --

Re: How to erase already defined mailboxes ?

2008-03-30 Thread Vladimir Marek
I'm having many mailboxes receiving mail. Many mailinglists, so I'm getting mail all the time. It can get quite disturbing. I was thinking that I would define list of core mailboxes and list of all mailboxes. At the morning I would switch on all mailboxes and read everything. Then I

How to erase already defined mailboxes ?

2008-03-28 Thread Vladimir Marek
Hi, I'm having many mailboxes receiving mail. Many mailinglists, so I'm getting mail all the time. It can get quite disturbing. I was thinking that I would define list of core mailboxes and list of all mailboxes. At the morning I would switch on all mailboxes and read everything. Then I would

Re: How to erase already defined mailboxes ?

2008-03-28 Thread Vladimir Marek
Search your local manual(.txt) for unmailboxes. Thank you -- Vlad pgpAg7kXXiuNb.pgp Description: PGP signature

Re: How to erase already defined mailboxes ?

2008-03-28 Thread Vladimir Marek
Use a macro around unmailboxes * That does the trick, thank you -- Vlad pgpfYXcfCW0M3.pgp Description: PGP signature

Re: How to erase already defined mailboxes ?

2008-03-28 Thread Vladimir Marek
[...] Yes. Create two textfiles that define your mailboxes, e.g. file 1 contains all important mailboxes and file 2 contains all mailboxes. So your file1 looks like this: [...] That's one possibility. I tend to write such things as comment's in muttrc and then parse the muttrc by perl script

Re: extract_url.pl: A Better URL Viewer

2008-03-27 Thread Vladimir Marek
Hi Kyle, After a bit of work, I've gotten a perl script that I think rivals URLView. I call it extract_url.pl, and it's here: http://www.memoryhole.net/~kyle/extract_url/ I wonder if it wouldn't help to add example output of your script to your page. Especially for people like me who does

Re: extract_url.pl: A Better URL Viewer

2008-03-27 Thread Vladimir Marek
After a bit of work, I've gotten a perl script that I think rivals URLView. I call it extract_url.pl, and it's here: http://www.memoryhole.net/~kyle/extract_url/ [...] Sample output? You mean, as in what it outputs when not using Curses::UI? Yes. But don't bother changing the page

Re: Store multiple attached files in the same path

2008-03-26 Thread Vladimir Marek
is there a convenient way to store multiple attachements into the same path? If I tag all of them and then use ;+s mutt asks me for the filename/path for each one, but I'd like to give just a path and mutt should use the filenames as are in the mail. Andreas If you tag multiple

Re: Move messages instead of Copy

2008-03-06 Thread Vladimir Marek
[...] Given all that, I think it's probably worthwhile to have a cron job delete all of your hcache files once in a while (monthly?), and delete them all every time you upgrade mutt, I'm following bleeding edge mutt from hg. I found usefull to put the cache to /tmp which is ramdisk cleanded

Re: folder tab-completion to offer only folders containing new mail ?

2008-02-28 Thread Vladimir Marek
Hi, Right, but then I have to type 'c' and press space several times to get to the folder I want (if it's not the first one). Since I typically have 10 or more folders containing new mail, it would be handy to use tab completion. But since there are folders with similar names which

Re: folder tab-completion to offer only folders containing new mail ?

2008-02-28 Thread Vladimir Marek
Hi Dilip, using 'set mailboxes' as a line in .muttrc gives me: Sorry, you should be using something like, mailboxes =mbox1 mailboxes =mbox2 Ah, right, I have those already. Many of them actually. What slows me down is that when I want to switch to mailbox containing new mail, I have to

Re: folder tab-completion to offer only folders containing new mail ?

2008-02-24 Thread Vladimir Marek
I would like to have some option which would let me tab-complete only from folders containing new mail. . (dot) will list mailboxe(s) with new mail. Right, but then I have to type 'c' and press space several times to get to the folder I want (if it's not the first one). Since I typically

folder tab-completion to offer only folders containing new mail ?

2008-02-22 Thread Vladimir Marek
Hi, would there be possibility to have some sort of folder name completion which would offer only folders with new mail? Let's say that after pressing '.' I can see: New mail in =INBOX, =vim-dev, =mercurial-devel I press 'c=mtab' ... nothing happens second 'tab' ... I can see 1 IMAP

Re: hooks from aliases

2008-02-20 Thread Vladimir Marek
For my personal needs I've written a script to generate hooks from aliases: Output: fcc-hook '~C [EMAIL PROTECTED] ~C [EMAIL PROTECTED]' +a1a2 save-hook '~L [EMAIL PROTECTED] ~L [EMAIL PROTECTED]' +a1a2 fcc-save-hook [EMAIL PROTECTED] +a1 fcc-save-hook [EMAIL PROTECTED] +a2 fcc-save-hook

Re: hooks from aliases

2008-02-20 Thread Vladimir Marek
Nice. What exactly are your settings doing? What my_list_folders does? Hello Vladimir, Usage: source alias-hooks.php $alias_file| folder-hook . 'special settings' folder-hook $my_list_folders 'other special settings' Ah, I overlooked that, I thought that it's some secret mutt

Re: stripping html tags from email

2008-02-18 Thread Vladimir Marek
Is there a way to trip html tags from an email when viewing or replying? Does this help you ? http://marc.info/?t=12023828163r=1w=2 -- Vlad pgpEKkjqaStDk.pgp Description: PGP signature

Re: message index: new mail, mutt doesn't open right folder

2008-02-18 Thread Vladimir Marek
mailboxes +foo +bar +stuff and mutt is open all the time. The last mailbox I visited is foo/. Now mail arrives for all three boxes. I'm in the message index and navigate to bar/, press Return to enter the mailbox. But instead of opening bar/, I'm ending up in foo/, i.e. the box which

Re: How to deal with new mail?

2008-02-16 Thread Vladimir Marek
Hi, I'm afraid that this is not possible with mutt, as it does not have virtual folders, at least not ones containing mails from several maildirs. So I'll have to learn the mutt way. Thanks for your suggestions! Or find another solution for your problem :) Try pressing '.' (dot) in

Re: How to deal with new mail?

2008-02-16 Thread Vladimir Marek
That is weird, I do not have explanation. I would try maildir as Kyle suggested. This works like a charm! The mail is marked with 'N' in the folder view and everything! At least we have something. You can try with mailbox format in similar way, This didn't work. Strange. I don't

Re: How to deal with new mail?

2008-02-15 Thread Vladimir Marek
Hi, I recently switched from evolution to mutt, and I wonder how to deal with new mail. In evolution, all received mail was sorted in diffenrent folders, but I had a special folder where all new unread mails would show up. I guess it was called a search-folder which only contained links to

Re: Extracting email addresses to abook

2008-02-07 Thread Vladimir Marek
Hi, I'm using my own script for handling address book. It can read address from mail stored on filesystem. Then I just added macro to mutt macro index a shell-escaperm -f $HOME/.temp.txtenter\ shell-escapetouch $HOME/.temp.txtenter\ decode-copy$HOME/.temp.txtenterenter\