zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: John Beppu <beppu@ax9.org>
Cc: zsh-workers@sunsite.dk
Subject: Re: completion newbie question
Date: Thu, 14 Mar 2002 17:17:34 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0203141712500.22595-100000@ns1.sodaware.com> (raw)
In-Reply-To: <20020314233055.GA7934@Ax9.org>

On Thu, 14 Mar 2002, John Beppu wrote:

> I came across an idiom in _cvs that seems unnecessary.
> Before every function definition, there is a guard [...]

The guard is theoretically there so that a user can define his own custom
overrides for each of the guarded functions and simply arrange to have his
own functions autoloaded.  Thus when _cvs is autoloaded, it won't override
the user's existing autoloads for those functions.

In practice I find that all it does is annoy me when I'm debugging, by
making `unfunction _cvs; autoload -U _cvs' insufficient to reload all the
related functions.


      reply	other threads:[~2002-03-15  1:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-14 23:30 John Beppu
2002-03-15  1:17 ` Bart Schaefer [this message]

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=Pine.LNX.4.44.0203141712500.22595-100000@ns1.sodaware.com \
    --to=schaefer@brasslantern.com \
    --cc=beppu@ax9.org \
    --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).