From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.emacs.bugs Subject: bug#5327: 23.1; unload-feature-special-hooks add fill-nobreak-predicate Date: Sat, 09 Jan 2010 08:28:10 +1100 Message-ID: <87ocl4e179.fsf@blah.blah> References: <87eim4t95o.fsf@blah.blah> Reply-To: Kevin Ryde , 5327@debbugs.gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1262988084 17292 80.91.229.12 (8 Jan 2010 22:01:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Jan 2010 22:01:24 +0000 (UTC) Cc: 5327@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 08 23:01:16 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.50) id 1NTMtP-0004ED-MX for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Jan 2010 23:01:16 +0100 Original-Received: from localhost ([127.0.0.1]:32986 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NTMtQ-0000iw-9o for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Jan 2010 17:01:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NTMhc-0003mB-7E for bug-gnu-emacs@gnu.org; Fri, 08 Jan 2010 16:49:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NTMhX-0003lq-MW for bug-gnu-emacs@gnu.org; Fri, 08 Jan 2010 16:49:03 -0500 Original-Received: from [199.232.76.173] (port=51546 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NTMhX-0003ln-Hx for bug-gnu-emacs@gnu.org; Fri, 08 Jan 2010 16:48:59 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57874) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NTMhX-00087P-75 for bug-gnu-emacs@gnu.org; Fri, 08 Jan 2010 16:48:59 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NTMOE-0007ul-AA; Fri, 08 Jan 2010 16:29:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Mail-Followup-To: Kevin Ryde , 5327@debbugs.gnu.org Resent-From: Kevin Ryde Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Jan 2010 21:29:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5327 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5327-submit@debbugs.gnu.org id=B5327.126298611530411 (code B ref 5327); Fri, 08 Jan 2010 21:29:02 +0000 Original-Received: (at 5327) by debbugs.gnu.org; 8 Jan 2010 21:28:35 +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 1NTMNn-0007uS-AL for submit@debbugs.gnu.org; Fri, 08 Jan 2010 16:28:35 -0500 Original-Received: from mailout1-12.pacific.net.au ([125.255.80.131] helo=mailout1.pacific.net.au) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NTMNl-0007uN-D7 for 5327@debbugs.gnu.org; Fri, 08 Jan 2010 16:28:34 -0500 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.2.162]) by mailout1.pacific.net.au (Postfix) with ESMTP id D1BFB5164E9; Sat, 9 Jan 2010 08:28:27 +1100 (EST) Original-Received: from blah.blah (ppp2E37.dyn.pacific.net.au [61.8.46.55]) by mailproxy1.pacific.net.au (Postfix) with ESMTP id A584D8C08; Sat, 9 Jan 2010 08:28:26 +1100 (EST) Original-Received: from gg by blah.blah with local (Exim 4.71) (envelope-from ) id 1NTMNP-0001hw-GT; Sat, 09 Jan 2010 08:28:11 +1100 In-Reply-To: (Juanma Barranquero's message of "Wed, 6 Jan 2010 02:30:26 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) X-Spam-Score: -3.5 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -3.4 (---) Resent-Date: Fri, 08 Jan 2010 16:29:02 -0500 X-detected-operating-system: by monty-python.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:34088 Archived-At: Juanma Barranquero writes: > > The question is > whether there are many variables called -functions which are not > really hooks. That'd be the dangerous bit. I've got a defconst called -functions in some of my code, but it wouldn't be hurt. Those with a custom-type of 'hook or '(repeat function) could be likely. In fact any var with that custom-type might be ok to act on. A grep finds me three called -functions (code below) find-directory-functions auto-coding-functions compile-command-default-functions of which auto-coding-functions may be the only important one not presently in unload-feature-special-hooks. (pp (let (ret) (mapatoms (lambda (sym) (and (boundp sym) (get sym 'custom-type) (not (memq sym unload-feature-special-hooks)) (string-match "-functions\\'" (symbol-name sym)) (push (list sym (get sym 'custom-type)) ret)))) ret) (current-buffer))