Re: collapse threads automatically after imap mailbox update

2015-09-12 Thread Steve Schmerler
On Sep 12 09:16 -0500, Jeff Melton wrote:
> Your mail made it to the list, yes.

OK thanks for the info.

best,
Steve


Re: collapse threads automatically after imap mailbox update

2015-09-12 Thread Jeff Melton

Your mail made it to the list, yes.

JM

On Sat, Sep 12, 2015 at 01:33:21PM +0200, Steve Schmerler wrote:

On Sep 06 15:19 +0200, Steve Schmerler wrote:

Hello all

I'm using

folder-hook . "push "

to collapse threads.

Recently, I started using imapfilter since one of the imap servers to
which I'm connecting has no sieve support.

The problem is now that when imapfilter alters the mailbox that I am
currently viewing (move mail, ...), then mutt will uncollapse all
threads. Is there a way to collapse them automatically after a mailbox
update? Thanks for any hints!


Can someone please confirm if this mail made it to the list? At least
I see it in the archives [1]. Thanks.

[1] http://marc.info/?l=mutt-users=144157083417925=2

best,
Steve


signature.asc
Description: Digital signature


collapse threads automatically after imap mailbox update

2015-09-06 Thread Steve Schmerler
Hello all

I'm using 

folder-hook . "push "

to collapse threads. 

Recently, I started using imapfilter since one of the imap servers to
which I'm connecting has no sieve support.

The problem is now that when imapfilter alters the mailbox that I am
currently viewing (move mail, ...), then mutt will uncollapse all
threads. Is there a way to collapse them automatically after a mailbox
update? Thanks for any hints!

best,
Steve


Re: Collapse threads

2001-05-07 Thread ZHENG, You-Zhong

On 05-06-2001, Andre Berger wrote:
  unset collapse_unread
  folder-hook . push \eV
 
 I love this one, Michael
 
 A. B.   [[EMAIL PROTECTED]]
Well, I want all threads (old and new) collapsed,
How do I do that?

   zhengyz



Re: Collapse threads

2001-05-06 Thread Andre Berger

* Michael Tatge [EMAIL PROTECTED], 2001-05-06 01:58 +0200:
 Michael Tatge muttered:
  Hi,
  
  Efata muttered:
   How I can make default for mutt to collapse message after I read.
   Thanks 
  
  you want a thread to be collapsed, when there are no more new messages
  in it, while the other threads stay uncollapsed, right?
  Don't think that's possible without patching the source.
 
 I'm too fast once again.
 
 unset collapse_unread
 folder-hook . push \eV

I love this one, Michael

A. B.   [[EMAIL PROTECTED]]



Collapse threads

2001-05-05 Thread Efata

How I can make default for mutt to collapse message after I read.
Thanks 



Re: Collapse threads

2001-05-05 Thread Michael Tatge

Hi,

Efata muttered:
 How I can make default for mutt to collapse message after I read.
 Thanks 

you want a thread to be collapsed, when there are no more new messages
in it, while the other threads stay uncollapsed, right?
Don't think that's possible without patching the source. It would be a
*real* nice feature, though. :)

Michael
-- 
...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and
the Ugly).
(By Matt Welsh)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: Collapse threads

2001-05-05 Thread Michael Tatge

Michael Tatge muttered:
 Hi,
 
 Efata muttered:
  How I can make default for mutt to collapse message after I read.
  Thanks 
 
 you want a thread to be collapsed, when there are no more new messages
 in it, while the other threads stay uncollapsed, right?
 Don't think that's possible without patching the source.

I'm too fast once again.

unset collapse_unread
folder-hook . push \eV

HTH,

Michael
-- 
I once witnessed a long-winded, month-long flamewar over the use of
mice vs. trackballs...It was very silly.
(By Matt Welsh)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: collapse threads

2001-02-28 Thread Jason Helfman

Yeah. It was the order. I just tossed them at the top, and it worked
like a f'ing charm.

