From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#12124: 24.1.50; warning pollution Date: Fri, 03 Aug 2012 12:37:18 +0200 Message-ID: <87fw849s81.fsf@gmail.com> References: <87txwlkxwd.fsf@kanis.fr> <87ipd19o8s.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1343990316 32510 80.91.229.3 (3 Aug 2012 10:38:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Aug 2012 10:38:36 +0000 (UTC) Cc: 12124@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 03 12:38:36 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1SxFH9-0002YT-WA for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Aug 2012 12:38:36 +0200 Original-Received: from localhost ([::1]:34865 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxFH9-0005lb-58 for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Aug 2012 06:38:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxFH6-0005lJ-8Y for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2012 06:38:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SxFH2-0001Kw-5e for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2012 06:38:32 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxFH2-0001Ko-1v for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2012 06:38:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SxFOM-0003ou-Sb for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2012 06:46:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Aug 2012 10:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12124 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12124-submit@debbugs.gnu.org id=B12124.134399071714625 (code B ref 12124); Fri, 03 Aug 2012 10:46:02 +0000 Original-Received: (at 12124) by debbugs.gnu.org; 3 Aug 2012 10:45:17 +0000 Original-Received: from localhost ([127.0.0.1]:58344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SxFNX-0003nh-NJ for submit@debbugs.gnu.org; Fri, 03 Aug 2012 06:45:16 -0400 Original-Received: from mail-wg0-f46.google.com ([74.125.82.46]:39350) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SxFNP-0003mm-W5 for 12124@debbugs.gnu.org; Fri, 03 Aug 2012 06:45:08 -0400 Original-Received: by wgbdq10 with SMTP id dq10so385309wgb.15 for <12124@debbugs.gnu.org>; Fri, 03 Aug 2012 03:37:27 -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=ck6a2mfa3Hq6CHrOcE+AU0PPxHayBreanGETQkNZkOA=; b=0ypiiioT5CnaVWFFFDzm6d4Mb0tFKPWArhCjI9xvtWIfeVnf9a0O9A/ukYaZyHIMUn 85MfiWBOrfEl/mOeVgA1+mLM3pT+B56NJom3CWAHesttOtUsMyUFdvlHAb47bsGTX+7M hRGZN7rf29iKCa4UGEf2mu+Fz8mONRA4xCpa0D1KbGNm5bdiMemYvGjetqfeRqVD4Odm tzZVsLf8wfTlb+uNPpZTVx6QOWhxBxIZgbvXNH0PBC04D3KbHjqWl/P8vd/sYnD/lFfh Zfwn52y0nFAhSNWJ13vXyreut+wZYDQWVhG6epEO/K52BaHY6gVXRLSa8EVrqfjnGC2e EzqA== Original-Received: by 10.216.93.6 with SMTP id k6mr723968wef.86.1343990247876; Fri, 03 Aug 2012 03:37:27 -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 bc2sm24886914wib.0.2012.08.03.03.37.25 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 03 Aug 2012 03:37:26 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Fri, 03 Aug 2012 05:52:37 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62788 Archived-At: Stefan Monnier writes: >> Why instead of keeping old definitions of labels and flet don't we use >> aliases for cl-flet/labels (among others)? > > Because they do not do the same (almost, but not quite). But the warnings say to use cl-flet/labels instead, so it should works as expected, what is the difference? >> It would also fix a problem of compatibility of compiled files between >> 24.1 and 24.2.(All files containing flet or labels need recompilation). > > That's news to me: these macros should return code that's independent > from CL, so they should not require recompilation. > Please report with details. It seems that a simple form of flet works without recompiling, but a more complex form with a let* inside the flet clause seems to fail silently. (not only maybe, but conjunction of other things) You can try with helm: install it and byte compile it. Do M-x helm-M-x and type some commands. You should have completion on your command. Now switch to another emacs and run the same command: It is not working, no completion. So it is not the flet itself that doesn't work but the function that is called inside this flet clause. recompile with this emacs and restart emacs. It is working. You can find the code of helm-M-x in helm-command.el. NOTE: it use local var byte-compile-dynamic. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997