zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Oliver Kiddle <okiddle@yahoo.co.uk>,
	Zsh workers <zsh-workers@sunsite.dk>
Subject: Re: posix compliance
Date: Sun, 23 Jun 2002 17:53:19 +0000	[thread overview]
Message-ID: <1020623175319.ZM2685@candle.brasslantern.com> (raw)
In-Reply-To: <E17LMhA-0008L0-00@bimbo.logica.co.uk>

On Jun 21, 12:35pm, Oliver Kiddle wrote:
} Subject: Re: posix compliance
}
} I wonder if the issue I mentioned in 16853 is going to be a problem for
} them then. We ought to come up with a quick fix for 4.0.

This seems to handle it nicely: only add all the predefined autoloads
when starting up in zsh emulation.  Everything works as usual for any
explicit autoloads set up with zmodload.

Index: Src/mkbltnmlst.sh
===================================================================
RCS file: /extra/cvsroot/zsh/zsh-4.0/Src/mkbltnmlst.sh,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 mkbltnmlst.sh
--- Src/mkbltnmlst.sh	9 Apr 2001 20:14:12 -0000	1.1.1.1
+++ Src/mkbltnmlst.sh	23 Jun 2002 17:43:19 -0000
@@ -20,6 +20,7 @@
 
 exec > $1
 
+echo "  if (emulation == EMULATE_ZSH) {"
 for x_mod in $x_mods; do
     modfile="`grep '^name='$x_mod' ' $CFMOD | sed -e 's/^.* modfile=//' \
       -e 's/ .*//'`"
@@ -60,6 +61,7 @@
     done
     test "x$linked" = xno && echo "#endif"
 done
+echo "  }"
 
 echo
 done_mods=" "

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


  reply	other threads:[~2002-06-23 17:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-18 22:58 Clint Adams
2002-06-20 18:05 ` Jos Backus
2002-06-20 18:13   ` Bart Schaefer
2002-06-20 19:17     ` Jos Backus
2002-06-20 21:31       ` Dan Nelson
2002-06-21  5:19   ` Borsenkow Andrej
2002-06-21 11:35   ` Oliver Kiddle
2002-06-23 17:53     ` Bart Schaefer [this message]
2002-06-20 21:19 Chet Ramey
2002-06-21  4:30 ` Jos Backus

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=1020623175319.ZM2685@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=okiddle@yahoo.co.uk \
    --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).