On Sun, Feb 25, 2001 at 10:32:50PM +, John P. Verel muttered:
| On 02/25/01, 01:14:23PM -0800, Jason Helfman wrote:
|  I tried to get this answered before but haven't found an answer, nor am
|  I am able to solve it. When I get into a certain folder I want to
|  collapse the sorted threads on the given subject. I have this in my
|  muttrc file called mutt.hooks, and I source the file in my .muttrc.
|  
|  folder-hook mutt "push escV"
|  folder-hook lugs "push escV"
| 
| I use the following:
| folder-hook =mbox 'push odendl~Nenter'
| folder-hook . 'push otescVhome'
| # NOTE:  Need to set specific mailbox hook BEFORE setting default.
| 
| This does the following:
| 
|   - sorts my inbox and outbox by date and displays only new
| messages;
|   - sorts everything else by threads and then collapses them.
| You could insert (say) mutt for the dot.
| 
| Note my comment to myself.  I found that the order of folder hooks does matter.
| 
| Good luck and cheers!
| 
| John
|
| -- 
| John P. Verel
| Norwalk, CT

-- 
/Jason G Helfman

"At any given moment, you may find the ticket to the circus that has always
been in your possession."

Fingerprint: 6A32 3774 E390 33B5 8C96  2AA1 2BF4 BD71 35A1 C149
GnuPG http://www.gnupg.org  Get Private!  1024D/35A1C149



collapse threads

2001-02-25 Thread Jason Helfman

I tried to get this answered before but haven't found an answer, nor am
I am able to solve it. When I get into a certain folder I want to
collapse the sorted threads on the given subject. I have this in my
muttrc file called mutt.hooks, and I source the file in my .muttrc.

folder-hook mutt "push escV"
folder-hook lugs "push escV"

I will include the full file here so we can find out if something is
making it impossible that I defined earlier.


-- 
/Jason G Helfman

"At any given moment, you may find the ticket to the circus that has always
been in your possession."

Fingerprint: 6A32 3774 E390 33B5 8C96  2AA1 2BF4 BD71 35A1 C149
GnuPG http://www.gnupg.org  Get Private!  1024D/35A1C149


##.mutt.sets   1.29.00

set markers = no
set mbox= +mailbox-`date '+%Y-%b'`
set mbox_type= Maildir
set move= ask-yes
set ignore_list_reply_to  # ignore the "Reply-To" lines
set index_format="%4C %Z %2M %[!%y%m%d] %-17.17F (%3l) %s"
set allow_8bit
unset arrow_cursor
set ascii_chars  # set: use ASCII characters to build the thread tree
set attribution="! %n %a [%(%d%m%y %H:%M)]:"
set autoedit # set: skip the prompts for To: and Subject:
set beep_new
set noconfirmappend  # set: prompt for confirmation on appending mail to folder
set confirmcreate  # set: prompt for confirmation on creation of folders
set delete=ask-yes
set edit_headers # edit all headers lines in the editor
set editor="vim -c 'set tw=72 et'"
set folder=~/Mail# directory with all mail folders
set hidden_host # do not use a hostname in the address - PROBLEMATIC!
set history=100 # 0.51: number of input lines for prompts to remember
set include  # set: include mail as quoted text in replies
set index_format="%4C %Z %[!%y%m%d] %-17.17F (%3l) %s"
set index_format="%4C %4N %Z %[!%y%m%d] %-17.17F (%3l) %s"
set nomark_old # set: make distinction between New mail and Old mail.
set mime_forward #=ask-yes# mutt-0.92:  now a quadoption!
set nomove  # do not move read mails from mailbox to $mbox (was: "set hold")
set pager_context=1  # number of lines that overlap on paging
set pager_index_lines=0   # number of lines to see from the index
set pager_stop# next-undeleted when the end of the mail is shown
set print_command = "a2ps -Email --strip-level=3 - | lpr" #postscript, requiers a2sp 
package
#set print_oommand = "fork|lpr"
set noprompt_after  # set: gives you a prompt when pager exits
set quote_regexp="^ *[a-zA-Z]*[]|}()%:=-][]|}():=-]*"
set read_inc=10# '10': show count number for every tenth mail
set recall=no  # do not prompt for recalling postponed mails with 'm'
set record=+sent
set reply_regexp="^((re|r e|r?f|aw|antw.?|antwort):[ \t]*)*"
set reply_to=ask-yes   # "reply":  set:  Use address in Reply-To?
set reverse_alias  # show the name of sender as set with my alias for him
set reverse_name   # reply as the user to whom the mail was sent to
set shell=bash # use the zsh for shell commands
#set sort_aux
set sort_browser=reverse-date
set status_on_top # set: present the status bar at top, ie before the index
set strict_threads # set: use references: for threading only, ie do not
set tilde  # show non-existant lines of text with a tilde at begin-of-line
set tmpdir="/tmp" # directory where temporary files are to be placed
set to_chars="X+TCF"
set write_inc=1 # number - display increment count for every n-th mail
set forw_format="(forw) %s"
set hdr_format="%4C %Z %[!%y%m%d] %-17.17F (%3l) %s"  # Sven's favourite
set pager_format="%S [%C/%T] %n (%l) %s"  # Sven's favourite
set status_format="%v: %f (%s) [%M/%m] [N=%n,*=%t,post=%p,new=%b]"
set postponed="$HOME/Msgs/postponed"
set indent_string= "| "
set mailcap_path="/home/jhelfman/.mutt/mutt.mailcap:/etc/mailcap"
set alias_file="/home/jhelfman/.mutt/mutt.aliases"
set sendmail="/var/qmail/bin/sendmail"
set query_command="lbdbq %s"
#set pager_index_lines=15

