[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Emacs hangs when "foo\\|\\|bar" is in `font-lock-keywords'

From: Daniel Brockman
Subject: Emacs hangs when "foo\\|\\|bar" is in `font-lock-keywords'
Date: Sun, 26 Jun 2005 22:54:51 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Steps to reproduce:

C-u 1 M-x font-lock-mode RET
M-: (add-to-list 'font-lock-keywords "foo\\|\\|bar") RET
M-x font-lock-fontify-buffer RET

This causes Emacs to hang in a busy loop.

In GNU Emacs (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2005-05-21 on wigwam, modified by Debian
Distributor `The XFree86 Project, Inc', version 11.0.40300001
configured using `configure '--build' 'i386-linux' '--host' 'i386-linux' 
'--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' 
'--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' 
'--with-pop=yes' '--with-gif' 
 '--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 
'CFLAGS=-DDEBIAN -g -O2' 'build_alias=i386-linux' 'host_alias=i386-linux''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Summary

Minor modes in effect:
  display-time-mode: t
  erc-track-mode: t
  erc-truncate-mode: t
  erc-services-mode: t
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-notify-mode: t
  erc-netsplit-mode: t
  erc-log-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-button-mode: t
  erc-autojoin-mode: t
  erc-smiley-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-readonly-mode: t
  minibuffer-electric-default-mode: t
  server-mode: t
  show-paren-mode: t
  mouse-wheel-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  temp-buffer-resize-mode: t
  column-number-mode: t
  line-number-mode: t
  next-error-follow-minor-mode:  Fol

Recent input:
t o SPC C-h C-h C-h C-h C-h C-h C-h C-h C-h C-h C-h 
C-h w h e r e <backspace> <backspace> <backspace> <backspace> 
<backspace> t o SPC d r o p SPC r a n d o m SPC e l 
i s C-h C-h C-h C-h f i l e s SPC i n t C-h <return> 
C-c g <f1> v <up> <return> C-x 1 <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <up> <up> <return> <return> M-x r e p 
o r <tab> RET

Recent messages:
Checking new news...done
Type C-x 1 to remove help window.  C-M-v to scroll the help.
Retrieving newsgroup: gmane.emacs.devel...
Loading gnus-ml...done
Opening nntp server on news.gmane.org...done
Fetching headers for gmane.emacs.devel...done
Generating summary...done
Loading emacsbug...done

Daniel Brockman <address@hidden>

    So really, we all have to ask ourselves:
    Am I waiting for RMS to do this?   --TTN.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]