all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Owens <jowens@ece.ucdavis.edu>
Cc: John Owens <jowens@ece.ucdavis.edu>
Subject: bibtex-mode and "format region" incredibly slow
Date: Sat, 10 Apr 2004 21:54:06 -0700	[thread overview]
Message-ID: <16504.53102.905929.74629@samba2.ece.ucdavis.edu> (raw)

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

             reply	other threads:[~2004-04-11  4:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-11  4:54 John Owens [this message]
2004-04-11 11:58 ` Patch for Re: bibtex-mode and "format region" incredibly slow Lawrence Mitchell
2004-04-11 15:33   ` John Owens
2004-04-11 23:25   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16504.53102.905929.74629@samba2.ece.ucdavis.edu \
    --to=jowens@ece.ucdavis.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.