From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#7236: 24.0.50; make-local-hook missing Date: Mon, 18 Oct 2010 19:15:59 -0700 Message-ID: <9D100A0D59D34365AD1993719B18D9D6@us.oracle.com> References: <87y69vbyrk.fsf@mail.eng.it><19644.32383.529459.435414@mail.eng.it> <20101018214207.GB3396@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1287456160 27852 80.91.229.12 (19 Oct 2010 02:42:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Oct 2010 02:42:40 +0000 (UTC) Cc: 7236@debbugs.gnu.org, saint@eng.it To: "'Stefan Monnier'" , "'Alan Mackenzie'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 19 04:42:38 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P829t-0003lG-Uf for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Oct 2010 04:42:38 +0200 Original-Received: from localhost ([127.0.0.1]:55911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P829t-0000zW-Gh for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Oct 2010 22:42:37 -0400 Original-Received: from [140.186.70.92] (port=41589 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P829o-0000zQ-Mm for bug-gnu-emacs@gnu.org; Mon, 18 Oct 2010 22:42:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P829n-0004bI-P7 for bug-gnu-emacs@gnu.org; Mon, 18 Oct 2010 22:42:32 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P829n-0004aY-NW for bug-gnu-emacs@gnu.org; Mon, 18 Oct 2010 22:42:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P81iE-0003cp-15; Mon, 18 Oct 2010 22:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Oct 2010 02:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7236 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7236-submit@debbugs.gnu.org id=B7236.128745439813921 (code B ref 7236); Tue, 19 Oct 2010 02:14:01 +0000 Original-Received: (at 7236) by debbugs.gnu.org; 19 Oct 2010 02:13:18 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P81hW-0003cU-Aw for submit@debbugs.gnu.org; Mon, 18 Oct 2010 22:13:18 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P81hU-0003cP-9R for 7236@debbugs.gnu.org; Mon, 18 Oct 2010 22:13:16 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o9J2GujR003096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 19 Oct 2010 02:16:58 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o9J0ohmu004400; Tue, 19 Oct 2010 02:16:55 GMT Original-Received: from abhmt012.oracle.com by acsmt354.oracle.com with ESMTP id 695397081287454562; Mon, 18 Oct 2010 19:16:02 -0700 Original-Received: from dradamslap1 (/10.159.219.37) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 18 Oct 2010 19:16:02 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: ActvL/5At3Az+WnzT/uMgFUp/javoQAA0Q6w X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 18 Oct 2010 22:14:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40982 Archived-At: > No: m-l-h is also unnecessary when add-hook is called with a nil LOCAL > argument. I know of no case where calling make-local-hook makes > a difference in Emacs>=21. In Emacs 20 also there is a LOCAL optional arg to add-hook. Should all code for Emacs 20-24 remove make-local-hook calls and instead add `t' to an existing call to add-hook? That is, if there already is a call to add-hook, in addition to a call to make-local-hook, should the latter be removed and a non-nil LOCAL arg be added to the former?