Odd quirk in folder_format display

2021-06-21 Thread Chris Green
I have quite a few levels of directories below my ~/mail directory.

For some reason when I navigate through some of them the numbers of
messages are displayed whereas in others they aren't.

Here is my Ju (junk) folder as displayed in mutt:-

-- Mutt: Directory [Ju], File mask: !^\.[^.]
->   ../
 canals/
 digikam/
 dokuwiki/
 leafnode/
 postponed/
 rsync/
 xfce/


... and here is my In (inboxes) folder:-

-- Mutt: Directory [In], File mask: !^\.[^.]
->   ../
 cl/190
 default/   852
 freegle/40
 inbox/ 300
 odin/   30
 tinnews/00



... and here are (some of) their contents:-

chris@esprimo$ cd ~/mail/In
/home/chris/mail/In
chris@esprimo$ ls -l
total 24
drwx-- 5 chris chris 4096 Feb 26 18:10 cl
drwx-- 5 chris chris 4096 Sep 25  2020 default
drwx-- 5 chris chris 4096 Feb 19 13:53 freegle
drwx-- 5 chris chris 4096 Sep 25  2020 inbox
drwx-- 5 chris chris 4096 Sep 25  2020 odin
drwx-- 5 chris chris 4096 Feb 27 00:25 tinnews
chris@esprimo$ ls -l cl
total 12
drwx-- 2 chris chris 4096 Jun 15 09:14 cur
drwx-- 2 chris chris 4096 Jun 21 10:18 new
drwx-- 2 chris chris 4096 Jun 21 05:01 tmp
chris@esprimo$ cd ~/mail/Ju
/home/chris/mail/Ju
chris@esprimo$ ls -l
total 28
drwx-- 5 chris chris 4096 Apr 17 20:38 canals
drwx-- 5 chris chris 4096 Nov 24  2020 digikam
drwx-- 5 chris chris 4096 Nov 18  2020 dokuwiki
drwx-- 5 chris chris 4096 Apr 10 12:03 leafnode
drwx-- 5 chris chris 4096 Jun 21 19:39 postponed
drwx-- 5 chris chris 4096 Nov 18  2020 rsync
drwx-- 5 chris chris 4096 Nov 19  2020 xfce
chris@esprimo$ ls -l canals
total 12
drwx-- 2 chris chris 4096 Jun 21 19:36 cur
drwx-- 2 chris chris 4096 Jun 21 19:36 new
drwx-- 2 chris chris 4096 Jun 21 17:49 tmp




I don't understand why I'm not seeing message counts in the Ju folder.
There are similar 'some work, some don't work' folders elsewhere in my
mail folders.

-- 
Chris Green


Re: Can one to a non-mail folder?

2021-06-21 Thread Kevin J. McCarthy

On Mon, Jun 21, 2021 at 09:56:17PM +0100, Chris Green wrote:
While I'm here what's the difference between  and 
?


A good place to look when writing macros are the tables at: 



Breaking down the parts of the macro:

 - the change folder prompt in the index menu
?   - starts the file browser (the browser menu)
- changes the current listed directory in the browser menu

--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA


signature.asc
Description: PGP signature


Re: Can one to a non-mail folder?

2021-06-21 Thread Chris Green
On Mon, Jun 21, 2021 at 01:42:46PM -0700, Kevin J. McCarthy wrote:
> On Mon, Jun 21, 2021 at 08:54:08PM +0100, Chris Green wrote:
> > I want to create a macro to navigate to my "shopping" folder which holds
> > directories where I save E-Mails about shopping.
> 
> Something like this seems to work for me:
> macro index ,cs 
> "?~/mail/shopping"
> 
Thank you, that's perfect!

While I'm here what's the difference between  and
?

-- 
Chris Green


Re: Can one to a non-mail folder?

2021-06-21 Thread Kevin J. McCarthy

On Mon, Jun 21, 2021 at 08:54:08PM +0100, Chris Green wrote:
I want to create a macro to navigate to my "shopping" folder which 
holds directories where I save E-Mails about shopping.


Something like this seems to work for me:
macro index ,cs "?~/mail/shopping"

--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA


signature.asc
Description: PGP signature


Can one to a non-mail folder?

2021-06-21 Thread Chris Green
I want to create a macro to navigate to my "shopping" folder which
holds directories where I save E-Mails about shopping.

I can't do this directly because the shopping directory doesn't
actually have any mail in it, it's all in sub-directories of shopping.
I get the error "/home/chris/mail/shopping is not a mailbox".

Is there any way of creating a macro to do this?
 
-- 
Chris Green