🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #225261

Re: [slrn] Quoting 'verbatim' text

#225261
From: Xavier Maillard
Date: Sun, 31 Aug 2008 12:42
29 lines
1970 bytes
andrew <andrew@ilium.invalid> writes:

> Hi,
>
> I was wondering if there was any general consensus of the best way of
> presenting 'verbatim' text in a newspost? I am aware that slrn has
> ? exclusively the ability to present as follows:

This works in Gnus but it does not work in trn4.

When I want to copy things verbatim (it is often some source
code), I add the comment string as an introduction (with a
comment) and a trailing triple comment string as the end of
section.

Something like:


;;; This is the beginning of my lisp source
(defun foo ()
 "FOO function. Always returns T."
 t)
;;; end of example

I have tweaked my Gnus setup to recognize these according to the
newsgroup I am currently browsing thus in lisp groups, this
section would be indented and font-locked as if I was in a lisp
buffer (it uses indirect-buffer and friends). This is one of my
favourite snippet in Gnus.
Technical Details
Message-ID: <87hc91tkxk.fsf@gnu.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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!storethat.news.telefonica.de!telefonica.de!news-fra1.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <20080829154459.775@ilium.andrews-corner.org>

Show Full Headers
Complete Article Headers
Message-ID: <87hc91tkxk.fsf@gnu.org>
Subject: Re: [slrn] Quoting 'verbatim' text
Date: Sun, 31 Aug 2008 14:42:47 +0200
From: Xavier Maillard <xma@gnu.org>
References: <20080829154459.775@ilium.andrews-corner.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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!storethat.news.telefonica.de!telefonica.de!news-fra1.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 29
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: individual.net ikIsPJoGhrOkTYsVWx+NaQ2ZltWVIRrZRHWpdafKvHfATse2yM
X-Orig-Path: zogzog.maillard.mobi!not-for-mail
Cancel-Lock: sha1:U0gFXiyZ6M5SbW9EPq51FaqF4W0=
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)
X-Leafnode-NNTP-Posting-Host: 127.0.0.1