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#13780: 24.2; Making find-file-hook customizable seems to cause troublle Date: Thu, 21 Feb 2013 21:14:56 -0500 Message-ID: References: <87k3q1gpba.fsf@sc3d.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361499352 31128 80.91.229.3 (22 Feb 2013 02:15:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Feb 2013 02:15:52 +0000 (UTC) Cc: 13780@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 22 03:16:15 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 1U8iBK-0004Yd-NR for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2013 03:16:14 +0100 Original-Received: from localhost ([::1]:45199 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8iB0-0002U5-A8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Feb 2013 21:15:54 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8iAv-0002Sq-Ma for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2013 21:15:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8iAp-0001As-It for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2013 21:15:49 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8iAp-0001Aj-2l for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2013 21:15:43 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U8iC6-0004Yr-Hy for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2013 21:17: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: Fri, 22 Feb 2013 02:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13780 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13780-submit@debbugs.gnu.org id=B13780.136149938017474 (code B ref 13780); Fri, 22 Feb 2013 02:17:02 +0000 Original-Received: (at 13780) by debbugs.gnu.org; 22 Feb 2013 02:16:20 +0000 Original-Received: from localhost ([127.0.0.1]:43405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8iBQ-0004Xn-9s for submit@debbugs.gnu.org; Thu, 21 Feb 2013 21:16:20 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:17695) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8iBN-0004Xf-8W for 13780@debbugs.gnu.org; Thu, 21 Feb 2013 21:16:17 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFsoXXp/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDiGGcGYFegxU X-IPAS-Result: Av4EABK/CFFsoXXp/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDiGGcGYFegxU X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="1940770" Original-Received: from 108-161-117-233.dsl.teksavvy.com (HELO pastel.home) ([108.161.117.233]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 21 Feb 2013 21:14:56 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 9CCB16BF0E; Thu, 21 Feb 2013 21:14:56 -0500 (EST) In-Reply-To: <87k3q1gpba.fsf@sc3d.org> (Reuben Thomas's message of "Fri, 22 Feb 2013 00:33:29 +0000") 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:71620 Archived-At: > The real problem here is that find-file-hook is clearly meant to be > customizable (there is even a check box for auto-indent in its But Custom only properly handles hooks which is only sets via Custom, whereas it's reasonably common for find-file-hook to be modified by packages (via add-hook, of course). So until Custom is fixed to actually properly handle customisation of hooks (e.g. by storing "add functions foo, bar, and baz" rather than "ignore current value and just set it to (foo bar baz)"). Stefan