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: byte-compilation woes (cont'd) Date: Tue, 25 Mar 2014 16:19:56 -0700 (PDT) Message-ID: 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 1395789613 27847 80.91.229.3 (25 Mar 2014 23:20:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Mar 2014 23:20:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 26 00:20:21 2014 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 1WSadp-0002Hz-EE for ged-emacs-devel@m.gmane.org; Wed, 26 Mar 2014 00:20:21 +0100 Original-Received: from localhost ([::1]:44871 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSado-0003xS-SW for ged-emacs-devel@m.gmane.org; Tue, 25 Mar 2014 19:20:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSadd-0003ef-NS for emacs-devel@gnu.org; Tue, 25 Mar 2014 19:20:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSadV-0003ne-4G for emacs-devel@gnu.org; Tue, 25 Mar 2014 19:20:09 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:17517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSadU-0003nE-UN for emacs-devel@gnu.org; Tue, 25 Mar 2014 19:20:01 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s2PNJwF2008229 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 25 Mar 2014 23:19:59 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s2PNJvRH019963 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 25 Mar 2014 23:19:58 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id s2PNJvkt013893 for ; Tue, 25 Mar 2014 23:19:57 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:170981 Archived-At: Just wondering whether there is any way around this... With a build from 3/21 I had no problem: In GNU Emacs 24.4.50.1 (i686-pc-mingw32) of 2014-03-21 on ODIEONE Bzr revision: 116829 dancol@dancol.org-20140321121023-5tjxtiws6qa4qyod Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/Devel/emacs/snapshot/trunk --enable-checking=3Dyes,glyphs 'CFLAGS=3D-O0 -g3' 'CPPFLAGS=3D-DGC_MCHECK= =3D1 -Ic:/Devel/emacs/include' LDFLAGS=3D-Lc:/Devel/emacs/lib' With a build from 3/23 I have a problem: In GNU Emacs 24.4.50.1 (i686-pc-mingw32) of 2014-03-23 on ODIEONE Bzr revision: 116869 yamaoka@jpl.org-20140324004210-m3ek4k40qwamyabx Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/Devel/emacs/snapshot/trunk --enable-checking=3Dyes,glyphs 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-Lc:/Devel/emacs/lib 'CPPFLAGS=3D-DGC_MCHECK=3D1 -Ic:/Devel/emacs/include'' Here's the problem. My library help-fns+.el extends help-fns.el in various ways. It is compatible with Emacs 22 through 24. Until now, you could byte-compile it using Emacs 23 and use the compiled file with Emacs 22, 23, or 24 - no problem. Handy for someone (like me) who has multiple Emacs versions. (You could not byte-compile it using 22 or 24 and be able to use the result with other versions, however. Emacs 23 was Goldilocks for this.) With the latest Emacs 24 build (from 3/23), I now must byte-compile help-fns+.el using that build, to be able to use it with that build. And doing that prevents using the compiled file with Emacs 22 or 23. Worse still. If byte-compiled with the latest build it is not even usable with Emacs 24.3 (wrong number of args for `help-window-setup'). What is the symptom if you use the library compiled with Emacs 23 in the latest Emacs 24 build? Buffer *Help* is in Fundamental mode. I have no idea why, and I don't really feel like digging into finding out why, in hopes that some minor tweak might fix things. Anyone have an idea what recent change causes this difference between a build from 3/21 and a build from 3/23? Anyone see a simple fix/workaround to the problem? Thx. As Emacs 24.4 is not yet released, I'm hoping this might represent just another temporary hiccup from "using a revision from that unfortunate period" where an inadvertent mistake crept in temporarily. (There's always room for hope, no?) If not, and if there is no simple workaround, so be it.