Article View: news.software.readers
Article #177008Re: SLRN questions + emacs
From: Walter Mitty
Date: Fri, 02 Dec 2005 15:43
Date: Fri, 02 Dec 2005 15:43
42 lines
2453 bytes
2453 bytes
Neil Woods wrote: >>>>>>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'" I had tried this : it does not work. I'm stumped as to why. The line is begin recognised since the %d is doing its job : but lines are not wrapping. I really dont want wrap mode as a default for all files so dont want to add the text hook in my .emacs. I guess I have to either somehow pass the hook option in the command line or have slrn start emacs using a special init file where its done. from the manual I expected "-f auto-fill-mode" on the command line to work but it didnt.
Technical Details
Message-ID:
<3vb8dnF14p7bqU1@uni-berlin.de>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-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!not-for-mailReferences:
<3v8a6mF14arvlU1@uni-berlin.de> <3vadviF14gia4U1@uni-berlin.de> <87psofh7se.fsf@phun.phasmic.org>Show Full Headers
Complete Article Headers
Message-ID: <3vb8dnF14p7bqU1@uni-berlin.de> Subject: Re: SLRN questions + emacs Date: Fri, 02 Dec 2005 16:43:49 +0100 From: Walter Mitty <mitticus@gmail.com> References: <3v8a6mF14arvlU1@uni-berlin.de> <3vadviF14gia4U1@uni-berlin.de> <87psofh7se.fsf@phun.phasmic.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!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!not-for-mail Newsgroups: news.software.readers Lines: 42 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de rb58nDrHl60D1sajzVAOxgDaxuWPurJyOS9RLjydzRIw== User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013) X-Accept-Language: en-us, en In-Reply-To: <87psofh7se.fsf@phun.phasmic.org>