Article View: news.software.readers
Article #262418Re: [slrn] Interesting macro ideas?
From: Whiskers
Date: Tue, 07 Nov 2017 13:52
Date: Tue, 07 Nov 2017 13:52
41 lines
2802 bytes
2802 bytes
On 2017-11-07, Whiskers <catwheezel@operamail.com> wrote: > On 2017-11-06, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote: >> In message <slrnp01o2h.pc.g.kreme@snow.local> Lewis >> <g.kreme@gmail.com.dontsendmecopies> wrote: >>> In message <f6bugiFmq34U1@mid.individual.net> Will Parsons >>> <wbp@nodomain.invalid> wrote: >>>> Lewis wrote: >>>>> In message <slrnp0074e.g6p.ylee@columbia.edu> Yeechang Lee >>>>> <ylee@columbia.edu> wrote: >>>>>> Lewis wrote: >>>>>>> When you view the scores for a posting, it would be nice if >>>>>>> selecting a score and hitting return would open the score file >>>>>>> *at that point*. >>>>> >>>>>> Already implemented. In .slrnrc, %d is used to pass the desired >>>>>> line number to editor_command. >>>>> >>>>> Hmm. doesn't appear to work (and never has) (I use vim) >> >>>> It's worked for me for years. I don't use vim, but using Emacs the >>>> following works: set editor_command "emacs +%d %s" >> >>> set editor_command "vim -c 'set filetype=mail' +%d %s" >> >> sorry, set post_editor_command > > I have these editor settings, which seem to work as expected: > > set editor_command "vim %s" > set mail_editor_command "vim -c 'set filetype=mail' +8 %s" > set post_editor_command "vim -c 'set filetype=mail' +8 %s" > set score_editor_command "vim -c +%d %s" Oh dear - correction: that last line should of course be set score_editor_command "vim +%d %s" -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Technical Details
Message-ID:
<slrnp03eke.abo.catwheezel@ID-107770.user.individual.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mailReferences:
<slrnovqka0.57k.jbn@forestfield.org> <slrnovua02.21jc.g.kreme@snow.local> <slrnp0074e.g6p.ylee@columbia.edu> <slrnp019nc.1a0p.g.kreme@snow.local> <f6bugiFmq34U1@mid.individual.net> <slrnp01o2h.pc.g.kreme@snow.local> <slrnp01o9l.qp.g.kreme@snow.local> <slrnp03duo.94j.catwheezel@ID-107770.user.individual.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnp03eke.abo.catwheezel@ID-107770.user.individual.net> Subject: Re: [slrn] Interesting macro ideas? Date: Tue, 7 Nov 2017 13:52:14 +0000 From: Whiskers <catwheezel@operamail.com> References: <slrnovqka0.57k.jbn@forestfield.org> <slrnovua02.21jc.g.kreme@snow.local> <slrnp0074e.g6p.ylee@columbia.edu> <slrnp019nc.1a0p.g.kreme@snow.local> <f6bugiFmq34U1@mid.individual.net> <slrnp01o2h.pc.g.kreme@snow.local> <slrnp01o9l.qp.g.kreme@snow.local> <slrnp03duo.94j.catwheezel@ID-107770.user.individual.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail Newsgroups: news.software.readers Organization: is an alien concept Lines: 41 X-Trace: individual.net Viblh2fPqMKbza/LU/76ugl/SStaawY15yfAtU9Th3TybqL6I6 Cancel-Lock: sha1:rhnTaWe4SWjPCuIZncsUwmRZc+Y= X-Face: (8UIp\C%,7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_ "Pmt)1xC~QW%bU/xrlDuux";aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00 xYer];5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@ p& g^8<z5>HA User-Agent: slrn/1.0.3 (Linux) X-Received-Body-CRC: 1641322062 X-Received-Bytes: 2698