From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hadron Quark Newsgroups: gmane.emacs.help Subject: Re: Hook questions Date: Tue, 29 Aug 2006 17:12:08 +0200 Message-ID: <87r6yzwp87.fsf@mail.com> References: <874pvw9zma.fsf@mail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1156866147 23675 80.91.229.2 (29 Aug 2006 15:42:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Aug 2006 15:42:27 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 29 17:42:26 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GI5j1-0006qQ-Kj for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Aug 2006 17:42:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GI5j1-00063m-7q for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Aug 2006 11:42:03 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-X-Trace: individual.net 0AgQmXChmM6n3X6U4SHZbAYrt/UiGG8I14O78WSAmXsued2iBC X-Orig-Path: news.ibm.net!news X-Face: 2h#||Cd#d%F*NCm59[_6/{1a@jy%; |j>{D~4^gKg(^i%7j0IK?+,/GmW&:CD5fEKb_! User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:UIwWneL2RlviU9XEIww//nGXT/w= Original-Xref: shelby.stanford.edu gnu.emacs.help:141417 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37037 Archived-At: bojohan+news@dd.chalmers.se (Johan Bockgård) writes: > Hadron Quark writes: > >> 1) Whats the difference between, say c-mode-hook and >> c-mode-common-hook? > [...] >> The info mode (while reading info files) reveals no such hook. > > Try the "CC Mode" manual (info "(ccmode)CC Hooks"): Thanks. I feel like such a prick sometimes when I miss this stuff. But there is so much info in so many different places I sometimes give up and reach out for help. Thanks a lot. Anyway, I mean, "c-mode-common-hook" : who would have guessed its for ALL languages. It begins with "c" :( > > -- Variable: c-mode-common-hook > Common hook across all languages. It's run immediately before > the language specific hook. > > -- Variable: c-mode-hook > -- Variable: c++-mode-hook > -- Variable: objc-mode-hook > -- Variable: java-mode-hook > -- Variable: idl-mode-hook > -- Variable: pike-mode-hook > -- Variable: awk-mode-hook > The language specific mode hooks. The appropriate one is run > as the last thing when you enter that language mode. > > -- > Johan Bockgård --