From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: crashes during Feval from within WINDOW_WANTS_HEADER_LINE_P Date: Sat, 1 Mar 2008 21:35:52 +0000 Message-ID: <8CCF0B2D-4741-4C98-92D9-3C8C88514ABD@gmail.com> References: <76EEBC00-5E78-4BC8-8AE6-8D657F71E94E@gmail.com> <18377.50060.603291.573919@kahikatea.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1204407374 1743 80.91.229.12 (1 Mar 2008 21:36:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Mar 2008 21:36:14 +0000 (UTC) Cc: emacs- devel To: Nick Roberts Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 01 22:36:40 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JVZNj-0005XC-OJ for ged-emacs-devel@m.gmane.org; Sat, 01 Mar 2008 22:36:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVZNC-0006H0-Sa for ged-emacs-devel@m.gmane.org; Sat, 01 Mar 2008 16:36:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JVZN9-0006EU-0n for emacs-devel@gnu.org; Sat, 01 Mar 2008 16:35:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JVZN7-0006A6-5S for emacs-devel@gnu.org; Sat, 01 Mar 2008 16:35:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVZN7-00069u-0h for emacs-devel@gnu.org; Sat, 01 Mar 2008 16:35:57 -0500 Original-Received: from ug-out-1314.google.com ([66.249.92.174]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JVZN6-0006uN-Kb for emacs-devel@gnu.org; Sat, 01 Mar 2008 16:35:56 -0500 Original-Received: by ug-out-1314.google.com with SMTP id a2so1073827ugf.48 for ; Sat, 01 Mar 2008 13:35:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=vFnytIw7Lz9tHL/+fGBGxQMqAu2HSSfMDBrXAKNszaM=; b=NahVFjVpuKtCLHeTtULAr5KNHnKYD8QwTy5WvmvVKhorkCEqswb+fL1EMxm+NVXGoWxmSoYaoH7I8t1XWVSllDtn2c5LYa/Wn3f6x5Dkt6unn+mV4GrVGzDf5uGsIQXA7uOmeTi1Cluo+UHIfN1tlkEjQhWA7SX/zLIhpfSwzOs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=nTWIdJ9f9MbOJ9zSl5S73vJC6Zymg6JmmuK+1vKLBqYYyN4x8oIeVjve6JbSZuzjzNGVIJ3CMjx7q4eGJf7LNL8J2SqsWwoLmxoMzkRutYKViJ0dKsWILgKGmbNJX1jXRk+KHj7WGaL+MuQLsKpNQ5nzC8AFd5bF2Sz/SYBF+Xc= Original-Received: by 10.66.240.12 with SMTP id n12mr3301613ugh.9.1204407355822; Sat, 01 Mar 2008 13:35:55 -0800 (PST) Original-Received: from ?10.0.0.100? ( [62.31.8.254]) by mx.google.com with ESMTPS id r38sm1264586ugc.55.2008.03.01.13.35.54 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 01 Mar 2008 13:35:54 -0800 (PST) In-Reply-To: <18377.50060.603291.573919@kahikatea.snap.net.nz> X-Mailer: Apple Mail (2.919.2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:91005 Archived-At: On 1 Mar 2008, at 20:58, Nick Roberts wrote: >> However, I keep getting crashes, always during the evaluation of said >> function: > > and it looks to me like the elisp function whose name is stored in > `window-wants-header-line-function' is a lisp primitive which either > has > too many argumnts ( > 8 ) or whose argument list has been incorrectly > defined. I found the same in the code, but this is not true. The function is (defun need-header-line-p (window) t) and it seems to get called in some situations without problems. Perhaps there is some re-entrance business when re-display is triggered from the Lisp side? Is that possible? I've not found much in the way of documentation (beyond a section in the the Emacs Lisp Reference), and it's pretty hard to find one's way into the C source. Either way, I've solved my problem now without calling a Lisp function. - D