πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #257289

Re: [slrn-pre 1.0.2-14] 2 buffers per posting in vi

#257289
From: Whiskers
Date: Sun, 20 Apr 2014 16:11
50 lines
3570 bytes
On 2014-04-20, Mike Yetto <unet.lighthouse@xoxy.net> wrote:
> Be it known Mike Yetto <unet.lighthouse@xoxy.net> has declared...
>> Be it known Michael Uplawski <michael.uplawski@uplawski.eu> has
>> declared...
>>> Good afternoon,
>
>>> having used the slrn newsreader intensely some years ago, I have
>>> only recently returned to usenet. This is a pre-release version, but
>>> I observed with the same with the β€œcurrent” stable release from the
>>> Debian repository: having finished writing my posting, I have to
>>> close *two* files in the configured editor, in my case Vim or GVim
>>> respectively, meaning, that I have to issue the command :wq twice. 
>
>> I've been using slrn and (g)vim for several years and have never seen
>> this happen.
>
>>> Here is a screen-shot of the editor with the current buffers:
>>> http://www.petit-fichier.fr/2014/04/20/sc-slrn/ or only the image:
>>> http://www.petit-fichier.fr/2014/04/20/sc-slrn/sc-slrn.png
>
>>> I do not remember if it has always been like that; in the past I had
>>> often used jed instead of vi.
>
>>> Can there be a reason for this double-buffer or have I made a
>>> mistake?  Nothing's urgent.
>
>> Let us see what you are using in .slrnrc to invoke your editor.  It
>> might be a case of wandering quotes.
>
>> From my .slrnrc 
>> #v+ 
>> set post_editor_command "fortune $HOME/news/fortunes > ~/news/.signature; gvim -f +%d '+set tw=65' '%s' 2>>$HOME/.xsession-errors" 
>> #v-
>
> If I change the +%d in the post_editor_command to just %d I will find
> a second buffer in gvim for a file with the name '11'. 
>
> Mike "look familiar?" Yetto

Could be a case of using the parameters for a Jed command, transposed
into a vim command; from my .slrnrc:

 ~]$ grep post_editor_command .slrnrc
 %set post_editor_command "jed --mail-mode '%s' -g %d -tmp "
 set post_editor_command "vim -c 'set filetype=mail' +8 %s"

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Technical Details
Message-ID: <slrnll7sco.1hu.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.20140922.mbox.gz!border2.nntp.ams3.giganews.com!border1.nntp.ams3.giganews.com!backlog3.nntp.ams3.giganews.com!backlog3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <slrnll7meo.dhq.michael.uplawski@drusus.uplawski.eu> <slrn20140420104716.740.twooffive@may.eternal-september.org> <slrn20140420110324.22.twooffive@may.eternal-september.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrnll7sco.1hu.catwheezel@ID-107770.user.individual.net>
Subject: Re: [slrn-pre 1.0.2-14] 2 buffers per posting in vi
Date: Sun, 20 Apr 2014 17:11:04 +0100
From: Whiskers <catwheezel@operamail.com>
References: <slrnll7meo.dhq.michael.uplawski@drusus.uplawski.eu> <slrn20140420104716.740.twooffive@may.eternal-september.org> <slrn20140420110324.22.twooffive@may.eternal-september.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border2.nntp.ams3.giganews.com!border1.nntp.ams3.giganews.com!backlog3.nntp.ams3.giganews.com!backlog3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: is an alien concept
Lines: 50
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 6356DAGVWsh9og8BvxgMCQPN+cFHrWdl3E+Y8cTp5LyzKC2tgu
X-Orig-Path: ID-107770.user.individual.net!not-for-mail
Cancel-Lock: sha1:cavgi2rl1QpaGB6daZk+zmUPfrM=
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.1 (Linux)
X-Original-Bytes: 3257