header_cache for mbox

2015-07-13 Thread Eric Smith
Has anyone implemented this or is considering to do so?

-- 
Eric Smith


Re: header_cache for mbox

2015-07-13 Thread Patrick Shanahan
* Eric Smith e...@fruitcom.com [07-13-15 09:17]:
 Has anyone implemented this or is considering to do so?

Been using it for *quite* a few years now.
-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://linuxcounter.net


Re: Sort by newest in thread?

2015-07-13 Thread Ian Zimmerman
On 2015-07-13 11:09 -0700, Kevin J. McCarthy wrote:

 Does 'set sort_aux=last-date-received' do what you want?

Not quite, but

set sort_aux=last-date

does.  Thanks!  mutt is amazing, after all.

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.



Re: header_cache for mbox

2015-07-13 Thread Heinz Diehl
On 13.07.2015, Patrick Shanahan wrote: 

 * Eric Smith e...@fruitcom.com [07-13-15 09:17]:
  Has anyone implemented this or is considering to do so?
 
 Been using it for *quite* a few years now.

AFAIK, mutt's header cache only works for IMAP and Maildir, but not
for the mbox format.



Re: Sort by newest in thread?

2015-07-13 Thread mwnx
On Mon, Jul 13, 2015 at 10:37:05AM -0700, Ian Zimmerman wrote:
 Since I switched to mutt full time a couple of months ago, there were
 times when I missed one feature or another from other agents, but mostly
 I learned to live with the mutt way.
 
 However, this one keeps getting on my frail nerves.  There seems to be
 no way in vanilla mutt to sort the index view such that the latest
 message appears last, when threading is on.  So when I open a folder
 with a long active thread, I keep landing in the middle of old inactive
 threads.
 
 A minimal example would be:
 
   1   2015-07-01 Mr Foo   Boring subject
   2   2015-07-02 Miss Bar Exciting subject
 N 3   2015-07-13 Mr Foo   |- Re: Exciting subject
   4   2015-07-03 Mr FoobarAnother boring subject
 
 I want:
 
   1   2015-07-01 Mr Foo   Boring subject
   2   2015-07-03 Mr FoobarAnother boring subject
   3   2015-07-02 Miss Bar Exciting subject
 N 4   2015-07-13 Mr Foo   |- Re: Exciting subject
 
 Perhaps there is a patch providing this?  It must have been requested
 before :)

Seems like you're looking for:

set sort = threads
set sort_aux = last-date-received

(specifically the second line)

-- 
mwnx
GPG: AEC9 554B 07BD F60D 75A3 AF6A 44E8 E4D4 0312 C726


Re: header_cache for mbox

2015-07-13 Thread Patrick Shanahan
* Heinz Diehl htd...@fritha.org [07-13-15 14:42]:
 On 13.07.2015, Patrick Shanahan wrote: 
 
  * Eric Smith e...@fruitcom.com [07-13-15 09:17]:
   Has anyone implemented this or is considering to do so?
  
  Been using it for *quite* a few years now.
 
 AFAIK, mutt's header cache only works for IMAP and Maildir, but not
 for the mbox format.

Guess more research is warranted.  I have used mbox for  10 years and
header_cache since implementation on openSUSE.




user:~   mutt -v

Mutt 1.5.23 (2014-03-12)
Copyright (C) 1996-2009 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 3.11.10-29-desktop (x86_64)
ncurses: ncurses 5.9.20130805 (compiled with 5.9)
libidn: 1.25 (compiled with 1.25)
hcache backend: GDBM version 1.10. 13/11/2011

Compiler:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.8/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info 
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada 
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.8 
--enable-ssp --disable-libssp --disable-plugin 
--with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' 
--disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib 
--enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch 
--enable-version-specific-runtime-libs --enable-linker-build-id 
--program-suffix=-4.8 --enable-linux-futex --without-system-libunwind 
--with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.8.1 20130909 [gcc-4_8-branch revision 202388] (SUSE Linux) 

Configure options: 'x86_64-suse-linux' '--prefix=/usr' '--datadir=/usr/share' 
'--sysconfdir=/etc' '--mandir=/usr/share/man' 
'--with-docdir=/usr/share/doc/packages/mutt' '--enable-imap' '--enable-pop' 
'--enable-pgp' '--enable-gpgme' '--enable-nfs-fix' '--enable-mailtool' 
'--enable-compressed' '--disable-external-dotlock' '--with-ssl=/usr' 
'--with-sasl=/usr' '--with-gss=/usr' '--with-gnutls=/usr' '--with-curses=/usr' 
'--with-regex' '--enable-smtp' '--enable-hcache' '--with-idn' 
'build_alias=x86_64-suse-linux' 'host_alias=x86_64-suse-linux' 
'target_alias=x86_64-suse-linux' 'CC=gcc' 'CFLAGS=-Wall -fmessage-length=0 
-grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 
-funwind-tables -fasynchronous-unwind-tables -g -I. -D_GNU_SOURCE 
-fno-strict-aliasing -fPIE -g3 -pipe' 'LDFLAGS=-Wl,--as-needed -Wl,-O2 
-Wl,--hash-size=8599 -pie'

