From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.bugs Subject: bug#5532: 23.1.92; have text-mode-hook, need "program-mode-hook" Date: Sat, 06 Feb 2010 02:40:28 +0800 Message-ID: <87sk9fbk6b.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265401687 27155 80.91.229.12 (5 Feb 2010 20:28:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Feb 2010 20:28:07 +0000 (UTC) To: 5532@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 05 21:28:05 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 1NdUmZ-0005O0-Iq for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Feb 2010 21:28:03 +0100 Original-Received: from localhost ([127.0.0.1]:54183 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdUmY-0004Rt-TK for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Feb 2010 15:28:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NdUmJ-0004IX-A4 for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2010 15:27:47 -0500 Original-Received: from [199.232.76.173] (port=53543 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdUmI-0004I9-TT for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2010 15:27:46 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NdUmH-0003EU-Pb for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2010 15:27:46 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40505) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NdUmH-0003EE-BO for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2010 15:27:45 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NdUSE-0007Ux-Uc; Fri, 05 Feb 2010 15:07:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: jidanni@jidanni.org Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Feb 2010 20:07:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5532 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.126540039428789 (code B ref -1); Fri, 05 Feb 2010 20:07:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Feb 2010 20:06:34 +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 1NdURl-0007UE-B6 for submit@debbugs.gnu.org; Fri, 05 Feb 2010 15:06:33 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NdURi-0007Tv-OU for submit@debbugs.gnu.org; Fri, 05 Feb 2010 15:06:31 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]:37317) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NdURe-0007Iz-8e for submit@debbugs.gnu.org; Fri, 05 Feb 2010 15:06:26 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NdURd-0004bW-M7 for submit@debbugs.gnu.org; Fri, 05 Feb 2010 15:06:26 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:37498) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NdURd-0004bS-GE for submit@debbugs.gnu.org; Fri, 05 Feb 2010 15:06:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NdURd-0007Qu-6n for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2010 15:06:25 -0500 Original-Received: from [199.232.76.173] (port=53269 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdURb-0007Qm-S0 for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2010 15:06:23 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NdURb-0004aa-4Y for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2010 15:06:23 -0500 Original-Received: from caiajhbdcbef.dreamhost.com ([208.97.132.145]:33554 helo=homiemail-a37.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NdURa-0004Zs-On for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2010 15:06:22 -0500 Original-Received: from jidanni.org (218-163-2-225.dynamic.hinet.net [218.163.2.225]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a37.g.dreamhost.com (Postfix) with ESMTP id BDF284D858 for ; Fri, 5 Feb 2010 12:06:19 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 05 Feb 2010 15:07: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:34921 Archived-At: There is text-mode-hook, so one can call flyspell-mode, But there is no program-mode-hook, so one can call flyspell-prog-mode. One instead must call flyspell-prog-mode once in perl-mode-hook, once in sh-mode-hook, once in ... See also (info "(emacs) Text Mode") (info "(emacs) Program Modes").