[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Re: Planner sluggish behavior when * is part of tex
From: |
Sacha Chua |
Subject: |
[emacs-wiki-discuss] Re: Planner sluggish behavior when * is part of text? |
Date: |
Mon, 06 Jun 2005 15:33:18 +0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
Peter K.Lee <address@hidden> writes:
> It appears that for whatever reason, when I have * as part of a
> sentence w/in a planner file, CPU utilization for emacs skyrockets,
> and emacs responsiveness becomes extremely sluggish as I type.
Hmmm, odd. You might want to try changing your font-lock-support-mode
or configuring highlighting so that it's not so... enthusiastic... ^_^
I use jit-lock-mode, which seems to be okay over here. Making
emacs-wiki-highlight-emphasized a blank function might also be helpful.
Not related to highlighting, but a publishing workaround: Since I
don't use *bold* to highlight bold text, I turn off automatic markup
for that...
;;;_+ Don't automatically markup words
;; I like being able to use * and _ without worring about how they're
;; marked up in the published page
(setq emacs-wiki-publishing-markup
(delq ;; emphasized or literal text
'["\\(^\\|[-[[:space:]<('`\"]\\)\\(=[^=[:space:]]\\|_[^_[:space:]]\\|\\*+[^*[:space:]]\\)"
2 emacs-wiki-markup-word]
emacs-wiki-publishing-markup))
(defadvice emacs-wiki-markup-word (around sacha activate)
;; Do nothing
)
--
Sacha Chua <address@hidden> - open source geekette
http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C
interests: emacs, gnu/linux, personal information management, CS ed
sachac on irc.freenode.net#emacs . YM: sachachua83