From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: "F. G. Marx" <fmarx@bellatlantic.net>, zsh-workers@sunsite.dk
Subject: Re: Example from manual seems broken
Date: Tue, 17 Apr 2001 04:45:50 +0000 [thread overview]
Message-ID: <1010417044550.ZM14033@candle.brasslantern.com> (raw)
In-Reply-To: <15067.48757.697880.303760@starf.org>
On Apr 16, 11:54pm, F. G. Marx wrote:
}
}
} 1. The following example from zshexpn.1 FILENAME_EXPANSION is broken in
} zsh-4.0.1-pre-3:
}
} zsh -f
} $> setopt extendedglob
} $> foo="a string with a message"
} $> if [[ $foo = (a|an)' '(#b)(*)' '* ]]; then
} then> print ${foo[$mbegin[1],$mend[1]]}
} then> fi
} $> zsh: bad math expression: operand expected at `$mend[1]'
I don't know exactly why this was broken, but my patch in 13992 fixes it.
So maybe I should commit that patch after all.
} 2. I've got _normal complaining about _use_lo not being found after
} upgrading from dev-2 to dev-3.
Remove your ~/.zcompdump file and let compinit rebuild it. _use_lo has
been renamed to _gnu_generic.
} 3. I'm sorry, I wasn't paying attention: why are the completion functions
} in new sub-subdirectories in source, but amalgamated in --fndir ?
The sub-subdirs are for organizational convenience of the developers, for
the most part. If one is writing a new completion function it helps to
be able to find other functions that serve a similar purpose. The subdirs
(one level up) are for selective installation, so that e.g. you can leave
out the X11 functions on a system with no X display, or leave out the BSD
functions on Linux, etc.
However, it was deemed unlikely that anyone would e.g. want to install the
Unix/Command collection without also installing the Unix/Type collection
on which it depends, etc.; and the $fpath gets rather unwieldy with all
those subdirectories. So installation removes one level if you give the
--enable-function-subdirs configuration option, and removes both levels
otherwise.
--
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
next prev parent reply other threads:[~2001-04-17 4:50 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-15 8:06 PATCH: Assorted parameter stuff Bart Schaefer
2001-04-17 3:54 ` Example from manual seems broken F. G. Marx
2001-04-17 4:45 ` Bart Schaefer [this message]
2001-04-18 6:57 ` PATCH: Assorted parameter stuff Bart Schaefer
2001-04-18 8:44 ` Sven Wischnowsky
2001-04-19 3:57 ` Bart Schaefer
2001-04-19 7:05 ` Sven Wischnowsky
2001-04-19 8:53 ` fpath problem on clean install Andrej Borsenkow
2001-04-19 9:50 ` PATCH: " Sven Wischnowsky
2001-04-19 14:02 ` Andrej Borsenkow
2001-04-19 9:20 ` PATCH: Assorted parameter stuff Andrej Borsenkow
2001-04-19 9:47 ` Bart Schaefer
2001-04-19 9:34 ` Bart Schaefer
2001-04-20 5:20 ` Bart Schaefer
2001-04-17 18:30 ` Patterns quoting in subscript (was: Re: PATCH: Assorted parameter stuff) Andrej Borsenkow
2001-04-18 7:38 ` Bart Schaefer
2001-04-18 8:10 ` Bart Schaefer
2001-04-18 8:34 ` Andrej Borsenkow
2001-04-18 8:45 ` Andrej Borsenkow
2001-04-18 17:26 ` Bart Schaefer
2001-04-18 20:14 ` 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=1010417044550.ZM14033@candle.brasslantern.com \
--to=schaefer@candle.brasslantern.com \
--cc=fmarx@bellatlantic.net \
--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).