From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: Please fix before the release of 23.1 Date: Sun, 10 Aug 2008 11:15:28 +0200 Message-ID: <18590.45488.891078.545308@a1ihome1.kph.uni-mainz.de> References: <877ibp4hh3.fsf@vorlon.ganneff.de> <871w1xfmsb.fsf@grepfind.mwolson.org> <87ljzj3oad.fsf_-_@grepfind.mwolson.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218359756 18788 80.91.229.12 (10 Aug 2008 09:15:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Aug 2008 09:15:56 +0000 (UTC) Cc: Michael Olson , emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 10 11:16:47 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 1KS72d-0007dm-Kv for ged-emacs-devel@m.gmane.org; Sun, 10 Aug 2008 11:16:47 +0200 Original-Received: from localhost ([127.0.0.1]:59282 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KS71h-0004mx-Jn for ged-emacs-devel@m.gmane.org; Sun, 10 Aug 2008 05:15:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KS71b-0004ln-ED for emacs-devel@gnu.org; Sun, 10 Aug 2008 05:15:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KS71Y-0004gy-Gz for emacs-devel@gnu.org; Sun, 10 Aug 2008 05:15:42 -0400 Original-Received: from [199.232.76.173] (port=52645 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KS71X-0004g0-PP for emacs-devel@gnu.org; Sun, 10 Aug 2008 05:15:39 -0400 Original-Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:57622) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KS71O-00074V-I3; Sun, 10 Aug 2008 05:15:30 -0400 Original-Received: from a1ihome1.kph.uni-mainz.de (a1ihome1.kph.uni-mainz.de [134.93.134.75]) by a1iwww1.kph.uni-mainz.de (8.14.0/8.13.4) with ESMTP id m7A9FMX8031634; Sun, 10 Aug 2008 11:15:22 +0200 Original-Received: from a1ihome1.kph.uni-mainz.de (localhost [127.0.0.1]) by a1ihome1.kph.uni-mainz.de (8.14.0/8.14.1) with ESMTP id m7A9FTEh025231; Sun, 10 Aug 2008 11:15:29 +0200 Original-Received: (from ulm@localhost) by a1ihome1.kph.uni-mainz.de (8.14.0/8.14.0/Submit) id m7A9FTUW025226; Sun, 10 Aug 2008 11:15:29 +0200 In-Reply-To: X-Mailer: VM 8.0.2-487 under Emacs 22.2.1 (i686-pc-linux-gnu) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) 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:102259 Archived-At: >>>>> On Sat, 09 Aug 2008, Glenn Morris wrote: >>> This is a bug of emacs-snapshot, not semantic. The above >>> compilation error is triggered by the following kind of statement: >>> >>> (eval-when-compile >>> (require 'something) >>> (require 'something-else)) >>> >>> The problem goes away when the lines are changed to: >>> >>> (eval-when-compile (require 'something)) >>> (eval-when-compile (require 'something-else)) >>> >>> This is a regression and needs to be fixed in upstream Emacs. >> This is a pretty serious regression, so I want to bring it to the >> attention of the list again, in hopes it gets fixed before the >> release of 23.1. I think the problem is in the byte-compiler. > If this were true, we wouldn't be able to build Emacs, since there > are numerous instances of such constructs in the source. Since we > can, the problem either does not exist, or cannot be as general as > you suggest. The problem definitely exists and is not a problem of CEDET/Semantic. > So please try to investigate further. Here is a minimal example to reproduce the failure: ,----[ test.el ] | (progn | (require 'cc-mode)) `---- $ emacs -Q test.el M-x eval-buffer This will result in an error: Invalid read syntax: ")" The error disappears if the expression is in one line: ,----[ test.el ] | (progn (require 'cc-mode)) `---- Ulrich