From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.bugs Subject: bug#411: 23.0.60; flet and byte-compilation Date: Thu, 25 Sep 2008 13:45:47 -0400 Message-ID: References: <87wsh1x95k.fsf@cyd.mit.edu> Reply-To: rms@gnu.org, 411@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1222366290 24461 80.91.229.12 (25 Sep 2008 18:11:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2008 18:11:30 +0000 (UTC) To: Chong Yidong , 411@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 25 20:12:27 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KivKA-0004kL-SI for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Sep 2008 20:12:23 +0200 Original-Received: from localhost ([127.0.0.1]:49849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KivJ8-0000BN-1m for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Sep 2008 14:11:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KivHu-000873-Ki for bug-gnu-emacs@gnu.org; Thu, 25 Sep 2008 14:10:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KivHs-00085e-Ht for bug-gnu-emacs@gnu.org; Thu, 25 Sep 2008 14:10:01 -0400 Original-Received: from [199.232.76.173] (port=47449 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KivHs-00085S-An for bug-gnu-emacs@gnu.org; Thu, 25 Sep 2008 14:10:00 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37145) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KivHr-0008DG-8s for bug-gnu-emacs@gnu.org; Thu, 25 Sep 2008 14:10:00 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8PI9sCA027958; Thu, 25 Sep 2008 11:09:54 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8PHt3Dp023750; Thu, 25 Sep 2008 10:55:03 -0700 X-Loop: don@donarmstrong.com Resent-From: "Richard M. Stallman" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 25 Sep 2008 17:55:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 411 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 411-submit@emacsbugs.donarmstrong.com id=B411.122236487822528 (code B ref 411); Thu, 25 Sep 2008 17:55:03 +0000 Original-Received: (at 411) by emacsbugs.donarmstrong.com; 25 Sep 2008 17:47:58 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8PHlsBu022522 for <411@emacsbugs.donarmstrong.com>; Thu, 25 Sep 2008 10:47:55 -0700 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KiuuR-0004K2-2X; Thu, 25 Sep 2008 13:45:47 -0400 In-reply-to: <87wsh1x95k.fsf@cyd.mit.edu> (message from Chong Yidong on Wed, 24 Sep 2008 22:16:07 -0400) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 25 Sep 2008 14:10:01 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20778 Archived-At: > I guess byte-compile-associative mangles the '(+ x y) form without > regard for the redefinition in effect. I don't know if that is > fixable, or should be a documented caveat with regards to primitives. I don't see how to fix this, and my inclination is to just document this limitation in the docstring of `flet'. Stefan, WDYT? I am not sure if it is worth fixing, but one possible way One possible way to fix it is to make the byte compiler check that the function has a subr definition as usual.