From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.help Subject: document when no hook is available Date: Sat, 10 Dec 2011 04:40:53 +0800 Message-ID: <87y5ulxyui.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1323467714 11291 80.91.229.12 (9 Dec 2011 21:55:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Dec 2011 21:55:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 09 22:55:10 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RZ8PN-0001AU-Qq for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Dec 2011 22:55:09 +0100 Original-Received: from localhost ([::1]:57003 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ8PI-0008MY-71 for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Dec 2011 16:55:04 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:49743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ8P6-00089L-Mc for help-gnu-emacs@gnu.org; Fri, 09 Dec 2011 16:54:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZ8P5-0003sc-PX for help-gnu-emacs@gnu.org; Fri, 09 Dec 2011 16:54:52 -0500 Original-Received: from caiajhbdcahe.dreamhost.com ([208.97.132.74]:57145 helo=homiemail-a60.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ8P5-0003sU-LB for help-gnu-emacs@gnu.org; Fri, 09 Dec 2011 16:54:51 -0500 Original-Received: from homiemail-a60.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a60.g.dreamhost.com (Postfix) with ESMTP id 93D493BC072 for ; Fri, 9 Dec 2011 13:54:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:subject :date:message-id:mime-version:content-type; q=dns; s=jidanni.org ; b=ACLmU8o44tDmkXAfZFU/pEt4RpEasP3HZNQ6xQ6SuN6pBSYaJzTcTfD0UTES t6ofYLSYxD+MbtzG6OnJaos4XMfjEW/H6OhNnCwyFyIM0vDee86Ee6gvkYcfVngU QWjVMbkFHcF+J5Ce9MDLsql3MI6BLbthSbdG2JCdfpXXaOg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=OiWWY6fATMzwUVbkLqx0qPM8l18=; b=b9i8qfnCxzoARJmd FtXbczdZqj/suNXnrySR7ugFB2nhNILpz05f6h2OeCbMCkYKXT3X3IseAjGGF2KX NlwwQY4Z7NPiJmie5ntZuHAN9/oSpO8mi3yhYmWEktA8pVOrtn5DJrlpNvYgL7AF ccJzkbMHh+DUmFrGThy+wyjhivI= Original-Received: from jidanni.org (218-163-20-28.dynamic.hinet.net [218.163.20.28]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a60.g.dreamhost.com (Postfix) with ESMTPSA id 349243BC070 for ; Fri, 9 Dec 2011 13:54:50 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.97.132.74 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83173 Archived-At: In (info "(emacs) Specifying File Variables") at Often, however, it is a mistake to enable minor modes in file local variables. Most minor modes, like Auto Fill mode, represent individual user preferences. If you want to use a minor mode, it is better to set up major mode hooks with your init file to turn that minor mode on for yourself alone (*note Init File::), instead of using a local variable list to impose your taste on everyone. please also mention what to do in ones init file when there is no such hook available. E.g., the user wants all ZZZ mode files to be in flyspell-prog-mode. The problem is the ZZZ-mode author didn't remember to add a hook, and we are on a read only system where all we can change is our .emacs.