Fetching from gmail
Steve Holmes
steve at holmesgrown.com
Wed Nov 11 23:25:03 EST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Well, I said below that I was thinking about a macro to copy messages
to trash, well here it is. I will paste it into this message. Just
stick this next line into your .muttrc file.
macro index <F3> <copy-message>=Trash<enter> "copy message to trash"
Of course, make sure this is all on the same line and the key here is
the F3 key; if you want it to be something else, then feel free to
change it. All variations of the 'd' and 'D' key are pretty much used
by mutt natively so dunno if there would be a way to reassign those or
not. Anyway, it works good and the ';' key works on tagged messages
too!
On Wed, Nov 11, 2009 at 07:13:34PM -0700, Steve Holmes wrote:
> I have thought often about creating a macro to do the copying to trash
> so to answer your question, that is exactly the command I use to do
> this. Earlier versions of mutt had a trash variable but it
> disappeared with version 1.5.19 or so. With that variable, I used to
> be able to delete a message and it would be automatically moved to the
> specified trash folder. Dunno why it went away but when I looked
> around in change logs and documentation, I couldn't even find
> reference to it. So it was like a ghost around here <smile>
>
> What I do for threads presently, is to tag each message that I read
> and want to delete; I do that with the 't' command. When I'm out in
> the folder and want to close out and purge the tagged messages, I just
> do a ';' to prefix the next command for all tagged messages and then
> do the 'C =Trash' and boom, all 98 or whatever many messages get moved
> to Trash and this may take several seconds depending on the time.
>
> Not bad all and all.
>
> On Wed, Nov 11, 2009 at 08:24:39PM -0500, Christopher Moore wrote:
> > Steve,
> > How do you tell mutt to copy a message to trash. Would you do something
> > like:
> > C =Trash
> >
> > Maybe this could be assigned to the d key. I'd also like to assign
> > something similar to ctrl+d to remove an entire thread.
> >
> > Cleaning out the "all maiil" folder may be quite labor intensive. We'd
> > want to delete all conveersations without an assigned label. This would
> > take quite a while using the web interface. Perhaps there are some
> > python bindings for gmail which could be used.
> > I don't really mind that mutt removes the messages from the inbox if we
> > had a utility to clean out the "all mail" folder once in a while.
> >
> > Chris
> > On Mon, Nov 09, 2009 at 10:51:17PM -0700, Steve Holmes wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: RIPEMD160
> > >
> > > Yes, I use mutt to get gmail from two different accounts and I support
> > > multiple folders on each of them. The mutt setup is actually pretty
> > > easy as I've used imap for some time on other systems prior to gmail.
> > > The important thing to realize with gmail and IMAP is when deleting
> > > unwanted messages, you need to copy them to '=Trash' (exclude the
> > > quotes and realize that is capital T on Trash). If you just delete
> > > them like on standard IMAP systems and then expunge them with mutt's
> > > 'x' command, the Inbox label will be removed and the messages will end
> > > up in your 'All Mail' folder forever! that happened to me for a long
> > > time before I realized what was happening and I still have over 8,000
> > > messages to eventually clear out on one of my accounts.
> > >
> > > Otherwise, gmail with IMAP is quite cool. I never use POP.
> > >
> > > On Wed, Oct 28, 2009 at 09:06:20AM -0400, Christopher Moore wrote:
> > > > Hello,
> > > > The best way I've found to use gmail on linux is via mutt with a special
> > > > config file to access the imap server.
> > > >
> > > > I found info in this through google.
> > > >
> > > > Chris
> > > > _______________________________________________
> > > > Speakup mailing list
> > > > Speakup at braille.uwo.ca
> > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.4.10 (GNU/Linux)
> > >
> > > iEYEAREDAAYFAkr4/1UACgkQWSjv55S0LfHBJwCfSAwbSxDuA6YPQyiXr4uJoqpT
> > > GtkAnjrjFpCzfj6VVj5ouS3D3U3riqnW
> > > =PHMW
> > > -----END PGP SIGNATURE-----
> > > _______________________________________________
> > > Speakup mailing list
> > > Speakup at braille.uwo.ca
> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEAREDAAYFAkr7jh8ACgkQWSjv55S0LfGz5gCgrNYgg3L22aEsM61ld4GF80AM
vOoAn0dhOjXNItZFPilCvMO2JQFgdZFB
=43Ca
-----END PGP SIGNATURE-----
More information about the Speakup
mailing list