Article View: news.software.readers
Article #154Re: on (the ambitiousness of) virtual groups (and other topics)
From: kpc
Date: Fri, 28 Jun 1991 01:01
Date: Fri, 28 Jun 1991 01:01
93 lines
4827 bytes
4827 bytes
on the ambitiousness of virtual newsgroups:
let's define virtual newsgroups on two levels: simple and full. maybe
first we can implement simple ones, then full ones. the only reason i
say this is that i want to _see_ them materialized in some decent
newsreader (by far preferably a lispish one, but i'm losing hope for
gnus)!
simple virtual newsgroups have simple commands (sometimes keystrokes)
to let you perform basic set operations (complement, union,
intersection, -, et al.) on newsgroups, to delete the original
newsgroups, etc. name lookup and crossposts are handled
automatically. basically it's set operations at the newsgroup level
with a good ui. this should be easy to implement, especially in gnus.
full virtual newsgroups let you set inclusion and exclusion criteria
for articles. there are _lots_ of possibilities. this should also be
easy, but there are so many possibilities that we might want to be
more careful how we define them, and in the meantime, having simple
virtual newsgroups will be very useful!
on a language for virtual newsgroups, and killing and keeping and
saving and news reading in general:
i recommend a lispish language, with regular expressions and other
pattern matching features. perl's ok, but lisp might be easier to
read for beginners, even though perl is more algol-like. also, if the
reader is written in it, then it's extensible. lisp has other
advantages, one of which is described below. in any case, i recommend
using the syntax from an existing language.
simple virtual newsgroups should probably have operations
corresponding to set operations. the following is a bad example, but
it shows how we might have an implicit union operation and the "-"
operation in a function call.
(define-virtual-newsgroup "virtual.ai.good" ;define this...
"comp.ai.great" ;use this...
"comp.ai.pretty-good" ;and use this...
- "alt.ai.speculation");but delete a.a.s
;crossposts
of course you want nesting and you want to be able to generate this
command automatically with simple keystrokes so that when new
newsgroups get formed you can add or subtract them to virtual
newsgroups easily... this is one advantage to a lispish language.
with a lispish language you can read in code, modify it, and write it
out again.
i'd really like to see a better, but still completely lispish,
newsreader than gnus, or (anybody?) an improved and faster version of
gnus.
here is an excerpt from an earlier article. i'd change some things
now, but it's got the basic idea.
any comments?
I propose the following definitions as a rough first pass:
Simple: have all newsgroups the names of which match
REGEXP-LIST appear as one VNEWSGROUP.
Have a variable that works like gnus-use-cross-reference for
marking marked cross-referenced articles in one of: (the
matching newsgroups, all of them that are subscribed, all
subscribed newsgroups, all newsgroups) as read.
Have a comment listing the matches in *Newsgroups* on the same
line as VNEWSGROUP.
Example: '('("comp\\.ai\\..*") "(comp.ai)") results in:
123: (comp.ai) comp.ai.edu comp.ai.philosophy comp.ai
Full: have all articles in a set of newsgroups that satisfy
REGEXP-LIST be tested with PREDICATE, if it is a function, for
inclusion in VNEWSGROUP. nil as a PREDICATE implements simple
virtual newsgroups.
Have a variable for whether to mark marked articles as read in
their original newsgroups.
Example: '('("comp\\.ai\\..*") 'concerns-chinese-room "[chinese-room]")
123: [chinese-room] comp.ai.edu comp.ai.philosophy comp.ai
Have a command to add a newsgroup to a simple virtual
newsgroup and unsubscribe it, the way "u" unsubscribes.
Comments?
--
Scheduling, planning, optimization, NP-complete search
Technical Details
Message-ID:
<KPC.91Jun27180145@shepard.arc.nasa.gov>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!unidui!math.fu-berlin.de!ox.com!caen!zaphod.mps.ohio-state.edu!samsung!olivea!uunet!stanford.edu!ptolemy-ri!pluto.arc.nasa.gov!kpcReferences:
<17507@darkstar.ucsc.edu> <EMV.91Jun27121742@bronte.aa.ox.com>Show Full Headers
Complete Article Headers
Message-ID: <KPC.91Jun27180145@shepard.arc.nasa.gov> Subject: Re: on (the ambitiousness of) virtual groups (and other topics) Date: Fri, 28 Jun 1991 01:01:45 +0000 From: kpc@pluto.arc.nasa.gov (kpc) References: <17507@darkstar.ucsc.edu> <EMV.91Jun27121742@bronte.aa.ox.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!unidui!math.fu-berlin.de!ox.com!caen!zaphod.mps.ohio-state.edu!samsung!olivea!uunet!stanford.edu!ptolemy-ri!pluto.arc.nasa.gov!kpc Newsgroups: news.software.readers Sender: usenet@ptolemy-ri.arc.nasa.gov Organization: Sterling at NASA Ames Research Center Lines: 93 In-reply-to: emv@msen.com's message of 27 Jun 91 16:17:48 GMT