From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.help Subject: Re: c++ and c common mode Date: Wed, 13 Dec 2006 03:47:45 +0000 Message-ID: References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165981708 19652 80.91.229.10 (13 Dec 2006 03:48:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Dec 2006 03:48:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 13 04:48:25 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GuL6X-0006wo-4k for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Dec 2006 04:48:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuL6W-0001cn-Nu for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Dec 2006 22:48:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GuL6L-0001cN-O3 for help-gnu-emacs@gnu.org; Tue, 12 Dec 2006 22:48:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GuL6K-0001bi-NO for help-gnu-emacs@gnu.org; Tue, 12 Dec 2006 22:48:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuL6K-0001bJ-CP for help-gnu-emacs@gnu.org; Tue, 12 Dec 2006 22:48:12 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GuL6K-0006AA-58 for help-gnu-emacs@gnu.org; Tue, 12 Dec 2006 22:48:12 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GuL6B-00058b-IB for help-gnu-emacs@gnu.org; Wed, 13 Dec 2006 04:48:03 +0100 Original-Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Dec 2006 04:48:03 +0100 Original-Received: from sdl.web by sl392.st-edmunds.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Dec 2006 04:48:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 24 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: sl392.st-edmunds.cam.ac.uk Face: iVBORw0KGgoAAAANSUhEUgAAACoAAAAqBAMAAAA37dRoAAAAMFBMVEUaFRZLMy1dTENxVzKQ WiCrXQ97cmO/dSqSh3akjGTApXy5sJ7Sxo/Sz8Xo6eP9//xJbkruAAAAAWJLR0QAiAUdSAAAAAlw SFlzAAACxQAAAsUBidZ/7wAAAAd0SU1FB9YKHRINC92uEqoAAAIqSURBVCjPXdNBaNNQGADgUM/C Ht1OgtgOvOw038osHm2pYyehj+DAi4fwsCdh4WcePJaXBZVRKfPiLkJlZQg7dK3Rhd0Ub4JjUJZc dA5Km2tpSJ7vJe3W9EES+PLz/y/v/6PwqxXGj7fiUq71ggc97Q2nSaX+HFYUJ5XU1J0by4qiJDVU FISE3kzGtjIIzd23nKTyQ5RJ47zhTmuvs4wQRngpEXu5iNA8rt3iyWpnvxDG+AGfyTtMr63hgjej QbqGS7A3o38QXgXYmNEGSgNA2UvoSM3MqyXYTOpRAed0Efx5WoPiei1XVAFeTeu/Fz/u5UgR4OW0 NvJfd0o6UWFrSn2Sf3+yCqpI4V7rSH30rragEiLLTTRswFbx8QIAAX0cG1jeUFQh5RzoOtmI8/ar pjsC+Cg3AOpYe4w+t30BOpG6uS51yAxWOQgEiF2JG3ki9bL5xaAWF6EFkIcDxONK2K78rLN97whk VpFFlbGnWtXqUNP9S+RWheqyWqtuNL9Xt20/Up0Q/anQC0rNdp3afvnhCiHlMlHlPAx36W5V02z+ O3WSI4Ui+SA7FGjCmC0+sGPsrFhLzbjzhraouTwc9Lv97rG/x2PtWqY3aJuforHz7bHywOltM1Zx LNHGwI2HVp6OZZ13vb4cmtAOWtlzS6rD3ehdmzFGXw8y6LbQ0As471az8aLmoXYs1Y2SDbPmM6F3 J3/Wt6iucyoSMHMwmVQv0sGZeTUF/wF9Pn6UJ3rq0AAAAABJRU5ErkJggg== User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:J0seIAYQx+kgMkPSKrBDzwp7Wfg= 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:39494 Archived-At: * [2006.12.13 03:43 +0100] Hadron Quark wrote: ^^^^^^^^^^^^ > I am duplicating hook additions e.g > > (add-hook 'c-mode-common-hook 'my-c-init) I think this line is sufficient. > > (add-hook 'c++-mode-common-hook 'my-c-init) > I don't have this variable in Emacs CVS. > > Is there not a "common c/c++ hook" or have I messed up? ,----[ C-h v c-mode-common-hook RET ] | c-mode-common-hook is a variable defined in `cc-vars.el'. | *Hook called by all CC Mode modes for common initializations. `---- -- Leo (GPG Key: 9283AA3F)