From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#12895: 24.3.50; Replacement for flet Date: Sun, 31 Jan 2016 18:42:19 +0100 Message-ID: <87zivlodc4.fsf@web.de> References: <87a9uj9efm.fsf@gmail.com> <87lie27vvd.fsf@gmail.com> <87wqxm5vzh.fsf@gmail.com> <87vcd538o2.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454262507 8862 80.91.229.3 (31 Jan 2016 17:48:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Jan 2016 17:48:27 +0000 (UTC) Cc: 12895@debbugs.gnu.org, Stefan Monnier To: Antoine Levitt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 31 18:48:10 2016 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 1aPw6c-0008LV-7o for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Jan 2016 18:48:10 +0100 Original-Received: from localhost ([::1]:42630 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPw6b-00020m-3H for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Jan 2016 12:48:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPw6X-00020Q-Lk for bug-gnu-emacs@gnu.org; Sun, 31 Jan 2016 12:48:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPw6U-0008EC-Fm for bug-gnu-emacs@gnu.org; Sun, 31 Jan 2016 12:48:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPw6U-0008E8-C6 for bug-gnu-emacs@gnu.org; Sun, 31 Jan 2016 12:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aPw6U-00007E-7X for bug-gnu-emacs@gnu.org; Sun, 31 Jan 2016 12:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Jan 2016 17:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12895 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 12895-submit@debbugs.gnu.org id=B12895.1454262453384 (code B ref 12895); Sun, 31 Jan 2016 17:48:02 +0000 Original-Received: (at 12895) by debbugs.gnu.org; 31 Jan 2016 17:47:33 +0000 Original-Received: from localhost ([127.0.0.1]:43394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPw61-000068-Kw for submit@debbugs.gnu.org; Sun, 31 Jan 2016 12:47:33 -0500 Original-Received: from mout.web.de ([212.227.15.14]:64563) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPw60-00005t-3d for 12895@debbugs.gnu.org; Sun, 31 Jan 2016 12:47:32 -0500 Original-Received: from drachen.dragon ([92.77.162.209]) by smtp.web.de (mrweb002) with ESMTPSA (Nemesis) id 0MCqSB-1aGtKA2AKp-009err; Sun, 31 Jan 2016 18:42:21 +0100 In-Reply-To: <87vcd538o2.fsf@gmail.com> (Antoine Levitt's message of "Fri, 16 Nov 2012 15:49:01 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:JJElCX8/nvFGRc3Cs3MfnN626G7deMTYE6vAtZVAvA3BRvwKqRR g/3+SGhWVceedNbtTmfzRqGswRaHdgw0RJwQbVjb870G6o1ql+bKw1PuNzzDY3pI3RZHXhq nNcB/e2IROU1M5tewdHr86+iqk0ZC+Htz28BViE9QW939DUHhs9aAZWdGbzBGgQpq/vRQoF SSFdmZic6cPOjzJi1J3gQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:eYb6RUB0gTI=:T0TOgVaBkbN73ytyf2HPG8 hLumqzYcUMOfXHVuFSS0jBdfX2HCx3yRIf0IHnHmUSYqZBH/hy+HMngAhQHfDUYtSqIznSrfX Q0aDJANMVMvvRSsFDgSYdOGBDcweOTRp1RlCeoKgW3guFdLrM8sB1nCKpU1Ew2qQLQMvGKKMa FehLcTmwysjc8Zc/9g2PpEXQIjcANgzmKRBRPwwsxBivwHOLFqDJLLn5aJt9EytEC+lAS3lk6 GZ1WHC4vsD9/9trcn5Sokb1mYctYJwet8KiS22ws+grkIuIz7GldEdpRqcPwOMNYByJO4GDf8 wu0GR6j4nxw2wrSSi896tPJDBsMkGjpSH7tDlIVMANG394+8Dyf9fsOp/eltwY2q/tE+oxIAd lpDQcsn3lGcXBrsNunDXnbVQnjrMjdLAMEtRq9VsxDx/BwfrPVKH4OApS4gdJtnNyd0qvkTKo 5tkduqw6ZOdNcvr3+nreAJLsmbS65QUybz5RlwEGzbQC759yP1CrzqfmytXxhoBj1Hhu6p5eP qcJIUVn8ZueA3di20EUT0b7LQ8BTgEG47aQynZwoeXN6CtJZgOERBi7vk3X0gQ7l4lkdzglWJ 3PCBl5zktPfXPklKI78fKzeE7KXmGBXS2Lyvb36ZU+EYrSL407NFsP1ODh9BvHdZYX8VzdleO 9EQkkQ9Oh3JRlkMImfoR63T5MXT9fWoBfNj/Ynubr7II/Ri87junsm4YSECqk093/ZgZtMdiz G4VzJ5uGzHfeON0hm02pAQfHOUIK2Tqh8Z7j5ESZew5pKrIWN3T/ctfIcaDxUso7poyqlA69 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:112149 Archived-At: Antoine Levitt writes: > I did like flet, though, and in general, I think it's annoying to users > to remove/deprecate functionality that are neat ways to get inside lisp > code from outside (dynamic-scoping overrides, advices, etc.) just > because they are bad practice and make debugging harder. BTW, let me add to the (valid) warnings that this can still be achieved with cl-letf: (cl-letf (((symbol-function 'some-function) #'some-other-function)) code...) The created binding to the symbol-function place is dynamical. Michael.