From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sebastian Luque Newsgroups: gmane.emacs.help Subject: Re: slow bibtex menu access Date: Wed, 02 Mar 2005 13:47:51 -0600 Message-ID: <87d5uhygm0.fsf@mun.ca> References: <87mztm6vt8.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1109793290 18372 80.91.229.2 (2 Mar 2005 19:54:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Mar 2005 19:54:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 02 20:54:50 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D6ZpZ-0002A8-Sw for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Mar 2005 20:48:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6a8O-0005Nu-LA for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Mar 2005 15:07:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D6a64-0004Vw-K7 for help-gnu-emacs@gnu.org; Wed, 02 Mar 2005 15:05:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D6a60-0004U1-1s for help-gnu-emacs@gnu.org; Wed, 02 Mar 2005 15:05:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6a5z-0004Ti-L1 for help-gnu-emacs@gnu.org; Wed, 02 Mar 2005 15:05:23 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D6Zr0-0001KT-0U for help-gnu-emacs@gnu.org; Wed, 02 Mar 2005 14:49:54 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1D6Zgy-0000qA-An for help-gnu-emacs@gnu.org; Wed, 02 Mar 2005 20:39:32 +0100 Original-Received: from s0106000ae61de208.wp.shawcable.net ([24.77.70.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Mar 2005 20:39:32 +0100 Original-Received: from sluque by s0106000ae61de208.wp.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Mar 2005 20:39:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 25 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: s0106000ae61de208.wp.shawcable.net User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:0wY7mWpyC6hBYp7givpFGfu4boo= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:24478 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24478 [...] > Have you tried with "emacs -q"? My crystal ball is pretty fuzzy but it > mumbled something about you maybe adding an index menu (imenu) to the > menu bar and setting imenu-auto-rescan. Not bad! With emacs -q normal bibtex menu-bar functionality was restored. I do have the index menu enabled, but only for lisp mode buffers; from my ~/.emacs: (add-hook 'emacs-lisp-mode-hook (quote (turn-on-eldoc-mode imenu-add-menubar-index checkdoc-minor-mode))) (add-hook 'lisp-mode-hook 'imenu-add-menubar-index) and imenu-auto-rescan is nil. I tried disabling the hooks above anyway hoping for magic, but clicking the menu-bar while on a large bibtex buffer is still getting slower with incresing (line-number-at-pos) Great idea anyway! -- Sebastian Luque