zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: zsh-workers@sunsite.dk (Zsh hackers list)
Subject: Re: PATCH: suffix aliases
Date: Wed, 03 Sep 2003 11:38:47 +0100	[thread overview]
Message-ID: <18526.1062585527@csr.com> (raw)
In-Reply-To: "Oliver Kiddle"'s message of "Wed, 03 Sep 2003 09:55:07 +0200." <30487.1062575707@gmcs3.local>

Oliver Kiddle wrote:
> > I stuck with suffixes instead of patterns, which would have been less
> > efficient and more complicated for little extra gain.
> 
> That's a pity.

Patterns would need to be array-based rather than hash-based.  That way
you don't get a hit if you don't have any pattern aliases.  It's not
at all technically difficult to add.  I think we need suffix aliases for
efficiency anyway.

> > I dutifully added completion to _alias, but it seems that doesn't
> > understand the difference between aliases with different options, so I
> 
> There isn't much point: completing existing aliases when defining new
> ones isn't that useful anyway.

It would be useful when trying to output existing messages.  I'm a bit
bemused why _aliases goes to all that trouble of sorting aliases into
type but _alias doesn't use it.

pws


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited.  
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************


  reply	other threads:[~2003-09-03 10:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-02 21:11 Peter Stephenson
2003-09-02 23:37 ` DervishD
2003-09-03  7:55 ` Oliver Kiddle
2003-09-03 10:38   ` Peter Stephenson [this message]
2003-09-03 12:33     ` Oliver Kiddle
2003-09-03 12:59       ` Peter Stephenson

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=18526.1062585527@csr.com \
    --to=pws@csr.com \
    --cc=zsh-workers@sunsite.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).