Article View: news.software.readers
Article #55638Re: slrn crossposting
From: John E. Davis
Date: Mon, 20 Dec 1999 00:00
Date: Mon, 20 Dec 1999 00:00
36 lines
2106 bytes
2106 bytes
On 20 Dec 1999 01:30:25 GMT, Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu>
wrote:
>without some features I had been working on in my version. Unfortunately I
>see no way to turn it off for some groups where it is likely to fail (source
It can be turned off on a group-by-group basis via
define article_mode_hook ()
{
if (current_newsgroup () == WHATEVER)
set_integer_variable ("emphasized_text_mode", 0);
else
set_integer_variable ("emphasized_text_mode", 3);
}
I thought about creating some sort of convention for source code in
messages that a newsreader can easily recognise and not interpret
otherwise. For example, a signature is denoted with with the string
"-- ". Why not something similar for source code? Specifically, I
entertained the idea of allowing "#v+" start a source code section and
"#v-" end it, e.g.,
#v+
defined article_mode_hook ()
% whatever
#v-
This has the advantage of being extremely simple to implement and easy
for the person composing the message. Moreover, I like it much better
than a more complex form of markup such as <code> ... </code> or
wrapping it up in a section surrounded by MIME headers.
Any thoughts on this?
Thanks,
--John
Technical Details
Message-ID:
<slrn85rctv.1a9.davis@aluche.mit.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn85akbd.3vvs6jp.raf@raf.hawaii.rr.com> <slrn85d4d2.36v.fschueller@fschueller.cologne.de> <slrn85dm64.4bc.bluemoon@ux6.cso.uiuc.edu> <slrn85qp66.av4.tststs@starflower.tststs.ddns.org> <slrn85r1kr.37u.bluemoon@ux6.cso.uiuc.edu>Show Full Headers
Complete Article Headers
Message-ID: <slrn85rctv.1a9.davis@aluche.mit.edu> Subject: Re: slrn crossposting Date: Mon, 20 Dec 1999 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn85akbd.3vvs6jp.raf@raf.hawaii.rr.com> <slrn85d4d2.36v.fschueller@fschueller.cologne.de> <slrn85dm64.4bc.bluemoon@ux6.cso.uiuc.edu> <slrn85qp66.av4.tststs@starflower.tststs.ddns.org> <slrn85r1kr.37u.bluemoon@ux6.cso.uiuc.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 562868952 X-Trace: dreaderd 945664972 22873 18.75.2.45 Organization: Center for Space Research User-Agent: slrn/0.9.6.0 (Linux) Reply-To: davis@space.mit.edu Newsgroups: news.software.readers