unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* bibtex-mode and "format region" incredibly slow
@ 2004-04-11  4:54 John Owens
  2004-04-11 11:58 ` Patch for " Lawrence Mitchell
  0 siblings, 1 reply; 4+ messages in thread
From: John Owens @ 2004-04-11  4:54 UTC (permalink / raw)
  Cc: John Owens

I use BibTeX mode for my bibliographies. I use it on both NT emacs
(the 21.3 release) and the CVS build for OS X. I have ~150 entries in
a BibTeX file and want to format and sort them.

Calling "format region" on the whole file via the BibTeX menu is
*incredibly* slow on OS X emacs, but very quick on NT emacs. I would
estimate on NT it's a few seconds and works fine. I've never actually
waited for a OS X "format region" to finish on the Mac but it's at
least several minutes. Nothing else I do on OS X emacs is even close
to this discrepancy in performance. In addition, emacs is accounting
for ~70% of my CPU utilization while it attemps to format the region. 

When I hit C-g, it leaves my BibTeX buffer with thousands of blank
lines in it (and on this test, crashed immediately afterwards).

It appears that I'm using straight bibtex mode (locate-library bibtex
returns /usr/local/share/emacs/21.3.50/lisp/textmodes/bibtex.elc).

Ideas?

JDO

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

end of thread, other threads:[~2004-04-11 23:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-11  4:54 bibtex-mode and "format region" incredibly slow John Owens
2004-04-11 11:58 ` Patch for " Lawrence Mitchell
2004-04-11 15:33   ` John Owens
2004-04-11 23:25   ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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