Limit number of fetched message headers WITHOUT using header cache/body cache?

2019-03-11 Thread Jaime T
After installing and setting up mutt to connect to my gmail account
via imap, mutt downloads all message headers, thus:

Fetching message headers... 41821/78259 (53%)

I already know that the "standard" way of *not* repeatedly downloading
all these message headers is to cache them on the client. Is there a
way to limit how many message headers mutt fetches? Ideally, I would
like to fetch only the most recent 30 or so message headers, and I do
*not* want to use "header caching" or "body caching".

Many thanks.


Re: Limit number of fetched message headers WITHOUT using header cache/body cache?

2019-03-11 Thread Kevin J. McCarthy

On Mon, Mar 11, 2019 at 03:11:57PM +, Jaime T wrote:

Is there a way to limit how many message headers mutt fetches?


Not within Mutt, but Gmail has a "Folder size limits" setting to do so.

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


signature.asc
Description: PGP signature


Alias completion question

2019-03-11 Thread Jason
I regularly use Tab to autocomplete alias names. Is there any way to 
differentiate between a name that is partially completed (due to there 
being several aliases starting with that string) and one that is 
complete?

For example, say I have an alias named johndoe and another one named 
johnnybrown. If I type 'jo' then hit Tab it will fill in 'john' and I 
have no way of knowing whether this matched and will be replaced by the 
email address when I hit Enter, or if it is only partial and will result 
in a bounced message because of an invalid address.

To prevent this, I usually press Tab one extra time to see how many 
matches pop up; just wondering if that's what everyone else does too or 
if there's something that would negate the need for the extra Tab press.

Thanks,
-- 
Jason



Re: Alias completion question

2019-03-11 Thread Erik Christiansen
On 11.03.19 20:32, Jason wrote:
> To prevent this, I usually press Tab one extra time to see how many 
> matches pop up; just wondering if that's what everyone else does too or 
> if there's something that would negate the need for the extra Tab press.

That's how mailbox name completion works too. It's what I expect and use.

In comparison, bash takes two additional tabs and a 'y' to bring up a
long list after one tab has partially completed "mail/cnc":

$ ls mail/cnc_linux_
Display all 456 possibilities? (y or n)

Erik