🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #30729

Re: Pick a text renderer, any text renderer

#30729
From: Karl Kleinpaste
Date: Tue, 04 Feb 1997 00:00
117 lines
7421 bytes
brad@clari.net (Brad Templeton) writes:
> Really?  So in GNUs you can allow the look of a newsgroup to be customized
> with a page of hyperlinks to web pages

[ Disclaimer: I don't write that much elisp.  (On the other hand,
  imagine what I would do if I did.  And on that note, observe how
  much Lars already does, as the nearest thing to a code-generating
  automaton I've seen.) ]

Yes.  Personally, in Gnus, I think an addition to the summary mode
line would be the place to do it.  Add the format qualifiers to the
set already available there; add function(s) to invoke a server
request of the relevant document, or whatever else the interesting bit
is supposed to do; add the interpretive hook between the format spec
and the invocation function; modify the default setting of the format
if this change is intended as universal; and document the new
capability -- done.  I could do it in a day; Lars could probably do it
in an hour or two.  All that's needed is the server support mechanism
by which to request such per-group format specs.

That is, Emacs' mode lines are already generally clickable.  Sliding
my mouse across it just now, Emacs informs me that "button2 cycles to
the next buffer," which could just as easily (with the appropriate
choice of content there, as above) inform me that "buttonX requests
the FAQ," if a means to obtain the FAQ from the server existed.  The
best approach, IMHO, would be to add very small items to Gnus' mode
line, each of which does the appropriate thing -- such use is limited
in screen space occupation and doesn't intrude on the rest of the
summary display.  Alternatively, if too much screen real estate is
necessary to express all the possibilities one might want there, one
could have a single "click this to get the screen of web-clickable
reference links" item there, which would bring up all those
interesting bits you seem so convinced the user wants.  (The FAQ,
certainly; a general intro to or summary of the group/hierarchy in
question, probably.  I'm unconvinced that a whole lot more than that
is in order.)

> using a language for which there
> are now hundreds of professional development tools and hundreds of thousands
> of people who know how to write it?  A language which you would be willing
> to import random code from semi-trusted strangers to run on your system?

_If_ the goal in sight is per-group customizability, presumably defined
by ClariNet's design choices for clari.*, and presumably defined by
something like the group charter decision for Basic 8 and alt.*
groups, and presumably with similar choices made for other hierarchies
by the entities responsible for those hierarchies...

_Then_ that material would rightly be held at the servers, maintained
in much the same manner as "checkgroups" enforces the active and
newsgroups files, defining for us the new group-format file, and...

_Then_ that material is not something to be beaten upon by millions of
people.  We do not currently expect anyone but clari.* to make choices
for how clari.* groups are delivered.  No one but you issues
checkgroups against clari.*, and no one but you would be expected to
issue group-format updates.  The issue at hand is obviously not so
general as to require that kind of support.

You might as well complain that there's no author-support tools to
generate checkgroups messages.  These things are done once in a blue
moon: When a group is generated; re-issued once in a while as a sanity
check, as checkgroups; and to re-shape your groups' display, if you
feel the need to do that.  (And surely, you might, for clari.*.  In
that area, you are the lone exception to the rule.)

Similar decisions will have to be made regarding extant groups in the
Basic 8 and alt.* by the painful public process, but that's where it
happens, for good or bad.  Again, this sort of miniature format
encoding is not done by everybody.  It's done by a very few people,
who volunteer themselves into the position of "knowledgeable
individual who has accepted responsibility for this important
technical area, who knows how to generate checkgroups messages and
(now) group-format messages."  Yes, those people I will trust to
generate whatever format control is required, whether it's C-style
%-based format strings or macro-ized HTML.  The needs in that area are
not substantial enough to require heavyweight tools, unless one has
decided to step firmly into the land of prettiness'-victory-over-
content: If you honestly believe that format-editing support tools are
needed for this kind of formatting (because there's that much editing
to be done), then I most emphatically do not want to read the groups
for which you are writing per-group formats.  (Alternatively, I want
to ignore your formatting choices.)  What is needed in this area of
formatting is something very close to:

1. Here's the per-article display macro, through which each article's
information (author, subject, date, line count) should be shovelled.
2. Prefix this header to the whole screen, append this trailer.
3. Add these FAQ-and-related-docs clickable items.  (Actually, this
probably belongs as part of the header or trailer.)

What else, exactly, do you propose goes here?  I am presuming, of
course, that we are intending that the tool remain a newsreader, and
not to transmogrify into a general web tool: Integrate closely against
it, without the reader _becoming_ it.

I'll venture to say that, if per-group customization arrives any time
soon, and anyone -- clari.* or other -- begins supplying humongous,
heavyweight, eyeball-abusing, distracting, content-free would-be-
prettiness for these formats, most newsreaders will gain a default
setting whereby they simply ignore those format offerings, and return
to what we Gnusers already have, of per-user customization.  It's
perfectly workable as-is, after all -- the possibility of per-group
customization is just clearly a potential win for Joe Average, if it's
not abused.

I'm not pushing elisp; I don't even much like it myself.  But I loathe
HTML to a far greater extent than my worst nightmares of elisp have
ever been.  Given that most newsreaders are written in C, and that
modifying an arbitrary newsreader to understand these per-group
customization formats will require changes to that C source, it seems
very much the case that a C-leaning style of format spec would be in
order.  To whatever extent Gnus' (well, Emacs') format strings don't
accommodate such expectations, Gnus (Emacs) would have to change.

Technical Details
Message-ID: <vxkg1zcm91e.fsf@pocari-sweat.jprc.com>
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
References: <5cpvo7$3ov@fugue.clari.net> <vxkzpxl8qae.fsf_-_@pocari-sweat.jprc.com> <5d5tak$spb@fugue.clari.net> <vxkpvygmysl.fsf@pocari-sweat.jprc.com> <5d82ja$p7q@fugue.clari.net>

Show Full Headers
Complete Article Headers
Message-ID: <vxkg1zcm91e.fsf@pocari-sweat.jprc.com>
Subject: Re: Pick a text renderer, any text renderer
Date: Tue, 04 Feb 1997 00:00:00 +0000
From: Karl Kleinpaste <karl@jprc.com>
References: <5cpvo7$3ov@fugue.clari.net> <vxkzpxl8qae.fsf_-_@pocari-sweat.jprc.com> <5d5tak$spb@fugue.clari.net> <vxkpvygmysl.fsf@pocari-sweat.jprc.com> <5d82ja$p7q@fugue.clari.net>
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: 214480512
Organization: Justsystem Pittsburgh Research Center
Keywords: format per-group clari groups gnus checkgroups tools screen
Newsgroups: news.software.readers