Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire] SHORT descriptions

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
  • To: Geoffrey Derber <Geoffrey.Derber AT Trinity.edu>
  • Cc: Grimoire <sm-grimoire AT lists.ibiblio.org>
  • Subject: Re: [SM-Grimoire] SHORT descriptions
  • Date: Sun, 13 Jul 2003 01:58:04 -0000

In sorcery (the UI) the short description is used. It's also used in
gaze search. There's no reason why the UI couldn't be modified to use
the first line of the long description instead and the short search
eliminated. Elimination of the short field would speed up searches.

On Sat, 2003-07-12 at 21:35, Geoffrey Derber wrote:
> Dufflebunk wrote:
> > I'm currently trying to make a grimoire compiler that will compile
> > sections into single files so that sorcery stuff can work on them much
> > faster. I am, of course, trying to make it so that any valid spell can
> > be converted but (believe it or not) an problem popped up. It's not
> > really a bug right now, so I'm not sure what to do about it. It involves
> > SHORT descriptions being more than one line long:
> > SHORT="Here is a description on
> > two lines"
> > That's perfectly valid bash, it is more than a little difficult for a
> > simple compiler to handle.
> >
> > I wrote a one liner to find all of the spells w/ this problem:
> >
> > for i in /var/lib/sorcery/codex/devel/*/*/DETAILS; do (eval $(grep
> > "SHORT=" $i ) 2>/dev/null || echo "BAD $i") ; done
> > BAD /var/lib/sorcery/codex/devel/audio/alsa-driver-virmidi/DETAILS
> > BAD /var/lib/sorcery/codex/devel/graphics/gltt/DETAILS
> > BAD /var/lib/sorcery/codex/devel/kde/kdebindings/DETAILS
> > BAD /var/lib/sorcery/codex/devel/science/euler/DETAILS
> > BAD /var/lib/sorcery/codex/devel/utils/dmx4linux/DETAILS
> > BAD /var/lib/sorcery/codex/devel/windowmanagers/wmsensormon/DETAILS
> >
> > I figure it's not currently considered a bug since it doesn't break
> > anything and most of the time it's unnoticable. However, this is
> > supposed to be a /short/ description. Should this be considered a bug
> > (and if yes, could the spells be fixed please)?
> >
> Just out of curriosity, does anything actually USE the short
> description. 'gaze what' returns the description, I've been tempted to
> suggest for a while an elimination all together of the short description
> field, and the maintainer field (maintainer being the section
> maintainer) is there any need to list it twice, unless we want to keep
> it as more of a 'submitter'.
>
> Geoff
>
> _______________________________________________
> SM-Grimoire mailing list
> SM-Grimoire AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-grimoire
--


Quidquid latine dictum sit, altum sonatur.
-----------------
PGP public key at
http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x3327A9A5
F1






Archive powered by MHonArc 2.6.24.

Top of Page