From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.devel Subject: Re: problems with flet on last emacs Date: Wed, 27 Jun 2012 15:43:05 +0200 Message-ID: <87ipec3m6u.fsf@gmail.com> References: <87pq8lnd7v.fsf@gmail.com> <87ehp099bb.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1340804621 16911 80.91.229.3 (27 Jun 2012 13:43:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Jun 2012 13:43:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 27 15:43:39 2012 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 1SjsWr-0003ZS-4J for ged-emacs-devel@m.gmane.org; Wed, 27 Jun 2012 15:43:33 +0200 Original-Received: from localhost ([::1]:41077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjsWr-0003g0-3u for ged-emacs-devel@m.gmane.org; Wed, 27 Jun 2012 09:43:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjsWl-0003c4-6M for emacs-devel@gnu.org; Wed, 27 Jun 2012 09:43:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjsWd-0000O7-Ji for emacs-devel@gnu.org; Wed, 27 Jun 2012 09:43:26 -0400 Original-Received: from mail-wi0-f177.google.com ([209.85.212.177]:60167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjsWd-0000N1-BW for emacs-devel@gnu.org; Wed, 27 Jun 2012 09:43:19 -0400 Original-Received: by wibhm11 with SMTP id hm11so771323wib.12 for ; Wed, 27 Jun 2012 06:43:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=QCiHwytfB3fTzTFu9eIUmF6dSWLfo6mQltLG0/C8lZ4=; b=FpU/rosRaEbIuUEkNqLd93NHXvTGVlhCO902C1a3MSevIZJoqe1F1yvV4Z1rZs6eoJ /Fsymq6cw9bC54MvQ3EtiQvHi71Q5WdHlmDfrbuI9vS1n8Xpi37AMP9DiegUpMFzh85J Pr0tXzuLt/RU4NS9hIFiVYl8KguCoCxDZtaPTswEuKDuP0LBzzAG6BggEDrJbKOPo/C+ YC+gPrmlkc7Ji6gvL/6ZCQRPnsKM+ki0o0uCKhI+kA+xw1NNgWhQgJSU7iLO9xgQUcok uhJJ1X4E7wSb2ocRiIxny4IgL+ZrJFuf3G/ny+bvIlR9eVrtL5HMlBw1+17HxmUgMMPm 77yg== Original-Received: by 10.180.84.35 with SMTP id v3mr4867158wiy.20.1340804596437; Wed, 27 Jun 2012 06:43:16 -0700 (PDT) Original-Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id m4sm10452180wie.1.2012.06.27.06.43.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 27 Jun 2012 06:43:15 -0700 (PDT) In-Reply-To: <87ehp099bb.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Wed, 27 Jun 2012 15:24:40 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.177 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:151215 Archived-At: Tassilo Horn writes: > Thierry Volpiatto writes: > >> All functions that use flet don't work anymore. >> The anonymous function defined by the flet is not read. >> (i.e void function foo) > > Oh, yes, that occured to me too. > >> I could make it working by restarting my computer, recompiling >> some libraries, (helm, slime) and it worked. > > Not for me. I've tried to rebuild every elisp package, but the error > persists. > >> When I recompile files, restart Emacs, the problem occur again. >> I have not this problem on 24.1. > > Ditto, currently I'm running the released version without problems. > >> Any ideas? >> If not I will send a bug report. > > Please do so. Here's a recipe: > > 1. emacs -Q > 2. goto *scratch* > 3. eval > > (require 'cl) > (flet ((foo () 1)) > (foo)) > > > Debugger entered--Lisp error: (void-function foo) I can confirm that, of current-release (24.1) it return 1 as expected. > The macroexpansion is a bit strange: > > (let* ((x (cl-function (lambda nil (cl-block foo 1)))) > (x (symbol-function (quote foo)))) > (unwind-protect (progn > (fset (quote foo) x) > (foo)) > (fset (quote foo) x))) > > Two times `x', and those should probably gensyms, anyway... > > Bye, > Tassilo -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997