From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: eval-buffer with debug-on-error t Date: Thu, 07 Jul 2005 15:42:38 +0200 Message-ID: <42CD314E.7050709@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1120744254 22849 80.91.229.2 (7 Jul 2005 13:50:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2005 13:50:54 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 07 15:50:39 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DqWlX-00081b-HS for ged-emacs-devel@m.gmane.org; Thu, 07 Jul 2005 15:50:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DqWmu-0001QV-1v for ged-emacs-devel@m.gmane.org; Thu, 07 Jul 2005 09:51:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DqWic-0006sN-JP for emacs-devel@gnu.org; Thu, 07 Jul 2005 09:47:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DqWiT-0006nA-3d for emacs-devel@gnu.org; Thu, 07 Jul 2005 09:47:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DqWiQ-0006k7-Hx for emacs-devel@gnu.org; Thu, 07 Jul 2005 09:46:58 -0400 Original-Received: from [81.228.8.164] (helo=pne-smtpout2-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DqWki-000636-Iz for emacs-devel@gnu.org; Thu, 07 Jul 2005 09:49:20 -0400 Original-Received: from [192.168.123.121] (83.249.205.6) by pne-smtpout2-sn2.hy.skanova.net (7.2.060.1) id 42B94E29002BD35A for emacs-devel@gnu.org; Thu, 7 Jul 2005 15:42:38 +0200 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: Emacs Devel 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:40561 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40561 I have debug-on-error set to t. When I do an eval-buffer and there is an undefined function: (this-is-no-fun) I get the error "Wrong type argument: stringp, nul If I instead let the region be the whole buffer and to eval-region I get a traceback with "Symbol's function definition is void: this-is-no-fun". Is not the later much more useful? Can't eval-buffer return something similar? When debug-on-error is nil eval-buffer returns the same as eval-region.