[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems with flet on last emacs
From: |
Stefan Monnier |
Subject: |
Re: problems with flet on last emacs |
Date: |
Wed, 27 Jun 2012 11:29:10 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
>> stranges things happen with recent Emacs.
>> All functions that use flet don't work anymore.
And I hopefully have fixed this about half an hour ago.
> flet is a macro in cl-macs.el
> in emacs-version "23.4.2":
[...]
> This is spooky, because it rebinds the function slot of the symbol
> (globally).
Yes, it's pretty ugly.
> In Common Lisp, flet is a lexical binding.
> An alternative (and more correct) implementation of flet would use a
> code walker to substitute any call to (f 42) by something like:
> (--cl-letf-function-- 42).
`cl-flet' does something sane along these lines, which should be
compliant with the Common-Lisp semantics.
Stefan
- problems with flet on last emacs, Thierry Volpiatto, 2012/06/27
- Re: problems with flet on last emacs, Pascal J. Bourguignon, 2012/06/27
- Re: problems with flet on last emacs,
Stefan Monnier <=
- Re: problems with flet on last emacs, Thierry Volpiatto, 2012/06/27
- Re: problems with flet on last emacs, Ivan Kanis, 2012/06/28
- Re: problems with flet on last emacs, Thierry Volpiatto, 2012/06/28
- Re: problems with flet on last emacs, Ivan Kanis, 2012/06/29
- Re: problems with flet on last emacs, Thierry Volpiatto, 2012/06/29
Re: problems with flet on last emacs, Tassilo Horn, 2012/06/27