From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: Why are the tests byte-compiled Date: Fri, 17 Jun 2016 08:13:25 -0700 (PDT) Message-ID: <580a842e-d2f3-49c1-80f7-0dd78d04870a@default> References: <8760ta8amt.fsf@russet.org.uk> <87k2hn26zm.fsf@russet.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1466178493 19646 80.91.229.3 (17 Jun 2016 15:48:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Jun 2016 15:48:13 +0000 (UTC) Cc: emacs-devel@gnu.org To: phillip.lord@russet.org.uk Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 17 17:48:01 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bDw00-00016M-B4 for ged-emacs-devel@m.gmane.org; Fri, 17 Jun 2016 17:48:00 +0200 Original-Received: from localhost ([::1]:58526 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDvzz-0005s4-EF for ged-emacs-devel@m.gmane.org; Fri, 17 Jun 2016 11:47:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDvSm-0004OT-93 for emacs-devel@gnu.org; Fri, 17 Jun 2016 11:13:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDvSg-0006qx-Vw for emacs-devel@gnu.org; Fri, 17 Jun 2016 11:13:40 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:26385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDvSg-0006ql-Nz for emacs-devel@gnu.org; Fri, 17 Jun 2016 11:13:34 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u5HFDUDK006325 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 17 Jun 2016 15:13:30 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u5HFDTex000556 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 17 Jun 2016 15:13:30 GMT Original-Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u5HFDQGO026735; Fri, 17 Jun 2016 15:13:28 GMT In-Reply-To: <87k2hn26zm.fsf@russet.org.uk> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:204446 Archived-At: > >> Conclusion: the emacs tests should not be byte-compiled. > >> Or am I missing something? > > > > Backtraces include byte-code for code that was compiled. They > > should not. Rather, it should at least be possible for a user > > or a program to elide the byte-code in a backtrace. >=20 > Sure, but in this case the byte-code hides everything of use. > I can't see any reason *why* they are byte compiled. Yes, sorry if I was not clear. There are two things that could be improved: 1. The issue you raised, which is whether or not test code should be byte-compiled. 2. Bug #6991, http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D6991. If the code you need to see in the backtrace is byte-compiled then eliding that byte-code won't help. Agreed.