From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-request@euclid.skiles.gatech.edu Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.6/8.7.3) with ESMTP id GAA03438 for ; Thu, 21 Nov 1996 06:39:10 +1100 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id OAA05883; Wed, 20 Nov 1996 14:33:01 -0500 (EST) Resent-Date: Wed, 20 Nov 1996 14:33:01 -0500 (EST) Sender: hniksic@public.srce.hr To: Zoltan Hidvegi Cc: rft@cg.tuwien.ac.at, zsh-workers@math.gatech.edu Subject: Re: local variable setting problem/bug References: <199611201533.QAA04141@bolyai.cs.elte.hu> X-URL: ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/ X-Attribution: Hrv X-Face: &}4JQk=L;e.~x+|eo]#DGk@x3~ed!.~lZ}YQcYb7f[WL9L'Z*+OyA\nAEL1M(".[qvI#a2E 6WYI5>>e7'@_)3Ol9p|Nn2wNa/;~06jL*B%tTcn/XvhAu7qeES0\|MF%$;sI#yn1+y" From: Hrvoje Niksic Date: 20 Nov 1996 20:32:46 +0100 In-Reply-To: Zoltan Hidvegi's message of Wed, 20 Nov 1996 16:33:36 +0100 (MET) Message-ID: X-Mailer: Red Gnus v0.66/XEmacs 19.14 Resent-Message-ID: <"9yHOx2.0.pR1.iprao"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2441 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Zoltan Hidvegi (hzoli@cs.elte.hu) wrote: > Hrvoje Niksic wrote: > > Couldn't zsh check its recursion depth? It shouldn't be too hard to > > implement, and would be a win in these cases. > > That was already discussed some time ago. The problem is that one may want > to use recursive functions on purpose and an artificial limit is > undesirable here. Of course. But the artificial limit can be set quite high, so that it server _only_ to prevent core dumps. E.g. XEmacs has max-specpdl-size set to 3000. I suppose it could be easy to add an ulimit-like mechanism to control this value. What do you think of that? -- Hrvoje Niksic | Student at FER Zagreb, Croatia --------------------------------+-------------------------------- `VI' - An editor used by those heretics that don't subscribe to the Emacs religion.