mutt/vim compose-new-mail macro
When I am in mutt and I press 'm' to compose a new mail, and I'm then dropped into my editor (vim), I'd like to have it so that I'll always be automatically already in vim's insert mode. Right now, once mutt puts me into vim after I press 'm', and I am in vim's 'normal mode' ready to compose a new mail, I can invoke vim's 'O' command (open a new line above the cursor and put the editor into insert mode) to get exactly what I want -- insert mode plus the new line. What I'd like to do is put the 'O' command into a mutt macro, and I've forgotten how I'd do it. I already have this: # Start cursor at line 9 (with edit_hdrs set) when composing new mails ('m'): macro index m:set editor='vim +9'^M_A compose a new mail message macro pager m:set editor='vim +9'^M_A compose a new mail message (Earlier in my .muttrc I bound _A' to (send a) mail, ('m' by default), so that 'm' could be the key for the macro.) How do I put vim's 'O' command into a this macro so that it does what I want? -- // [EMAIL PROTECTED] //
Delete mailbox over imaps
When in the folder browser, connected via imaps, I find that I cannot delete folders. Mutt gives the error: Delete is only supported for IMAP. Is this the expected behaviour? I'd think that imaps should work just as imap, only over ssl :) -- Dan Boger [EMAIL PROTECTED] msg30427/pgp0.pgp Description: PGP signature
Re: mutt/vim compose-new-mail macro
On Mon, Aug 26, 2002 at 06:53:37AM -0400, Russell Hoover wrote: When I am in mutt and I press 'm' to compose a new mail, and I'm then dropped into my editor (vim), I'd like to have it so that I'll always be automatically already in vim's insert mode. Right now, once mutt puts me into vim after I press 'm', and I am in vim's 'normal mode' ready to compose a new mail, I can invoke vim's 'O' command (open a new line above the cursor and put the editor into insert mode) to get exactly what I want -- insert mode plus the new line. What I'd like to do is put the 'O' command into a mutt macro, and I've forgotten how I'd do it. I already have this: # Start cursor at line 9 (with edit_hdrs set) when composing new mails ('m'): macro index m:set editor='vim +9'^M_A compose a new mail message macro pager m:set editor='vim +9'^M_A compose a new mail message (Earlier in my .muttrc I bound _A' to (send a) mail, ('m' by default), so that 'm' could be the key for the macro.) How do I put vim's 'O' command into a this macro so that it does what I want? From the shell prompt, you could do this: vim +9 -c normal O -c startinsert You may want to search for a pattern rather than use a line number in case the number of header lines ever changes: vim +/^$ -c normal O -c startinsert Now the tricky part is quoting this correctly for use in a macro. This worked when I tried it, without the ^M_A: macro index m :set editor='vim +9 -c \normal O\ -c startinsert'^M_A compose a new mail message HTH, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Spokane, Washington, USA http://www.spocom.com/users/gjohnson/mutt/ |
Re: mutt/vim compose-new-mail macro
--EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Alas! Russell Hoover spake thus: How do I put vim's 'O' command into a this macro so that it does what I want? Just set your editor to be '/usr/bin/vi +O' and it will automatically do whatever the O key does when vim launches. --=20 Rob 'Feztaa' Park http://members.shaw.ca/feztaa/ -- Your password is pitifully obvious. --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9amD4PTh2iSBKeccRAq6NAJ94X63v9lPSjJJFAkQEHTELd7CumwCdF8gK Q1ZPi0bYDGwR41dV7fFxYRs= =CCwn -END PGP SIGNATURE- --EeQfGwPcQSOJBaQU--
Re: [OT] Vim
On Fri, Aug 23, 2002, Rob 'Feztaa' Park wrote: add address to procmailrc. ;-) Get with the times, Sven! Adding an address to a Spamassassin blacklist is *so* much easier to maintain than a hairy mess of procmail rules ;) Yeah, but with procmail I can send them to /dev/null. With Spamassassin they go to my spam folder for review. -Ken
Re: [OT] Vim
+ Ken Weingold [EMAIL PROTECTED]: Yeah, but with procmail I can send them to /dev/null. With Spamassassin they go to my spam folder for review. You can use procmail to filter the spamassasin'ated mails to /dev/null, too. | :0 | * ^X-Spam-Status: Yes | /dev/null Kai
Re: [OT] Vim
On Mon, Aug 26, 2002, Kai Weber wrote: + Ken Weingold [EMAIL PROTECTED]: Yeah, but with procmail I can send them to /dev/null. With Spamassassin they go to my spam folder for review. You can use procmail to filter the spamassasin'ated mails to /dev/null, too. I would never do that. Sometimes Spamassassin catches real mail as spam. -Ken
Re: [OT] Vim
* On 2002.08.26, in [EMAIL PROTECTED], * Ken Weingold [EMAIL PROTECTED] wrote: I would never do that. Sometimes Spamassassin catches real mail as spam. If I could be so lucky. Sometimes. Heh. -- -D.We establised a fine coffee. What everybody can say Sun Project, APC/UCCO TASTY! It's fresh, so-mild, with some special coffee's University of Chicago bitter and sourtaste. LET'S HAVE SUCH A COFFEE! NOW! [EMAIL PROTECTED] Please love CAFE MIAMI. Many thanks.
Migrating from MH to mutt (helpful muttrc)
I've posted my .muttrc, which has a bunch of MH-like keybindings (the ones I use most). If you're switching over from MH, you might find that this helps ease the transition. Enjoy! http://www.aquick.org/adam_muttrc.txt -- - Adam - Adam Fields, Managing Partner, [EMAIL PROTECTED] Surgam, Inc. is a technology consulting firm with strong background in delivering scalable and robust enterprise web and IT applications. Ask about Vignette maximization: http://www.surgam.net/vignette.html
Re: [OT] Vim
David Champion said: * On 2002.08.26, in [EMAIL PROTECTED], * Ken Weingold [EMAIL PROTECTED] wrote: I would never do that. Sometimes Spamassassin catches real mail as spam. If I could be so lucky. Sometimes. Heh. it's been my experience that the latest SA (v2.31) is much better at distinguishing real mail from spam than earlier version. And v2.40 is due Really Really Soon Now, they say. -- PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF Member, LEAF Project http://leaf.sourceforge.netAIM: MikeLeone Public Key - http://www.mike-leone.com/~turgon/turgon-public-key.asc Some days you're the pigeon; some days you're the statue. Random Thought: --
Re: mutt and gnupg setup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Said Markus Ni?l on Sun, Aug 25, 2002 at 04:38:26PM +0200: I have recently installed gnupg-1.0.7 and I'd like to use it with mutt. But I can't use gnupg with mutt out of the box: the muttrc has to modified to tell mutt explicitely the different commands to sign and encrypt, etc. Where can I find such a setup for gnupg? See my guide at the URL below. - -- [!] Justin R. Miller [EMAIL PROTECTED] Encrypted email preferred (key 0xC9C40C31) Mutt handy guides @ http://codesorcery.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9ap6L94d6K8nEDDERAgC6AJ0RBBqQAPMkl0WskviqY/6s8gW9twCfUr4m Gec4djvh2mrwhHMangV2GxE= =Pcow -END PGP SIGNATURE-
MH folders
I am trying Mutt as a replacement for my current MUA. So far, I'm very happy with it but have run into one small challenge. My old MUA uses MH format for the folders and I have lots of folders. I have put .xmhcache into each folder so I can read them with Mutt. I use procmail to sort my mail into various folders; work e-mail into my work folder, mutt-user e-mails in my mutt folder, etc. I have defined my different folders as mailboxes within my .muttrc. The problem is that Mutt doesn't seem to know when there are new e-mails in these folders. Is there anything I can do? Thanks. -- Michael Herman msg30437/pgp0.pgp Description: PGP signature
Re: mutt-newbie list
* Sven Guckes: it'll be for newbies. and for newbies only. it's unmoderated and open for all to post - including spammers. automatic posts will tell them to rtfm and google - once a week. like i said - this list is for newbies. * Rob 'Feztaa' Park [EMAIL PROTECTED] wrote: You remind me a lot of Dogbert. * David Champion [EMAIL PROTECTED] [2002-08-26 03:35]: I love mutt. I set an alias to remind me of this insightful remark, and right after a ^L redraw, all messages from Sven show up as: 6761 020824 Sven Dogbert Guc 0.4K [mutt-usr] | `-Re: mutt-newbie list damn - our cover is blown, Scott! what now? new name and address? Dogbert
Re: mutt-newbie list
In message 1 of the current thread, Sven Guckes wrote: * Sven Guckes: it'll be for newbies. and for newbies only. Sounds like a list for me. I have a newbie question, and yes, I've looked on google and the manual (though I probably missed something). I'm new to mutt and I'm trying to get mailing list support to work. I put the 'subscribe mutt-users' in my .muttrc and these messages are flagged L correctly, but for some reason when I try to save them it prompts me to save them by the author's address, and not mutt-users. No, I don't have the save_address option turned on. This works for some other lists that I'm on...the key difference is they have an X-list: header and also set the Reply-To: header to the list address. Anyone on this list getting it to automatically want to save in mutt-users? Thanks in advance for answering my (likely dumb) question. Steve -- Steve Wollkind 810 C San Pedro [EMAIL PROTECTED] College Station, TX 77845 http://njord.org/~steve 979.696.3153 -- The only intuitive interface is the nipple. After that, it's all learned. -- Bruce Ediger, in comp.os.linux.misc, on X interfaces msg30439/pgp0.pgp Description: PGP signature