From xemacs-m  Tue Jul  8 00:28:13 1997
Received: from cerise.sensei.co.uk (glynn@muvies.demon.co.uk [158.152.66.14])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id AAA16519
	for <xemacs-beta@xemacs.org>; Tue, 8 Jul 1997 00:28:11 -0500 (CDT)
Received: (from glynn@localhost) by cerise.sensei.co.uk (8.8.5/8.8.2) id GAA07157; Tue, 8 Jul 1997 06:30:44 +0100
Date: Tue, 8 Jul 1997 06:30:44 +0100
Message-Id: <199707080530.GAA07157@cerise.sensei.co.uk>
From: Glynn Clements <glynn@sensei.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: comint-dynamic-complete
In-Reply-To: <kigoh8ep445.fsf@jagor.srce.hr>
References: <199707080346.EAA06834@cerise.sensei.co.uk>
	<kigoh8ep445.fsf@jagor.srce.hr>
X-Mailer: VM 6.32 under 20.3 "Stockholm" XEmacs  Lucid (beta11)


Hrvoje Niksic wrote:

> Glynn Clements <glynn@sensei.co.uk> writes:
> 
> > In shell mode, if I enter
> > 
> > 	grep ^foo filena
> > 
> > and hit TAB, I get a `not found' error, and everything from the ^
> > onwards is replaced with the previous command from the history.
> > 
> > Setting debug-on-error doesn't produce a backtrace.
> 
> Set `debug-on-signal' to t.
> 
> I cannot repeat it, BTW.

OK here's the backtrace:

Signaling: (error "Not found")
  signal(error ("Not found"))
  cerror("Not found")
  apply(cerror "Not found")
  error("Not found")
  comint-replace-by-expanded-history-before-point(nil)
  comint-replace-by-expanded-history()
  run-hook-with-args-until-success(comint-replace-by-expanded-history)
  #<compiled-function (from "comint.elc") nil "...(7)" [run-hook-with-args-until-success comint-dynamic-complete-functions] 2 ("/usr/local/lib/xemacs-20.3-b11/lisp/comint/comint.elc" . 51982) nil>()
  call-interactively(comint-dynamic-complete)

This is with `-q -no-site-file', with both of Steve's patches to src/data.c.

-- 
Glynn Clements <glynn@sensei.co.uk>

