From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#23933: 25.1.50; Run a buffer-local hook with mapc Date: Tue, 12 Jul 2016 01:02:59 +0900 (JST) Message-ID: References: <83d1mlft8v.fsf@gnu.org> <8337nhfpxy.fsf@gnu.org> <87furhh0yb.fsf@users.sourceforge.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: ger.gmane.org 1468253078 16232 80.91.229.3 (11 Jul 2016 16:04:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Jul 2016 16:04:38 +0000 (UTC) Cc: npostavs@users.sourceforge.net, tino.calancha@gmail.com, kifer@cs.stonybrook.edu, 23933@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 11 18:04:29 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 1bMdh6-00081N-9k for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Jul 2016 18:04:28 +0200 Original-Received: from localhost ([::1]:34547 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMdh4-000241-JO for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Jul 2016 12:04:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMdgm-0001yd-35 for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2016 12:04:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMdgh-0000m7-33 for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2016 12:04:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMdgg-0000ly-Vx for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2016 12:04:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bMdgg-0005tL-Gf for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2016 12:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Jul 2016 16:04: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.146825299222581 (code B ref 23933); Mon, 11 Jul 2016 16:04:02 +0000 Original-Received: (at 23933) by debbugs.gnu.org; 11 Jul 2016 16:03:12 +0000 Original-Received: from localhost ([127.0.0.1]:47042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMdfr-0005s7-P2 for submit@debbugs.gnu.org; Mon, 11 Jul 2016 12:03:11 -0400 Original-Received: from mail-pa0-f45.google.com ([209.85.220.45]:32770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMdfp-0005ru-MN for 23933@debbugs.gnu.org; Mon, 11 Jul 2016 12:03:09 -0400 Original-Received: by mail-pa0-f45.google.com with SMTP id ks6so11080860pab.0 for <23933@debbugs.gnu.org>; Mon, 11 Jul 2016 09:03:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=jtAH9v5ImmrlAHPf8n0yitptFWL1PatPa/mRoEwwTfw=; b=EC2tNRvXejpo6PqdRrnjTqjsjJ3vBIMJVXPgPnqXAtM3lkOq50wnGJB3hD8KDqY20h NbfHp7OZd2YI9bEI6QTEsmi4D8ByV/fnV9RWLIOKiEuUMdC70h2fZIAtX14qEnMDO4Up 3A4vfqeqKCbXjrjw6RL3RAXBANJr0sPOgfHELJPxOrEfKrdB4C/qbZqPAbOKly8cyY2F WPBJ8Ok5MF35IkJaizIUFwxtuESYZR7GvYq/4q/qL9mWyzGf7HFoYMtQjsB8J9RzE2JR 6+2lJTWSEMmkO7anJpOgyvCWqtdc68LREWbz8u66ZXABNFhKTRYJpnUiqJ5Nyg1XH/Hx wyZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=jtAH9v5ImmrlAHPf8n0yitptFWL1PatPa/mRoEwwTfw=; b=Te763WfqoxMaImP6pDH9nBlmOpy1I0t7Qs7pQ6/A6jaCkE/vjIuO7G6mjSyxn5jXnm +bAirMC/krfMuEolYu91bYKbhnEOk0MdhmIJf1hs15dX56ra82On8NDVlad4CNcbroKp o4TFItuzVme+FD8nruQRKAmoP5oRIlkSHOgcoIeF5E7qQIt8rpKBrS0tOE1FBecnjeUU wEP/+C4l8OJnWRlLTW+giVBjdtTexiCUZUOm6id7Gh/MpcczwP+stWeCqdC8TkPziv2b /kPTcsdjx/btckOngYh+OJ/q6S7Bw1/zMC2Q2R5qPQJurDK3B5aVxAYIeB6fQIZswZK3 j7vA== X-Gm-Message-State: ALyK8tIk+IZ7SnSxTgTfeahDvodURoKn9FaVBXgmRCeXVsIzJNGtebU8J6JXBC2EiPvcWw== X-Received: by 10.66.164.227 with SMTP id yt3mr25564227pab.117.1468252983736; Mon, 11 Jul 2016 09:03:03 -0700 (PDT) Original-Received: from calancha-pc ([240f:6e:c00e:1:6875:2e94:598b:96cb]) by smtp.gmail.com with ESMTPSA id a20sm5431333pfa.27.2016.07.11.09.03.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jul 2016 09:03:03 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) 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:120859 Archived-At: On Sun, 10 Jul 2016, Stefan Monnier wrote: > It might make sense to use something like: > > ;; FIXME: Here we ignore the global part of the > ;; ediff-after-quit-hook-internal hook. > (after-quit-hook-internal (remq t ediff-after-quit-hook-internal)) Thank you very much Stefan for the detailed comments; they really help me to understand deeply the issue. I have pushed your suggested patch to the master branch. Thanks also to Noam and Eli to helping fixing this bug. Tino