unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Slow Emacs response time
@ 2006-09-06  8:34 Jens
  2006-09-06  8:40 ` David Kastrup
  0 siblings, 1 reply; 3+ messages in thread
From: Jens @ 2006-09-06  8:34 UTC (permalink / raw)


Hi -

I have been experiencing really strange response times from Emacs, and
I will be very happy with any help you might have to offer. This
morning I started to investigate a little, and this is what I found:
when editing a specific file the response time is ok when the editing
is being done in the beginning of the file, but horrible when the
editing is at the end of the file (it is about 4-500 lines long). Here
is the strange twist, when editing another file (1300 lines) I can
_not_ reproduce this behaviour. This behaviour is only true for
LaTeX-mode and disappears when I switch to text-mode. I have no idea
where to hunt for the cause of this. I am running GNU Emacs v. 21.4.1.

any help would be appreciated, thanks.
Jens

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Slow Emacs response time
  2006-09-06  8:34 Slow Emacs response time Jens
@ 2006-09-06  8:40 ` David Kastrup
  2006-09-06  9:07   ` Jens
  0 siblings, 1 reply; 3+ messages in thread
From: David Kastrup @ 2006-09-06  8:40 UTC (permalink / raw)


"Jens" <jens.d.nielsen@gmail.com> writes:

> I have been experiencing really strange response times from Emacs,
> and I will be very happy with any help you might have to offer. This
> morning I started to investigate a little, and this is what I found:
> when editing a specific file the response time is ok when the
> editing is being done in the beginning of the file, but horrible
> when the editing is at the end of the file (it is about 4-500 lines
> long). Here is the strange twist, when editing another file (1300
> lines) I can _not_ reproduce this behaviour. This behaviour is only
> true for LaTeX-mode and disappears when I switch to text-mode. I
> have no idea where to hunt for the cause of this. I am running GNU
> Emacs v. 21.4.1.

It would be more interesting to know what version of AUCTeX you are
using...  It is likely a problem with syntax highlighting which you
can turn on and off with
M-x font-lock-mode RET

Maybe AUCTeX thinks that math mode starts somewhere in your document
and never ends.  Putting a %$ comment in might help.

In any case, it would be worth reporting this bug with
M-x TeX-submit-bug-report RET
if you find that you are using a recent enough version of AUCTeX.  YOu
can check with

C-h v AUCTeX-version RET

11.83 is the current one.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Slow Emacs response time
  2006-09-06  8:40 ` David Kastrup
@ 2006-09-06  9:07   ` Jens
  0 siblings, 0 replies; 3+ messages in thread
From: Jens @ 2006-09-06  9:07 UTC (permalink / raw)


Thanks alot David,

indeed swithcing off syntax highlighting with M-x font-lock-mode RET
makes the problem disappear. I then deleted some big comment blocks
which may have contained math-mode '$' that was never ended - and Emacs
is back in good shape with syntax highligting enabled.

Thanks,
Jens

David Kastrup wrote:
> "Jens" <jens.d.nielsen@gmail.com> writes:
>
> > I have been experiencing really strange response times from Emacs,
> > and I will be very happy with any help you might have to offer. This
> > morning I started to investigate a little, and this is what I found:
> > when editing a specific file the response time is ok when the
> > editing is being done in the beginning of the file, but horrible
> > when the editing is at the end of the file (it is about 4-500 lines
> > long). Here is the strange twist, when editing another file (1300
> > lines) I can _not_ reproduce this behaviour. This behaviour is only
> > true for LaTeX-mode and disappears when I switch to text-mode. I
> > have no idea where to hunt for the cause of this. I am running GNU
> > Emacs v. 21.4.1.
>
> It would be more interesting to know what version of AUCTeX you are
> using...  It is likely a problem with syntax highlighting which you
> can turn on and off with
> M-x font-lock-mode RET
>
> Maybe AUCTeX thinks that math mode starts somewhere in your document
> and never ends.  Putting a %$ comment in might help.
>
> In any case, it would be worth reporting this bug with
> M-x TeX-submit-bug-report RET
> if you find that you are using a recent enough version of AUCTeX.  YOu
> can check with
>
> C-h v AUCTeX-version RET
>
> 11.83 is the current one.
> 
> -- 
> David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-09-06  9:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-06  8:34 Slow Emacs response time Jens
2006-09-06  8:40 ` David Kastrup
2006-09-06  9:07   ` Jens

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).