From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: generate autoloads versus eval-expression-print-level (patch) Date: Sun, 13 Apr 2008 21:53:46 -0400 Message-ID: References: <87hce9i8n5.fsf@blah.blah> <87ej9au0yy.fsf@blah.blah> <87hce58dqy.fsf@blah.blah> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208138038 6104 80.91.229.12 (14 Apr 2008 01:53:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Apr 2008 01:53:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kevin Ryde Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 14 03:54:37 2008 connect(): Connection refused 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 1JlDu0-0007Ir-CU for ged-emacs-devel@m.gmane.org; Mon, 14 Apr 2008 03:54:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JlDtM-0005kI-13 for ged-emacs-devel@m.gmane.org; Sun, 13 Apr 2008 21:53:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JlDtH-0005hg-I2 for emacs-devel@gnu.org; Sun, 13 Apr 2008 21:53:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JlDtF-0005eH-SG for emacs-devel@gnu.org; Sun, 13 Apr 2008 21:53:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JlDtF-0005e5-Oo for emacs-devel@gnu.org; Sun, 13 Apr 2008 21:53:49 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182] helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JlDtF-0004Am-KX for emacs-devel@gnu.org; Sun, 13 Apr 2008 21:53:49 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgcFAGJVAkhMCqsI/2dsb2JhbACBXqc2 X-IronPort-AV: E=Sophos;i="4.25,651,1199682000"; d="scan'208";a="18459266" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 13 Apr 2008 21:53:47 -0400 Original-Received: from pastel.home ([76.10.171.8]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id UFP06047; Sun, 13 Apr 2008 21:53:47 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id C9E598A41; Sun, 13 Apr 2008 21:53:46 -0400 (EDT) In-Reply-To: <87hce58dqy.fsf@blah.blah> (Kevin Ryde's message of "Mon, 14 Apr 2008 10:46:29 +1000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:95150 Archived-At: >> Actually, looking at the code of eval-expression, it seems to only bind >> those variables around the print part, not the eval part. > Yep, eval-expression and eval-last-sexp both seem ok, but eval-defun > not. Eg. C-M-x on (progn print-level) ==> 4. Oh, indeed, and it's not obvious how best to fix it. Hmm... Stefan