From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: problems with flet on last emacs Date: Sat, 10 Nov 2012 17:46:37 -0500 Message-ID: References: <87pq8lnd7v.fsf@gmail.com> <87zk7oq5qr.fsf@kuiper.lan.informatimago.com> <871ul0j5ac.fsf@visionobjects.com> <877gurgae5.fsf@gmail.com> <87mx3m7jyd.fsf@googlemail.com> <8762aaljzd.fsf@gmail.com> <87ehohfkxo.fsf@kanis.fr> <871ukhhqua.fsf@googlemail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1352587609 24884 80.91.229.3 (10 Nov 2012 22:46:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Nov 2012 22:46:49 +0000 (UTC) Cc: emacs-devel@gnu.org, Ivan Kanis , Thierry Volpiatto To: =?iso-8859-1?Q?Jo=E3o_T=E1vora?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 10 23:46:58 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 1TXJpJ-00023J-8U for ged-emacs-devel@m.gmane.org; Sat, 10 Nov 2012 23:46:57 +0100 Original-Received: from localhost ([::1]:53901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXJp9-0008SN-OU for ged-emacs-devel@m.gmane.org; Sat, 10 Nov 2012 17:46:47 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXJp5-0008SH-J9 for emacs-devel@gnu.org; Sat, 10 Nov 2012 17:46:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXJp2-0002ht-HZ for emacs-devel@gnu.org; Sat, 10 Nov 2012 17:46:43 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:54788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXJp2-0002hj-DQ for emacs-devel@gnu.org; Sat, 10 Nov 2012 17:46:40 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09sr+ZY/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNBIUGA0kiBwFugmQRAOIQppxgViDBw X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="206908599" Original-Received: from 108-175-230-88.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([108.175.230.88]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 10 Nov 2012 17:46:38 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id E5EB9AE4B5; Sat, 10 Nov 2012 17:46:37 -0500 (EST) In-Reply-To: (=?iso-8859-1?Q?=22Jo=E3o_T=E1vora=22's?= message of "Sat, 10 Nov 2012 14:12:24 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:154811 Archived-At: > Agree. But don't forget that some of the weirdness might be in > use by libraries. I know. And they'll have to change, e.g. using defadvice. > come. 'flet' is going away now, and 'cl-flet' will provide the same > weird behaviour with a nicer implementation. No, cl-flet is like Common-Lisp's `flet', i.e. lexically scoped, like `labels', but without the mutual-recursion. If you want the "function redefinition" behavior, you need defadvice. Stefan