zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: Re: PATCH: alias modules
Date: Tue, 21 Dec 1999 22:37:21 +0000	[thread overview]
Message-ID: <E120Xt0-0000Xp-00.1999-12-21-22-36-06@mail3.svr.pol.co.uk> (raw)
In-Reply-To: "Zefram"'s message of "Tue, 21 Dec 1999 10:54:31 GMT." <E120Mw3-00004s-00@crucigera.fysh.org>

Zefram wrote:
> We don't want aliasing under user control.  My view is that aliases are
> for backward compatibility only.
> 
> The point of hierarchical module names is that each module can
> have a canonical global name, and users loading modules can specify
> unambiguously which module they want.  To do that, the user has to give
> the fully-qualified module name at some point.  And since modules are
> usually (auto)loaded in initialisation files anyway, there's no typing
> saved by letting the user set up an abbreviated name.
> 
> But really the reason why I did it this way is that it seems neater.

Still not convinced.  I'm not interested in saving typing this way, but I
am interested in being able to load different modules for testing without
fiddling with $fpath.  The bogus modules don't seem neater to me,
particularly if you look at the library directory without knowing what you
expect to find.  Aliasing with zmodload seems to me to avoid, not create,
hidden grotesqueries within the shell (certainly if you consider the
essential modules to be part of the shell, which I would).

> But as I explained
> earlier, my intention is that there won't eventually be so many.  3.1.7
> should contain aliases only for those modules that existed in 3.1.6,
> and we should consider at some point which modules are really important
> enough to warrant backward compatibility with the old names.

The way I suggested, you can decide by yourself very easily which names
are to exist without the zsh/ prefix.

-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>


  reply	other threads:[~1999-12-21 22:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-16 13:32 zefram
1999-12-20 22:23 ` Peter Stephenson
1999-12-21 10:54   ` Zefram
1999-12-21 22:37     ` Peter Stephenson [this message]
1999-12-22 13:20       ` Zefram

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=E120Xt0-0000Xp-00.1999-12-21-22-36-06@mail3.svr.pol.co.uk \
    --to=pws@pwstephenson.fsnet.co.uk \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).