all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Javier Oviedo" <email_joviedo@yahoo.com>
Subject: Re: Problem with font-lock when opening a buffer
Date: Thu, 6 May 2004 10:21:54 -0400	[thread overview]
Message-ID: <c7dhm2$8j2$1@home.itg.ti.com> (raw)
In-Reply-To: jwvsmeepobm.fsf-monnier+gnu.emacs.help@gnu.org

Actually, I figured out what my problem was.
I had a function that I added to the c-mode-common-hook. This function
contained about 10 different requires and some other stuff. Every time I
opened a c-file this was apparently doing "something" that caused the
fortifying...

Instead of doing through the function and add-hook, I simply run this
function once when emacs starts and now I see no delay whatsoever.

Thanks for the help, anyway. Take care.

-- 
Javier


"Stefan Monnier" <monnier@iro.umontreal.ca> wrote in message
news:jwvsmeepobm.fsf-monnier+gnu.emacs.help@gnu.org...
> > It emacs takes a long time to load/open a c-mode file, especially if
there
> > are already existing c-mode buffers in emacs. The problem/issue is two
fold:
> [...]
> > Loading semantic-c...done
>
> Have you tried it without Semantic?
>
>
>         Stefan

      reply	other threads:[~2004-05-06 14:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-05 20:57 Problem with font-lock when opening a buffer Javier Oviedo
2004-05-05 21:18 ` Stefan Monnier
2004-05-06 14:21   ` Javier Oviedo [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='c7dhm2$8j2$1@home.itg.ti.com' \
    --to=email_joviedo@yahoo.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.