Re: [PATCH] Browse mailboxes by default when changing folders.

2015-06-09 Thread Heinz Diehl
On 09.06.2015, Kevin J. McCarthy wrote: 

 A huge concern with this patch is changing long-standing behavior.

Call me stupid, but even as a long time (~1995) mutt user, after
applying this patch, I couldn't even find my mailboxes. I'm used to
press TAB to change to my mailboxes when reading mail. Now, I get a
directory listing, and even when moving into my mail folder (I'm using
maildir), nothing shows up.




Re: [PATCH] Browse mailboxes by default when changing folders.

2015-06-09 Thread Heinz Diehl
On 09.06.2015, Kevin J. McCarthy wrote: 

 It sounds like you have something like this set up in your muttrc:
 macro index,pager Tab change-folder?toggle-mailboxes

Yes, you're right, there's this one:

macro   index   tab   :exec change-folderenter?tab

 The patch makes it unnecessary to toggle-mailboxes at the end.  If
 you hit Tab again, do your mailboxes appear?

Yes, they do. So it would be trivial to restore my old and well-known
behaviour by just adding an additional tab :-)

macro   index   tab   :exec change-folderenter?tabtab

 In any case, this is pretty quick confirmation that the patch probably
 isn't a good idea.

In any case, sufficient explanation will be absolutely crucial. In my
opinion, most mutt users prefer mutt over any other MUA because of its
simplicity and customisability (including me - my basic .muttrc is last edited 
in
1997 and still works as expected). 

I think if this patch is a *real* improvement and its potential drawbacks can
easily be fixed in .muttrc, it may be worth the effort. To judge both,
more people should try the patch and report back.



Re: [PATCH] Browse mailboxes by default when changing folders.

2015-06-09 Thread Heinz Diehl
On 09.06.2015, Ian Zimmerman wrote: 

 1.  What version of mutt do you use?

The latest from hg repository, as available. In other words, 1.5.23.
At the moment, mutt says it's  Mutt 1.5.23+92.

 2.  Do you use the y key, or the -y option when starting mutt, at all?

No.

 3.  Do you have any mailboxes defined with the mailboxes command in .muttrc?

Yes, of course. I use the following in .muttrc to generate them
dynamically, based on the content of Maildir:

mailboxes ! + `\
 for file in ~/Maildir/.*; do \
   box=$(basename $file); \
   if [ ! $box = '.' -a ! $box = '..' -a ! $box = '.customflags' \
   -a ! $box = '.subscriptions' ]; then \
 echo -n \+$box\ ; \
   fi; \
done`


-- 
OpenPGP Fingerprint: 531E 8E75 4395 ED38 CEC2  FD75 A1EB 6944 60F4 A92C


Re: [PATCH] Browse mailboxes by default when changing folders.

2015-06-09 Thread Ian Zimmerman
On 2015-06-09 20:32 +0200, Heinz Diehl wrote:

 macro index   tab   :exec change-folderenter?tab

Ok, now I understand.  You have just created and bound your own version
of the macro that vanilla mutt binds to y.  Which pretty much answers
all my questions from the other subthread, so no need to reply there.

Heinz In any case, sufficient explanation will be absolutely
Heinz crucial. In my opinion, most mutt users prefer mutt over any
Heinz other MUA because of its simplicity and customisability
Heinz (including me - my basic .muttrc is last edited in 1997 and still
Heinz works as expected).

The problem is that there are different kinds of simplicity.  For
example, BASIC is a simple programming language.  Does mutt want to be
the BASIC of MUAs?  If yes, I don't want to use it :-(

I was hoping mutt was aiming to be _predictable_ above all.  And the
issue addressed by the patch is exactly a violation of predictability.

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