From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wolfgang J Moeller Newsgroups: gmane.lisp.guile.bugs Subject: {debug,read,readline,print}-{set!,disable,enable} Date: Fri, 29 Apr 2011 14:12:11 +0200 (CEST) Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="1283852805-75421055-1304079131=:12740" X-Trace: dough.gmane.org 1304079144 22888 80.91.229.12 (29 Apr 2011 12:12:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2011 12:12:24 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Apr 29 14:12:19 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QFmYV-0007kh-BU for guile-bugs@m.gmane.org; Fri, 29 Apr 2011 14:12:19 +0200 Original-Received: from localhost ([::1]:59437 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFmYU-0006zy-IQ for guile-bugs@m.gmane.org; Fri, 29 Apr 2011 08:12:18 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFmYR-0006zn-B9 for bug-guile@gnu.org; Fri, 29 Apr 2011 08:12:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFmYP-0001OB-Ql for bug-guile@gnu.org; Fri, 29 Apr 2011 08:12:15 -0400 Original-Received: from emailer.gwdg.de ([134.76.10.24]:42596) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFmYP-0001O4-EE for bug-guile@gnu.org; Fri, 29 Apr 2011 08:12:13 -0400 Original-Received: from gwdw03.gwdg.de ([134.76.5.10]) by mailer.gwdg.de with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1QFmYN-0000kj-Pc for bug-guile@gnu.org; Fri, 29 Apr 2011 14:12:11 +0200 In-Reply-To: X-Virus-Scanned: (clean) by exiscan+sophie X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 134.76.10.24 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5544 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1283852805-75421055-1304079131=:12740 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8BIT Hi, to a first approximation, these are just documentation errors (GUILE 2.0.1 and likely all prior versions): According to the HTML manual: — Scheme Procedure: debug-enable option-name — Scheme Procedure: debug-disable option-name — Scheme Procedure: debug-set! option-name value — Scheme Procedure: print-set! option-name value — Scheme Procedure: read-enable option-name — Scheme Procedure: read-disable option-name — Scheme Procedure: read-set! option-name value In fact, {debug,print,read}-set! are macros that want "option-name" to be a literal symbol, while {debug,read}-{en,dis}able are procedures indeed (apparently taking multiple arguments) that want the "option-name"[s] to be quoted symbol[s]. Given this state of affairs, the docu ought to indicate at least some kind of difference between the macros and procedures ... Ch. 7.8.2 ("Readline Options") isn't affected the same way, however it doesn't mention readline-enable, although the procedure index says so; on the other hand that page has a reference to (no longer existing) "evaluator" options. Just saying ;-) [Noticed while looking for something like V1 (debug-disable 'debug) that might speed up execution.] Best regards, Wolfgang J. Moeller, Tel. +49 551 47361, wjmheenes.com 37085 Goettingen, Germany | Disclaimer: No claim intended! http://www.wjmoeller.de/ -+-------- http://www.heenes.com/ --1283852805-75421055-1304079131=:12740--