zsh-workers
 help / color / mirror / code / Atom feed
From: Zefram <zefram@dcs.warwick.ac.uk>
To: fclim@singnet.com.sg (Fung-Chai Lim)
Cc: zsh-workers@math.gatech.edu
Subject: Re: Autoloading of compctl from dbm database file.
Date: Sat, 30 Nov 1996 16:40:31 +0000 (GMT)	[thread overview]
Message-ID: <8922.199611301640@stone.dcs.warwick.ac.uk> (raw)
In-Reply-To: <9611301332.AA04891@fclim.singnet.com.sg> from "Fung-Chai Lim" at Nov 30, 96 09:31:35 pm

Some general comments.

First, those compctls not currently in the distribution are worth
adding.  The example alias file, however, is a very bad idea, and
should not be included.

We already have a function autoloading facility.  Aliases are cheap to
store, usually short, and people don't have so many of them.  I think
it is therefore not worth adding the database autoloading for them.
However, a dbm database may be a good solution to the problem of
autoloading compctls.

The idea of creating a single global database is flawed.  These
databases *must* be individual.  (However, the capability to use
several database files at once, in a path structure, to allow sharing
of compctls would be good.  Automatic installation of a standard
database of compctls would then be justifiable.) All we really need is
the extra builtin to allow saving and autoloading of compctls, and it
is then easy enough to edit the database by hand from a normal shell.

You limit the code to gdbm, because it does locking.  I suggest that if
we use code like this, that we handle standard dbm as well, either
doing locking ourselves (with more autoconfed code) or ignoring the
issue (after all, the databases won't be changing *that* often).

-zefram


  reply	other threads:[~1996-11-30 16:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-30 13:31 Fung-Chai Lim
1996-11-30 16:40 ` Zefram [this message]
1996-11-30 23:16   ` Bart Schaefer
1996-12-01 12:55     ` Fung-Chai Lim
1996-12-01 14:02     ` Zefram
1996-12-01 17:41       ` Bart Schaefer
1996-12-01 18:08         ` what should compctl's look like? Richard Coleman
1996-12-01 18:54           ` Zefram
1996-12-01 18:38         ` Autoloading of compctl from dbm database file Zefram
1996-12-02 13:23         ` Fung-Chai Lim
1996-12-01 13:22   ` Fung-Chai Lim
1996-12-01 14:17     ` Zefram
1996-12-01 15:38       ` Fung-Chai Lim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8922.199611301640@stone.dcs.warwick.ac.uk \
    --to=zefram@dcs.warwick.ac.uk \
    --cc=fclim@singnet.com.sg \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).