Re: Using Gmail IMAP with Mutt

2021-09-02 Thread Jens John
On Thu, 2 Sep 2021, at 19:12, David J. J. Ring, Jr. wrote:
> What does gmail really want?  Gmail or GMail or something different?
> 
> Thanks in advance for your replies and help.  I'm sorry I'm confused 
> but it is confusing.

Accidentally, I think they changed something because by mbsync config broke 
some time in August or July.

I am now using "[Gmail]/All mail" & "[Gmail]/Sent Mail" (sic: yes, mail 
lowercased and Mail uppercased for the other folder. Previously, I had been 
using "[Gmail]/All Mail" (sic) (did no longer work).

If in doubt, I would recommend using Thunderbird or another IMAP tool to check 
which folders a vanilla gmail account presents. Gmail is only a legacy account 
for me so I'm not exactly keeping up to date with the service.


Using Gmail IMAP with Mutt

2021-09-02 Thread David J. J. Ring, Jr.
Hello List,

I have seen muttrc files with both folder names of gmail, Gmail, and Gmail and 
even GoogleMail and varients.


I think what happens if you use on that Google doesn't know about is that gmail 
makes that folder for you and does what you are asking for, so if you've said 
save drafts 
to a GMail (capital G and capital M) folder, it does that, if you say save 
drafts to 
Gmail (capital G small m) folder it does that for you.

Now I have several folders and they're not the same.

What does gmail really want?  Gmail or GMail or something different?

Thanks in advance for your replies and help.  I'm sorry I'm confused but it is 
confusing.

David Ring



signature.asc
Description: PGP signature


Re: custom macro for "q" key

2021-09-02 Thread Fourhundred Thecat

> On 2021-09-02 11:58, Bastian wrote:

Lets assume that after leaving the browser there is a quit command you
could solve it with:

   macro browser q "" "QUIT MUTT FROM BROWSER"


That works exactly as I wanted.
You are a genius.

thank you


Re: custom macro for "q" key

2021-09-02 Thread Bastian
Lets assume that after leaving the browser there is a quit command you 
could solve it with:

  macro browser q "" "QUIT MUTT FROM BROWSER"

This won't work in browsers behind composing a mail (attachment browser 
e.g.).

Another idea, I think you can always push Ctrl+C to leave mutt at any 
location.
-- 
Bastian


Re: custom macro for "q" key

2021-09-02 Thread lists

yes, the  is called "browser" in my case also.

But when I bind:

  bind  browser  q  exit

and use "q" in browser, it does not exit, but just cycles between
browser and the folder where I came from.


Ok, so I just checked the help and apparently the 'exit' function's  
description is 'exit this menu'. So it seems the exit function was  
never meant to fully exit mutt but just exit the menu it is currently  
in.



And also, you suggested previously to use "exit", but this keyword does
not seem to exist in my mutt (2.0.2). When I use this binding:

  bind  browser q quit

.mutt/muttrc, line 80: quit: no such function in map


Yeah, looking at the help again, it seems the function 'quit' exists  
in index and pager (although in pager it also doesn't exit mutt  
fully), but it doesn't seem to exist in 'browser'. Hence why you get  
an error when using bind browser q quit that quit doesn't exist.


I hope that I am wrong, but to me it seems like there is currently no  
way to achieve what you want.


Best Regards,
IFo Hancroft