🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #225558

Re: using emacs on linux with slrn

#225558
From: Adam Funk
Date: Fri, 05 Sep 2008 18:04
40 lines
2320 bytes
On 2008-09-04, CGeek Wannabe wrote:

> Hi,
>
> Has anyone been able to get slrn to work with emacs?
> I set up my .slrnrc file but when I go to post or followup,
> I get a two panel window, the second is .article and the first
> is the message.  I don't think I've got it right.  Here's my .srlnrc
> file...
>
> set editor_command "/usr/bin/emacs %s %d"

I have this:

set editor_command "/usr/bin/emacs -nw +'%d' '%s'

I can't remember exactly why I put the single-quotes around those two
arguments, but there was probably a reason.

I know the "+" is important, though: the command

   /usr/bin/emacs +30 .article

will open file ".article" and position the cursor at line 30 (slrn
generally knows where you want to start editing), whereas

  /usr/bin/emacs .article 30

will open two files, ".article" and "30", in two panels.  This is what
your editor_command is generating, and why you're getting two panels
including an error message (because file "30" doesn't exist).

HTH.


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
Technical Details
Message-ID: <qt88p5-539.ln1@news.ducksburg.com>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!feeder.erje.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <48c0614a$0$4046$9a566e8b@news.aliant.net>

Show Full Headers
Complete Article Headers
Message-ID: <qt88p5-539.ln1@news.ducksburg.com>
Subject: Re: using emacs on linux with slrn
Date: Fri, 5 Sep 2008 19:04:11 +0100
From: Adam Funk <a24061@ducksburg.com>
References: <48c0614a$0$4046$9a566e8b@news.aliant.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!feeder.erje.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: $CABAL
Lines: 40
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 4l8HgzVYv6Ss6RsAuikCaQldLUUdno2PssZtcOb7XsKDLEGGLd
X-Orig-Path: news.ducksburg.com!news
Cancel-Lock: sha1:n9dqYS3DpDRZnXlBrWHyvNlHD2s=
User-Agent: slrn/0.9.9/mm/ao (Ubuntu Hardy)