zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: autoload +X[zk]
Date: Tue, 28 Mar 2000 16:10:23 +0200 (MET DST)	[thread overview]
Message-ID: <200003281410.QAA20885@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Sven Wischnowsky's message of Tue, 28 Mar 2000 13:52:38 +0200 (MET DST)


I wrote:

> > Note also the handling of the positional parameters. For the first
> > call (i.e.: when the init code from the file is executed) they are not 
> > set. Only for the appended function call are they set up. This is the
> > behaviour the ksh I have here shows.

Of course, it is already different for `normal' ksh-autoloading:

  % cat foo
  foo() { echo foo "$@"; }
  echo init "$@"
  set a b
  % set x y; setopt kshautoload; fpath=(.); autoload foo; foo 1 2
  init 1 2
  foo a b

And with ksh:

  $ set x y; FPATH=.; autoload foo; foo 1 2
  init x y
  foo 1 2

Oh well...

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


         reply	other threads:[~2000-03-28 14:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-28 11:52 Sven Wischnowsky
2000-03-28 14:10 ` Sven Wischnowsky [this message]
2000-03-28 18:27   ` Bart Schaefer
  -- strict thread matches above, loose matches on Subject: below --
2000-03-28 11:40 Sven Wischnowsky
2000-03-27 11:27 Sven Wischnowsky
2000-03-27 10:49 Sven Wischnowsky
2000-03-27 16:48 ` Bart Schaefer

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=200003281410.QAA20885@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --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).