From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#13305: 24.2; describe-function gives incorrect function location information (for functions changed in a hook?) Date: Thu, 03 Jan 2013 12:19:51 -0500 Message-ID: References: <87a9ssvgql.fsf@foil.strangled.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1357233611 31083 80.91.229.3 (3 Jan 2013 17:20:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jan 2013 17:20:11 +0000 (UTC) Cc: 13305@debbugs.gnu.org To: Mark Lillibridge Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 03 18:20:28 2013 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 1TqoSu-0007sf-OA for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Jan 2013 18:20:24 +0100 Original-Received: from localhost ([::1]:55344 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqoSf-000085-Hg for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Jan 2013 12:20:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqoSY-0008W9-No for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2013 12:20:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqoSX-0005MP-1s for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2013 12:20:02 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqoSW-0005ME-Ur for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2013 12:20:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TqoSY-00082F-SJ for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2013 12:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Jan 2013 17:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13305 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 13305-submit@debbugs.gnu.org id=B13305.135723359630867 (code B ref 13305); Thu, 03 Jan 2013 17:20:02 +0000 Original-Received: (at 13305) by debbugs.gnu.org; 3 Jan 2013 17:19:56 +0000 Original-Received: from localhost ([127.0.0.1]:41825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TqoSR-00081o-W4 for submit@debbugs.gnu.org; Thu, 03 Jan 2013 12:19:56 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:30465) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TqoSQ-00081i-ON for 13305@debbugs.gnu.org; Thu, 03 Jan 2013 12:19:54 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtkGAG6Zu09FxK5W/2dsb2JhbABEDoFtshaBCIIWAQVWIxALDiYHCxQYDSSIIboJkEQDiEKacYFYgjBX X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="211283347" Original-Received: from 69-196-174-86.dsl.teksavvy.com (HELO pastel.home) ([69.196.174.86]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 03 Jan 2013 12:19:52 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id E10D658FAD; Thu, 3 Jan 2013 12:19:51 -0500 (EST) In-Reply-To: <87a9ssvgql.fsf@foil.strangled.net> (Mark Lillibridge's message of "Tue, 01 Jan 2013 11:35:30 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.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.x 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:69335 Archived-At: >> > (add-hook 'rmail-mode-hook >> > (function (lambda() >> > (require 'rmailsum) >> > (defun rmail-summary-output (&optional file-name n) >> I also *strongly* discourage the use of `defun' within another function. > Is this in the elisp manual somewhere? It's exactly what one would > do given experience with scheme or other lisps. In Scheme, a local `define' does not affect the global definition. So it's a completely different operation (it's more like a `let'). Stefan