From mboxrd@z Thu Jan 1 00:00:00 1970 From: johnbent@lanl.gov (John Bent) Date: Tue, 04 Nov 2008 10:18:52 -0700 Subject: [sup-talk] How to make emacs position my cursor for me In-Reply-To: <20081104162542.GA25080@patter.mine.nu> References: <1225813971-sup-1137@sgoldmanlinux.tower-research.com> <20081104162542.GA25080@patter.mine.nu> Message-ID: <1225818851-sup-2254@tangerine.lanl.gov> Excerpts from Stephen Patterson's message of Tue Nov 04 09:25:42 -0700 2008: > On 04 Nov 08, Steve Goldman (sgoldman at tower-research.com) wrote: > > > > I understand your religious fanaticism about top posting, etc. I'll buy into it if you can tell me how to make sup make emacs position my cursor in the correct place when I hit compose or reply. I want to hit 'c' or 'r' and immediately begin typing, instead of navigate around the buffer and dodge quoted text and a hundred signatures. > > Not sure how you set the editor for sup, but "emacs +8" will start the > cursor on line 8. Mail clients (mutt) normally put the cursor at the top > though. > To set the editor for sup, just edit the :editor: line in .sup/config.yaml. vim has the same +N option but for email editing in sup I prefer '+/^\s*\n' which sets the initial cursor position to the first blank line (i.e. following the email headers). John