Hi,

I've completely unified my mutt config for several accounts and while
it works very well, I cannot easily tell which account I'm connected
to at the moment, and might not remember (yet) which macro switches to
which account. The imap accounts generally just show "=INBOX" in the
index status line. So I looked at the manual entry for status_format and
found that there isn't any shortcut that can help identify the current
account. Which is a bit surprising.

To at least see what I'm using afer I switched to it, I currently use

macro index,pager <f2> '<sync-mailbox><enter-command>source 
~/.mutt/account1<enter><change-folder>!<enter>:set ?folder<enter>'

which leaves a "folder=xxx" message below the status line.

I came across
 https://gitlab.com/muttmua/mutt/-/issues/293
which, while bereft of detail, seems to request the feature I'm looking
for - a means of identifying the currently active account in the status
line.

If anyone can point me to existing patches for status_format that add a
new format string, I'd be more than happy to have a go at it myself. The
wiki patchlist has one such patch, but it's listed for mutt 1.2/1.3 and
I'm sure it would still apply to 2.2.

Thanks.

Reply via email to