# mailboxes
mailboxes ! `echo $HOME/Mail/* | sed "s.$HOME/Mail/backup-inbox .."`

# mailbox compression
open-hook \\.gz$ "gzip -cd %f  %t"
close-hook \\.gz$ "gzip -c %t  %f"
append-hook \\.gz$ "gzip -c %t  %f"


#mutt.hooks 08.26.00

# default folder hooks
folder-hook . unmy_hdr *
folder-hook . set sort=threads
folder-hook . set signature=~/.signature
folder-hook . 'set attribution="On %d, %n thus spat:'"
folder-hook . my_hdr From: Jason Helfman [EMAIL PROTECTED]
folder-hook . my_hdr X-Operating-System: `uname -mrs`
# ignore irritating mesg generated by cclient (uw-imapd / pine)
folder-hook . "push \"l!(~s 'FOLDER INTERNAL DATA')\n*\""

# Mailing lists with different posting addresses, .sig files
# I'll let the list server set the reply-to address
# The "plussed" addresses are a feature of sendmail - where
# [EMAIL PROTECTED] is delivered to [EMAIL PROTECTED] - sendmail
# ignores everything between the + and @ (and procmail filters on it)

folder-hook mutt unmy_hdr *
folder-hook mutt "bind index r list-reply; bind pager r list-reply; bind attach r 
list-reply
folder-hook mutt 

Re: collapse threads

2001-02-25 Thread John P. Verel

On 02/25/01, 01:14:23PM -0800, Jason Helfman wrote:
 I tried to get this answered before but haven't found an answer, nor am
 I am able to solve it. When I get into a certain folder I want to
 collapse the sorted threads on the given subject. I have this in my
 muttrc file called mutt.hooks, and I source the file in my .muttrc.
 
 folder-hook mutt "push escV"
 folder-hook lugs "push escV"

I use the following:
folder-hook =mbox 'push odendl~Nenter'
folder-hook . 'push otescVhome'
# NOTE:  Need to set specific mailbox hook BEFORE setting default.

This does the following:

- sorts my inbox and outbox by date and displays only new
  messages;
- sorts everything else by threads and then collapses them.
  You could insert (say) mutt for the dot.

Note my comment to myself.  I found that the order of folder hooks does matter.

Good luck and cheers!

John
   
-- 
John P. Verel
Norwalk, CT