zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-workers@sunsite.auc.dk
Subject: Re: If someone wants to try...
Date: Wed, 19 Jan 2000 19:38:33 +0000	[thread overview]
Message-ID: <E12B0so-0005jH-00.2000-01-19-19-35-11@mail2.svr.pol.co.uk> (raw)
In-Reply-To: "Sven Wischnowsky"'s message of "Wed, 19 Jan 2000 16:46:18 +0100." <200001191546.QAA15764@beta.informatik.hu-berlin.de>

Sven Wischnowsky wrote:
> Missing initialisation for a tstack field in two places.

Yes, now `which _path_files' (which was in effect what was going wrong
before) works, which is a pretty good test.  

However, I can get a core dump with this:

fn() {

[[ $#ignore -eq 0 && -z $gopt && -n $FIGNORE ]]

if [[ "$pre[1]" = \~ ]]; then; fi

}
which fn

(I'm not saying the last bit should necessarily work, although it would be
nice if it did nothing, simply that it shouldn't core dump when you look at
it.)  It's probably related to:

% fn() { if true; then; fi; }
% which fn
fn () {
        if true
        then

}

> And maybe we should try to avoid building values for arrays and hashes 
> when completing their names (it's autoparamslash if I'm not completely 
> mistaken). No patch for this yet.

Yes, something similar is going on with $mapfile which I noticed before,
although maybe this is deeper in the parameter code: it always executes the
special function to retrieve the value, even if you're about to assign to
it.

-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>


  reply	other threads:[~2000-01-19 19:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-19 15:46 Sven Wischnowsky
2000-01-19 19:38 ` Peter Stephenson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-01-20  8:26 Sven Wischnowsky
2000-01-19 14:02 Sven Wischnowsky
2000-01-19  8:59 Sven Wischnowsky
2000-01-19 11:05 ` Alexandre Duret-Lutz
2000-01-18 10:09 Sven Wischnowsky
2000-01-17 12:50 Sven Wischnowsky
2000-01-18 22:49 ` Tanaka Akira
2000-01-19 12:48 ` Peter Stephenson
2000-01-19 12:53   ` 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=E12B0so-0005jH-00.2000-01-19-19-35-11@mail2.svr.pol.co.uk \
    --to=pws@pwstephenson.fsnet.co.uk \
    --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).