Thread View: news.software.readers
4 messages
4 total messages
Started by Ken Keen
Mon, 22 Jun 1998 00:00
[slrn] Supercite and emacs and slrn
Author: Ken Keen
Date: Mon, 22 Jun 1998 00:00
Date: Mon, 22 Jun 1998 00:00
57 lines
1976 bytes
1976 bytes
I am using
* SunOS 5.6 on a Sparc
* GNU Emacs 19.34.1 (sparc-sun-solaris2.6, X toolkit)
* slrn 0.9.4.6
* non-graphics workstation
and I want to use Supercite, if that is possible.
I have added to .emacs:
(load "supercite")
(setq news-reply-header-hook nil)
(setq message-cite-function 'sc-cite-original)
and have tried in .emacs:
(load "supercite")
(setq news-reply-header-hook nil)
(setq news-reply-mode-hook 'sc-perform-overloads)
(setq mail-setup-hook 'sc-perform-overloads)
(setq message-cite-function 'sc-cite-original)
When following up on a message via slrn, the supercite is loading properly but
nothing happens as it should (i.e., normal slrn quoting occurs).
My guesses:
* I have to modify some .slrnrc variable
* I have to modify my EDIT variable (currently
"emacs -u keen --load=/netapp1/ke/keen/.emacs"
* I have to do more with my .emacs than I listed above.
* Some combination of the above or something else entirely.
Does anyone use a similar unix/emacs/supercite setup and can quote verbatim
from their .slrnrc, .emacs or environmental variables?
Or am I SOL?
I have read the manual, FAQ, other documentation and Deja News. (So blame me
for being a poor readers vs. RTFM ;)
TIA!
--
Man From Utopia
Re: [slrn] Supercite and emacs and slrn
Author: John Klassa
Date: Fri, 26 Jun 1998 00:00
Date: Fri, 26 Jun 1998 00:00
21 lines
1594 bytes
1594 bytes
On 22 Jun 1998 04:29:54 GMT, Ken Keen <TroubleEveryDay@Dangerous.Kitchen> wrote: > When following up on a message via slrn, the supercite is loading > properly but nothing happens as it should (i.e., normal slrn quoting > occurs). This is related to my earlier post (as in, last week) about wanting to pipe the original article through an arbitrary filter before sending it on to your editor... I wrote a perl script to do some of what supercite does, and use that script with exmh, to handle all of my email replies. I wanted to use that same script on all of my followups and replies, with slrn, but the snag seems to be that you can't get at the original article -- you can only get at the preformatted followup/reply template that slrn produces (which isn't what supercite, or my script, wants). If you find an answer, please share it... -- John Klassa / Alcatel Telecom / Raleigh, NC, USA <><
Re: [slrn] Supercite and emacs and slrn
Author: Ian Zimmerman
Date: Sun, 28 Jun 1998 00:00
Date: Sun, 28 Jun 1998 00:00
54 lines
2782 bytes
2782 bytes
> From: klassa@aursgh.aur.alcatel.com (John Klassa) > Newsgroups: news.software.readers > Date: 26 Jun 1998 13:19:26 GMT > > On 22 Jun 1998 04:29:54 GMT, Ken Keen > <TroubleEveryDay@Dangerous.Kitchen> wrote: > > When following up on a message via slrn, the supercite is > > loading properly but nothing happens as it should (i.e., normal > > slrn quoting occurs). > This is related to my earlier post (as in, last week) about wanting > to pipe the original article through an arbitrary filter before > sending it on to your editor... I wrote a perl script to do some of > what supercite does, and use that script with exmh, to handle all of > my email replies. I wanted to use that same script on all of my > followups and replies, with slrn, but the snag seems to be that you > can't get at the original article -- you can only get at the > preformatted followup/reply template that slrn produces (which isn't > what supercite, or my script, wants). FWIW, for very much the same reason people gave in this thread, I abandoned the idea of using the built-in slrn editor shell-out. (Actually there was a time when I had Lisp code to remove the slrn pre-edits and get back at the original article, but that code was getting close to being 1/2 of my .emacs and scarcely comprehensible.) Nowadays I do it like this: 1/ I save the article I want to react to to a special Unix format folder (~/News/.process) 2/ I have an RMAIL folder associated with this Unix folder (~/News/.process.RMAIL). I switch to Emacs, open the RMAIL folder, and refresh it. 3/ I select the relevant article and reply to it. 4/ I save the reply in a file under ~/.postponed. 5/ I post the reply via slrn's postpone mechanism (Esc-P). Actually the steps invloving RMAIL are superfluous if one is willing to use GNUS for replying (as I am not), as GNUS can grok Unix format folders directly. Best, -- Ian T Zimmerman <itz@rahul.net> I came to the conclusion that what was wrong about the guillotine was that the condemned man had no chance at all, absolutely none. Albert Camus, _The Outsider_
Re: [slrn] Supercite and emacs and slrn
Author: John E. Davis
Date: Sun, 28 Jun 1998 00:00
Date: Sun, 28 Jun 1998 00:00
38 lines
2108 bytes
2108 bytes
On 28 Jun 1998 08:40:41 GMT, Ian Zimmerman <itz@kronstadt.boxmail.com>
wrote:
>FWIW, for very much the same reason people gave in this thread, I
>abandoned the idea of using the built-in slrn editor shell-out.
With a macro, it should be very easy to write your own posting routine
that uses the original article. Basically, this would involve using
the intrinsic function `article_as_string' to get the original
article, then use `fopen' and `fputs' to write the article to a file
in, e.g., the postponed directory. Then the macro would call the
appropriate posting function and your editor variable could be
set to read the file that was previously saved, e.g., (untested)
define followup_hook ()
{
variable fp;
variable a;
a = article_as_string ();
fp = fopen (make_home_filename (".original-article"), "w");
if (fp == NULL)
error ("Unable to open file");
() = fputs (a, fp);
() = fclose (fp);
}
When you followup, slrn will call this hook. Now, the original
article should be available to your script.
For other posting functions, wrappers around the functions may be
necessary.
--
John E. Davis Center for Space Research/AXAF Science Center
617-258-8119 One Hampshire St., Building NE80-6019
http://space.mit.edu/~davis Cambridge, MA 02139-4307
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