🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #2029

nn passing file to emacs question

#2029
From: Milt Epstein
Date: Tue, 27 Aug 1991 16:15
25 lines
1781 bytes
Looking at the nn man page, I notice the following section:

     Generally, nn will construct a file with a suitable  header,
     optionally  include  a  copy of the article in the file with
     each non-empty line prefixed by a `>' character  (except  in
     mail  mode),  and invoke an editor of your choice (using the
     EDITOR environment variable) on this file,  positioning  you
     on  the  first  line of the body of the article (if it knows
     the editor).

The part of interest is that last part, about nn position the editor
on the first line of the body of the article.  I would like to know
exactly how nn does this (with emacs in particular).  The problem is
that I have changed some stuff in my .emacs that seems to be defeating
this behavior, and I would like to try to restore it.  (I've added a
find-file-hook that does a couple of things when it sees that it's
editing an nn related file.)

Thanks for your help.

-- 
Milt Epstein
Department of Computer Science
University of Illinois
epstein@cs.uiuc.edu
Technical Details
Message-ID: <28BA7AA3.2290@ibma0.cs.uiuc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!wupost!m.cs.uiuc.edu!ibma0.cs.uiuc.edu!sunc2.cs.uiuc.edu!epstein

Show Full Headers
Complete Article Headers
Message-ID: <28BA7AA3.2290@ibma0.cs.uiuc.edu>
Subject: nn passing file to emacs question
Date: Tue, 27 Aug 1991 16:15:31 +0000
From: epstein@sunc2.cs.uiuc.edu (Milt Epstein)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!wupost!m.cs.uiuc.edu!ibma0.cs.uiuc.edu!sunc2.cs.uiuc.edu!epstein
Newsgroups: news.software.nn
Summary: nn passing file to emacs question
Keywords: nn editor emacs
Sender: news@ibma0.cs.uiuc.edu
Reply-To: epstein@cs.uiuc.edu
Organization: University of Illinois at Urbana-Champaign
Lines: 25