--- Begin Message ---
Subject: |
23.0.60; flet and byte-compilation |
Date: |
Sat, 14 Jun 2008 17:17:12 +0200 |
A much simplified version of the original problem, but still a bug:
Create a file test.el with the following contents:
(defun f (x y)
(flet ((+ (a b) (- a b)))
(+ x y)))
Bytecompile it and load f.elc.
Evaluate the expression (f 1 2). This should yield -1, but the result
will be 3.
In GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
of 2008-05-17 on debian
Windowing system distributor `The X.Org Foundation', version 11.0.70101000
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: C
value of $LANG: de_DE.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Help
Minor modes in effect:
hl-line-mode: t
minibuffer-indicate-depth-mode: t
shell-dirtrack-mode: t
display-time-mode: t
msb-mode: t
mouse-sel-mode: t
icomplete-mode: t
show-paren-mode: t
recentf-mode: t
auto-image-file-mode: t
partial-completion-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
view-mode: t
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#411: 23.0.60; flet and byte-compilation |
Date: |
Tue, 30 Oct 2012 23:56:06 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Version: 24.3
It seems to work (somehow) with the new hotness cl-lib and cl-flet
rather than the old and busted cl and flet.
--- End Message ---