From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#23933: 25.1.50; Run a buffer-local hook with mapc Date: Sun, 10 Jul 2016 20:28:17 +0200 Message-ID: <87inwd2vr2.fsf@linux-m68k.org> References: <83d1mlft8v.fsf@gnu.org> <831t31fpve.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1468175374 724 80.91.229.3 (10 Jul 2016 18:29:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Jul 2016 18:29:34 +0000 (UTC) Cc: kifer@cs.stonybrook.edu, tino.calancha@gmail.com, Stefan Monnier , 23933@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 10 20:29:17 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 1bMJTg-0001HL-Eo for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Jul 2016 20:29:16 +0200 Original-Received: from localhost ([::1]:56440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMJTf-0001a6-Kp for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Jul 2016 14:29:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMJTX-0001Zw-SV for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 14:29:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMJTS-00075x-Rx for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 14:29:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMJTS-00075q-OX for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 14:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bMJTS-0002T4-It for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 14:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Jul 2016 18:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23933 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23933-submit@debbugs.gnu.org id=B23933.14681753029441 (code B ref 23933); Sun, 10 Jul 2016 18:29:02 +0000 Original-Received: (at 23933) by debbugs.gnu.org; 10 Jul 2016 18:28:22 +0000 Original-Received: from localhost ([127.0.0.1]:45613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMJSo-0002SD-7x for submit@debbugs.gnu.org; Sun, 10 Jul 2016 14:28:22 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:39356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMJSm-0002S4-Cw for 23933@debbugs.gnu.org; Sun, 10 Jul 2016 14:28:20 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3rncDL50Fqz3hjV6; Sun, 10 Jul 2016 20:28:18 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3rncDL3kbgzvkHt; Sun, 10 Jul 2016 20:28:18 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id BzptZuyJCNf2; Sun, 10 Jul 2016 20:28:17 +0200 (CEST) X-Auth-Info: 1kdLHOokXK0u0tgTnmmQd5dbfszqSgQILcfL+dWRK0HUtuYEJhT2Jb4pSBxnfAff Original-Received: from igel.home (ppp-88-217-3-50.dynamic.mnet-online.de [88.217.3.50]) by mail.mnet-online.de (Postfix) with ESMTPA; Sun, 10 Jul 2016 20:28:17 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 19EDE2C2D79; Sun, 10 Jul 2016 20:28:17 +0200 (CEST) X-Yow: I want DUSTIN HOFFMAN!! .. I want LIBERACE!! YOW!! In-Reply-To: <831t31fpve.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 10 Jul 2016 18:56:53 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) 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" Xref: news.gmane.org gmane.emacs.bugs:120809 Archived-At: Eli Zaretskii writes: > Maybe I misunderstand this, but are you saying a hook (and run-hooks) > cannot be used in a file that uses lexical-binding? A hook is always a global variable. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."