Package: sml-mode
Version: 4.0-5
Severity: important

With a recent emacs-snapshot-gtk, font highlighting in an inferior SML 
mode seems to take time proportional to the amount of text in the *sml*
buffer.

To reproduce:
 1.  make sure that font highlighting is on (eg, global-font-lock-mode)
 2.  visit an sml file
 3.  launch an inferior SML mode (eg, M-x switch-to-sml)
 4.  repeatedly type "open SMLofNJ;"  or similar
     as the buffer fills up with output, font highlighting will eat
     more and more CPU time.  for example after a while, it takes
     seconds on my computer before  the initial "o" of "open SMLofNJ;" 
     will appear, and there are similar pauses between all subsequent 
     letters.
 5.  switch off font-highlighting in the *sml* buffer 
     (M-x font-lock-mode)
 6.  now typing anything is fast again.

I don't have this problem in other buffers with highlighting turned on.
Also neither M-x shell, nor a plain "M-x comint-run RET sml" seems to
exhibit this problem.  So it's something in sml-proc.el interacting
with some recent changes to emacs-snapshot.  (I can't pinpoint the exact
version of emacs-snapshot when this started, but it was some time in the
last month).  This problem does not appear with a current emacs21.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (600, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages sml-mode depends on:
ii  emacs-snapshot-gtk [emacsen 1:20060315-1 The GNU Emacs editor (with
GTK+ 2.
ii  emacs21 [emacsen]           21.4a-1      The GNU Emacs editor

sml-mode recommends no packages.

-- no debconf information




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to