Compilation CFLAGS: -Wall -pedantic -Wno-long-long -Wall -fmessage-length=0 
-grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 
-funwind-tables -fasynchronous-unwind-tables -g -I. -D_GNU_SOURCE 
-fno-strict-aliasing -fPIE -g3 -pipe

Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  -DL_STANDALONE  +USE_FCNTL  -USE_FLOCK   
+USE_POP  +USE_IMAP  +USE_SMTP  
+USE_SSL_OPENSSL  -USE_SSL_GNUTLS  +USE_SASL  +USE_GSS  +HAVE_GETADDRINFO  
-HAVE_REGCOMP  +USE_GNU_REGEX  +COMPRESSED  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  +CRYPT_BACKEND_GPGME  
-EXACT_ADDRESS  +SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  
+HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +USE_HCACHE  
ISPELL=/usr/bin/ispell
SENDMAIL=/usr/sbin/sendmail
MAILPATH=/var/mail
PKGDATADIR=/usr/share/mutt
SYSCONFDIR=/etc
EXECSHELL=/bin/sh
-MIXMASTER
To contact the developers, please mail to mutt-...@mutt.org.
To report a bug, please visit http://bugs.mutt.org/.

patch-1.5.3.vk.pgp_verbose_mime
patch-1.5.9.aw.listreply.1
patch-1.5.23.sidebar.20140412.txt
rr.compressed



But you didn't say what distro/version/compile options in your
environment, so your version of mutt may indeed not support mbox header
caching.  Mine does.

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://linuxcounter.net


Re: Sort by newest in thread?

2015-07-13 Thread Kevin J. McCarthy
Ian Zimmerman wrote:
 There seems to be no way in vanilla mutt to sort the index view such
 that the latest message appears last, when threading is on.  So when I
 open a folder with a long active thread, I keep landing in the middle
 of old inactive threads.

Does 'set sort_aux=last-date-received' do what you want?

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
http://www.8t8.us/configs/gpg-key-transition-statement.txt


signature.asc
Description: PGP signature


Sort by newest in thread?

2015-07-13 Thread Ian Zimmerman
Since I switched to mutt full time a couple of months ago, there were
times when I missed one feature or another from other agents, but mostly
I learned to live with the mutt way.

However, this one keeps getting on my frail nerves.  There seems to be
no way in vanilla mutt to sort the index view such that the latest
message appears last, when threading is on.  So when I open a folder
with a long active thread, I keep landing in the middle of old inactive
threads.

A minimal example would be:

  1   2015-07-01 Mr Foo   Boring subject
  2   2015-07-02 Miss Bar Exciting subject
N 3   2015-07-13 Mr Foo   |- Re: Exciting subject
  4   2015-07-03 Mr FoobarAnother boring subject

I want:

  1   2015-07-01 Mr Foo   Boring subject
  2   2015-07-03 Mr FoobarAnother boring subject
  3   2015-07-02 Miss Bar Exciting subject
N 4   2015-07-13 Mr Foo   |- Re: Exciting subject

Perhaps there is a patch providing this?  It must have been requested
before :)

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.



Re: Sort by newest in thread?

2015-07-13 Thread Francesco Ariis
On Mon, Jul 13, 2015 at 10:37:05AM -0700, Ian Zimmerman wrote:
 Since I switched to mutt full time a couple of months ago, there were
 times when I missed one feature or another from other agents, but mostly
 I learned to live with the mutt way.
 
 However, this one keeps getting on my frail nerves.  There seems to be
 no way in vanilla mutt to sort the index view such that the latest
 message appears last, when threading is on.  So when I open a folder
 with a long active thread, I keep landing in the middle of old inactive
 threads.

Would writing a folder-hook with

first-entrynext-new-then-unread

alleviate the pain? I have it on and it's a breeze to go through new
messages (using Tab for subsequent next-new-email).


Re: Sort by newest in thread?

2015-07-13 Thread Jon LaBadie
On Mon, Jul 13, 2015 at 11:52:38AM -0700, Ian Zimmerman wrote:
 On 2015-07-13 11:09 -0700, Kevin J. McCarthy wrote:
 
  Does 'set sort_aux=last-date-received' do what you want?
 
 Not quite, but
 
 set sort_aux=last-date
 
 does.  Thanks!  mutt is amazing, after all.
 
Ian, in case you are unaware, while in the index the o
command allows you to dynamically change the sort order.
My normal primary order is thread, but I'll sometimes
use the o command to change it to date in order to
group recent messages.  Then use it again to return
to threaded order.

jl
-- 
Jon H. LaBadie j...@jgcomp.com
 11226 South Shore Rd.  (703) 787-0688 (H)
 Reston, VA  20190  (703) 935-6720 (C)


Re: Sort by newest in thread?

2015-07-13 Thread Cameron Simpson

On 13Jul2015 20:05, mwnx m...@gmx.com wrote:

On Mon, Jul 13, 2015 at 10:37:05AM -0700, Ian Zimmerman wrote:

However, this one keeps getting on my frail nerves.  There seems to be
no way in vanilla mutt to sort the index view such that the latest
message appears last, when threading is on.  So when I open a folder
with a long active thread, I keep landing in the middle of old inactive
threads.

A minimal example would be:

  1   2015-07-01 Mr Foo   Boring subject
  2   2015-07-02 Miss Bar Exciting subject
N 3   2015-07-13 Mr Foo   |- Re: Exciting subject
  4   2015-07-03 Mr FoobarAnother boring subject

I want:

  1   2015-07-01 Mr Foo   Boring subject
  2   2015-07-03 Mr FoobarAnother boring subject
  3   2015-07-02 Miss Bar Exciting subject
N 4   2015-07-13 Mr Foo   |- Re: Exciting subject

Perhaps there is a patch providing this?  It must have been requested
before :)


Seems like you're looking for:

set sort = threads
set sort_aux = last-date-received


By contrast, I use this:

 set sort=reverse-threads
 set sort_aux=last-date

Cheers,
Cameron Simpson c...@zip.com.au