🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #262416

Re: [slrn] Interesting macro ideas?

#262416
From: Whiskers
Date: Tue, 07 Nov 2017 13:40
36 lines
2547 bytes
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"

-- 
-- ^^^^^^^^^^
--  Whiskers
-- ~~~~~~~~~~
Technical Details
Message-ID: <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
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>

Show Full Headers
Complete Article Headers
Message-ID: <slrnp03duo.94j.catwheezel@ID-107770.user.individual.net>
Subject: Re: [slrn] Interesting macro ideas?
Date: Tue, 7 Nov 2017 13:40:40 +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>
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: 36
X-Trace: individual.net By5nAG5tzlZ3UZ6VL2izKwVaqBot2Xpy+AFcovvSdiok6RMb/G
Cancel-Lock: sha1:CEsdEOd7VuU/Uxw3rJBAiSvvUd8=
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: 3842621371
X-Received-Bytes: 2441