[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
font-lock-default-fontify-region loops forever
From: |
David Hansen |
Subject: |
font-lock-default-fontify-region loops forever |
Date: |
Thu, 15 Feb 2007 10:28:12 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux) |
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the address@hidden mailing list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
To trigger this bug `push' some other function to
`font-lock-extend-region-functions' (should be *before*
`font-lock-extend-region-wholelines' in this list).
Fix:
Just test for `eobp' in `font-lock-extend-region-wholelines':
(unless (or (bolp) (eobp))
(setq changed t font-lock-end (line-beginning-position 2)))
instead of just
(unless (bolp) (setq changed t font-lock-end (line-beginning-position 2)))
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/home/dhansen/share/emacs/22.0.93/etc/DEBUG for instructions.
In GNU Emacs 22.0.93.1 (i686-pc-linux-gnu, X toolkit)
of 2007-01-30 on robotron
X server distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure '--disable-sound' '--prefix=/home/dhansen'
'--without-toolkit-scroll-bars' '--disable-pop''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: en_US.UTF-8
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: Emacs-Lisp
Minor modes in effect:
shell-dirtrack-mode: t
erc-menu-mode: t
erc-ring-mode: t
erc-pcomplete-mode: t
erc-netsplit-mode: t
erc-spelling-mode: t
erc-truncate-mode: t
paredit-mode: t
jabber-activity-mode: t
erc-services-mode: t
erc-autojoin-mode: t
erc-track-mode: t
erc-match-mode: t
erc-button-mode: t
erc-fill-mode: t
erc-stamp-mode: t
erc-smiley-mode: t
erc-irccontrols-mode: t
erc-noncommands-mode: t
erc-readonly-mode: t
erc-scrolltobottom-mode: t
eldoc-mode: t
which-function-mode: t
show-paren-mode: t
iswitchb-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
abbrev-mode: 1
hs-minor-mode: t
Recent input:
C-n C-n C-n C-n C-n C-n C-u C-M-x <C-tab> M-x M-p M-p
<return> n n n n n n n n n n n n n n n n n n n n n
n n n n n n n n n n n n n n n n n n n n n n G <C-tab>
C-M-x C-x 1 C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n
C-n M-x r e p <tab> o <tab> r <tab> e m <tab> b <tab>
<return>
Recent messages:
Stop
Result: 16790 (#o40626, #x4196) [3 times]
Go-Nonstop...
Fontifying lua-mode.el... (regexps....................)
font-lock-default-fontify-region
Making completion list... [2 times]
Loading emacsbug...done
No completions of font-lock-default-fon
Completing command name...
No completions of font-lock-default-fon
- font-lock-default-fontify-region loops forever,
David Hansen <=