🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #177007

Re: SLRN questions + emacs

#177007
From: Neil Woods
Date: Fri, 02 Dec 2005 14:50
39 lines
2509 bytes
>>>>> Walter Mitty writes:

> Can anyone tell me how best to deal with the following issues:

> 1) How to start emacs at the end of the header text when SLRN calls it up

Add the line 

set editor_command "emacs  +%d '%s'"

in your ~/.slrnrc, replacing any existing "set editor_command" line
already there. 

> 2) I set the wrap flags in SLRN but it still doesnt wrap the single
>    lines returned from emacs : a) how to get slrn to do the wrappibng
>    or b) how to get slrn to tell emacs to do the wrapping?

You need to tell emacs that you want auto-fill turned on when editing
buffers spawned by slrn.  Probably the simplest way in this instance is
to add the lisp function invocation to the above line, so it becomes

set editor_command "emacs -f turn-on-auto-fill  +%d '%s'"

If you need something a little better, there's a very nice piece of
elisp designed specifically for integrating Emacs with slrn, called
post-mode.  This is available as a Debian package, called
"post-el". Full instructions for installing it are included in the
package.

Before I started using Gnus, I used slrn with Emacs and post-mode, and
it worked pretty well.

> regards.

-- 
Neil.
Don't tell me that worry doesn't do any good.  I know better.  The things
I worry about don't happen.
		-- Watchman Examiner
Technical Details
Message-ID: <87psofh7se.fsf@phun.phasmic.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.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-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <3v8a6mF14arvlU1@uni-berlin.de> <3vadviF14gia4U1@uni-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <87psofh7se.fsf@phun.phasmic.org>
Subject: Re: SLRN questions + emacs
Date: Fri, 02 Dec 2005 14:50:57 +0000
From: Neil Woods <cnw+usenet@pobox.com>
References: <3v8a6mF14arvlU1@uni-berlin.de> <3vadviF14gia4U1@uni-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.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-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: alt.os.linux.debian,news.software.readers
Followup-To: news.software.readers
Lines: 39
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: individual.net SmAwS3qZhvr1OZpYzz5YmAcom/30vwLgUeE7Tf/3tAGdFiZMj6
X-Endless-September-Date: Fri Sep 4476 13:58:48 GMT 1993
X-Emacs-Uptime: 0d 2h 47m 10s
Mail-Copies-To: nobody
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)
Cancel-Lock: sha1:f+i02slYqdf6gr4LJun34iaM39E=