Thread View: news.software.nn
2 messages
2 total messages
Started by Milt Epstein
Tue, 27 Aug 1991 16:15
nn passing file to emacs question
Author: Milt Epstein
Date: Tue, 27 Aug 1991 16:15
Date: Tue, 27 Aug 1991 16:15
25 lines
1781 bytes
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
Re: nn passing file to emacs question
Author: Milt Epstein
Date: Tue, 27 Aug 1991 20:48
Date: Tue, 27 Aug 1991 20:48
34 lines
2369 bytes
2369 bytes
In <28BA7AA3.2290@ibma0.cs.uiuc.edu> epstein@sunc2.cs.uiuc.edu (Milt Epstein) writes: >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. Actually, I've discovered that the problem has to do not with changes in my .emacs, but the fact that my EDITOR environment variable now points to a script I wrote that calls emacs internally (I set it up that way so I could specify a command line option to emacs). So, I guess I woul add the additional question, how does nn know what editor is being called? -- Milt Epstein Department of Computer Science University of Illinois epstein@cs.uiuc.edu
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads