emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: byte-compilation woes (cont'd)


From: Daniel Colascione
Subject: Re: byte-compilation woes (cont'd)
Date: Tue, 25 Mar 2014 16:42:39 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

On 03/25/2014 04:19 PM, Drew Adams wrote:
> 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 address@hidden
> Windowing system distributor `Microsoft Corp.', version 6.1.7601
> Configured using:
>  `configure --prefix=/c/Devel/emacs/snapshot/trunk
>  --enable-checking=yes,glyphs 'CFLAGS=-O0 -g3' 'CPPFLAGS=-DGC_MCHECK=1
>  -Ic:/Devel/emacs/include' LDFLAGS=-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 address@hidden
> Windowing system distributor `Microsoft Corp.', version 6.1.7601
> Configured using:
>  `configure --prefix=/c/Devel/emacs/snapshot/trunk
>  --enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'
>  LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
>  -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').

I think breaking this way is perfectly reasonable. I don't think we
should invest in downward compatibility of byte-compiled files.

> 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.

Can you please share the Emacs 23 elc file?

> 
> 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.

package.el :-D

> 
> 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.

I took a look at the changelog, but no breaking changes are immediately
apparent.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]