From: deccard <Anima_Draconis@hotmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: C and C++ highlighting is not working properly (font-lock)
Date: Sun, 01 Jul 2007 15:07:29 -0000 [thread overview]
Message-ID: <1183302449.587716.13630@57g2000hsv.googlegroups.com> (raw)
In-Reply-To: <mailman.2833.1183193218.32220.help-gnu-emacs@gnu.org>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 1863 bytes --]
On 30 kesä, 13:13, Alan Mackenzie <a...@muc.de> wrote:
> Hi!
>
> That looks wierd.
>
> OK. To begin with, can you tell me EXACTLY what I have to do to reproduce the
> problem, beginning with how you start Emacs?
I'm using emacs through ssh connection on my university's server. The
problem may lay on their end of the line. So maybe I should direct my
university's Unix administrator here. I just was wondering if I'm
doing something wrong.
I get the problem very simple way. I start emacs (gemacs myproc.cc)
and enable the "Syntax Highlighting (Global Font Lock mode)" (F10 s o)
> Does it happen as you're
> typing the C++ program, or when you load an existing C++ file?
The problem occurs in both cases.
>It's
> always best with problems like this to say explicitly what version of
> Emacs you're using (M-x emacs-version).
As you can see from the screen shot the version is GNU emacs 21.3.4
(x86_64-redhat-linux-gnu, X toolkit, Xaw3d scroll bars).
>Often, it's good to dump CC
> Mode's configuration (C-c C-b); this can be _very_ helpful in diagnosing
> bugs.
huh? dump Mode's configuration? Sorry, but I'm pretty new to emacs
>
> > I have not added anything to my .emacs.
>
> Hmmm. Since when? What was in it before you didn't add anything to it?
> ;-) If you start emacs with "emacs -q", does the problem go away?
>
> Do you have a site-start file (M-x locate-library <CR> site-start.el
> <CR>)? If so, what happens when you start emacs with "emacs -q
> --no-site-file"?
>
I meant that I don't have .emacs file at all. I deleted it when I
noticed the problem, because I wanted to be sure that I had not caused
the problem by goofing around with it.
And No, the problem still comes about with "gemacs -q" as well as
"gemacs -q --no-site-file".
> --
> Alan Mackenzie (Ittersbach, Germany)
next prev parent reply other threads:[~2007-07-01 15:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-30 1:45 C and C++ highlighting is not working properly (font-lock) deccard
2007-06-30 8:34 ` Enselic
2007-07-01 14:51 ` deccard
2007-06-30 10:13 ` Alan Mackenzie
[not found] ` <mailman.2833.1183193218.32220.help-gnu-emacs@gnu.org>
2007-07-01 15:07 ` deccard [this message]
2007-07-01 17:50 ` Alan Mackenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1183302449.587716.13630@57g2000hsv.googlegroups.com \
--to=anima_draconis@hotmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).