From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.help Subject: Re: cc-mode question Date: Sat, 25 Jun 2005 07:54:24 +0000 Organization: muc.de e.V. -- private internet access Message-ID: References: <7m079d.t9.ln@acm.acm> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1119691529 10611 80.91.229.2 (25 Jun 2005 09:25:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Jun 2005 09:25:29 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 25 11:25:19 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dm6uc-0002sN-SP for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Jun 2005 11:25:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dm71p-0002jK-Lf for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Jun 2005 05:32:45 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.news.tiscali.de!news.belwue.de!informatik.tu-muenchen.de!news.muc.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 43 Original-NNTP-Posting-Host: acm.muc.de Original-X-Trace: marvin.muc.de 1119690960 37542 193.149.49.134 (25 Jun 2005 09:16:00 GMT) Original-X-Complaints-To: news-admin@muc.de Original-NNTP-Posting-Date: 25 Jun 2005 09:16:00 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686)) Original-Xref: shelby.stanford.edu gnu.emacs.help:132173 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:27648 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27648 Evgeniy wrote on Tue, 21 Jun 2005 19:07:54 +0000: > On Mon, Jun 20, 2005 at 06:08:07PM +0000, Alan Mackenzie wrote: >> Well, confirm to us that you've checked the obvious things: >> What operating system are you running? > $uname -a > Linux 2.6.11-gentoo-r11 #1 Tue Jun 21 11:28:12 UTC 2005 i686 AMD > Athlon(tm) XP 2600+ AuthenticAMD GNU/Linux >> How did you start your Emacs session? (Hopefully, emacs -q --no-site-file) > $emacs >> Which emacs version? (M-x emacs-version) > GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.6.7) of > 2005-06-18 on rain >> Which CC Mode version? (M-x c-version) > this command don't work It seems you haven't got CC Mode loaded at all. Try M-x c-mode. >> Which major mode are you in? >> Which minor modes have you got enabled? (hopefully, very few.) > ??? The major mode is something like "C Mode" or "Text Mode". Usually it gets set by Emacs when you load the file. Minor modes are "add on" features, things like font-lock-mode (which you've got) or auto-fill-mode. >> Have you got font-lock-mode enabled, and if so, how did you enable it? > (custom-set-variables > ... > '(global-font-lock-mode t nil (font-lock)) > ... > -- > /Evgeniy -- Alan Mackenzie (Munich, Germany) Email: aacm@muuc.dee; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a").