From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Todd Wylie Newsgroups: gmane.emacs.help Subject: adding hook to auto-mode-alist load Date: Thu, 21 Aug 2003 16:09:45 -0500 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1061532222 30984 80.91.224.253 (22 Aug 2003 06:03:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2003 06:03:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 22 08:03:41 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19q51Q-0007gL-00 for ; Fri, 22 Aug 2003 08:03:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19q3Lj-0004WX-8V for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Aug 2003 00:16:31 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19q0Zy-0003mE-Ko for help-gnu-emacs@gnu.org; Thu, 21 Aug 2003 21:19:02 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19q0Yw-0003SR-BF for help-gnu-emacs@gnu.org; Thu, 21 Aug 2003 21:18:29 -0400 Original-Received: from [128.252.233.1] (helo=watson.wustl.edu) by monty-python.gnu.org with esmtp (Exim 4.20) id 19px7d-0001ak-DL for help-gnu-emacs@gnu.org; Thu, 21 Aug 2003 17:37:33 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by watson.wustl.edu (Postfix) with ESMTP id 18A30FF027 for ; Thu, 21 Aug 2003 16:09:46 -0500 (CDT) Original-Received: from watson.wustl.edu (localhost [127.0.0.1]) by localhost (VaMailArmor-2.0.1.6) id 23818-2A2F6464; Thu, 21 Aug 2003 16:09:45 -0500 Original-Received: from linus13.gsc.wustl.edu (linus13.gsc.wustl.edu [10.0.3.33]) by watson.wustl.edu (Postfix) with ESMTP id 3E942FF027 for ; Thu, 21 Aug 2003 16:09:45 -0500 (CDT) Original-Received: from twylie by linus13.gsc.wustl.edu with local (Exim 3.35 #1 (Debian)) id 19pwgj-0008OI-00 for ; Thu, 21 Aug 2003 16:09:45 -0500 Original-To: help-gnu-emacs@gnu.org X-AntiVirus: checked by Vexira MailArmor (version: 2.0.1.6; VAE: 6.21.0.1; VDF: 6.21.0.26; host: watson.wustl.edu) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:11970 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11970 Greetings- I recently changed my dot-file to automatically invoke paragraph-indent-text-mode for files of type *.plan like so: (setq auto-mode-alist (cons '("\.plan$" . paragraph-indent-text-mode) auto-mode-alist)) But, I'd also like to load auto-fill-mode just for this type of file. Can I add a text-mode-hook for this setup? Kind regards, TW