Re: displaying folder name in xterm title

2002-07-04 Thread Aragon Gouveia

Hi,

There must be a way. It should just be a matter of sending the right escape
sequence to the terminal. You can probably do this in the status_format.

I think the escape sequences are as follows:

\033]0;whatever you want in the title\007

There are also escape sequences for the window name and the icon name.
Probably \033]1; and \033]2; respectively. I'm not sure which is which. But
googling it should reveal something.


Regards,
Aragon



| By Martin Man [EMAIL PROTECTED]
|  [ 2002-07-04 15:38 +0200 ]
 hi mutters,
 
 is there a way to change xterm's title according to the folder currently
 opened in a mutt so that it updates correctly whenever the folder inside 
 of mutt is changed?
 
 probably some folder-hook magic that can execute shell commands and issue
 appropriate echo with escape sequences and folder's name to change the title?
 
 thanx,
 martin
 -- 
 King of Swamp Castle: This is supposed to be a happy occasion.
   Let's not bicker and argue about who killed who.
   -- Monty Python and the Holy Grail





unread flag in folder view

2002-06-30 Thread Aragon Gouveia

Hi,

Does anyone know how to have Mutt display a 'U' flag in the folder view if a
mail folder has unread messages? There's no folder_format format string for
it, so I was hoping someone could help me add it to the source. I really suck
at C :/ but I'm guessing it needs to be added in browser.c.

I'm using 1.4i btw. Any help appreciated.


Thanks,
Aragon



unread flag in folder view

2002-06-30 Thread Aragon Gouveia

Hi,

Does anyone know how to have Mutt display a 'U' flag in the folder view if a
mail folder has unread messages? There's no folder_format format string for
it, so I was hoping someone could help me add it to the source. I really suck
at C :/ but I'm guessing it needs to be added in browser.c.

I'm using 1.4i btw. Any help appreciated.


Thanks,
Aragon




Re: unread flag in folder view

2002-06-30 Thread Aragon Gouveia

| By Rocco Rutte [EMAIL PROTECTED]
|  [ 2002-07-01 03:18 +0200 ]
 To repeat it once more: Such a ``feature'' is just much too

Wierd that I subscribed while this subject was being discussed!
Apollogies for the repitition.


 If you're really interested in the pure number, why not use
 a shell script to count it for you? This is the more
 powerfull solution because you could also write a short
 script which configures the $mailbox variable to contain
 only folders with unread mail.

That gave me an idea, but then I found out that mutt's printf strings arent
expanded inside shell expansion. I was hoping to do something like:

folder_format = ... `~/unread %f`

Have noticed this is in discussion in another thread though.


Thanks,
Aragon



Re: unread flag in folder view

2002-06-30 Thread Aragon Gouveia

| By Nicolas Rachinsky [EMAIL PROTECTED]
|  [ 2002-07-01 01:41 +0200 ]
 
 This would be very expensive when using mbox folders, because mutt
 would have to read all folders completely.

Would it be more efficient as a Maildir only feature?


Thanks,
Aragon



Re: Passing muttrc format strings to bash

2002-06-30 Thread Aragon Gouveia

| By Nicolas Rachinsky [EMAIL PROTECTED]
|  [ 2002-07-01 01:40 +0200 ]
 I have the vague feeling to remember that
 [EMAIL PROTECTED] was about a patch for this
 problem.

There's a patch here: http://home.uchicago.edu/~dgc/mutt/

It works excellently. I'm using it to get mutt to display a 'U' flag for
my maildir folders that have unread message in them.


Regards,
Aragon