From xemacs-m  Tue Jun  3 18:10:42 1997
Received: from spline.la.asu.edu (spline.la.asu.edu [129.219.44.112])
	by xemacs.org (8.8.5/8.8.5) with SMTP id SAA25631
	for <xemacs-beta@xemacs.org>; Tue, 3 Jun 1997 18:10:33 -0500 (CDT)
Received: (from jj@localhost) by spline.la.asu.edu (8.6.9/8.6.9) id QAA09263; Tue, 3 Jun 1997 16:03:34 -0700
To: Raymond Toy <toy@rtp.ericsson.se>
Cc: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: Bug in func-menu in TeX mode
References: <6114.865378067@rtp.ericsson.se>
X-Face: 0Bu*)'knxca;nS9WA$T\|rEi"Z?/ww1lLYQ^lCpPRd@#L|0l:\M0<,,c!!7f(,^ZtSVN\N4
 a,R7VO!lLi=eji!}jOM_/yYeM*zkS+"Se)Z1,7=Cyj\xHo%.K|9$t/Vxx-?sue57C'w9Q=W@^?my+]
 Y/.tnckc;#<18}n(",?A#V7zA`]K>qf7jF[Al&3a^T[3H;{/N!EPb</zmr{AH7T!aZ\+!V!c$&H3F_
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: John Jones <jj@asu.edu>
Date: 03 Jun 1997 16:03:33 -0700
In-Reply-To: Raymond Toy's message of Tue, 03 Jun 1997 18:47:47 -0400
Message-ID: <wuiuzv2ssa.fsf@spline.la.asu.edu>
Lines: 40
X-Mailer: Gnus v5.4.52/XEmacs 20.2

>>>>> On Tue, 03 Jun 1997 18:47:47 -0400, Raymond Toy <toy@rtp.ericsson.se> said:

 > Here is an easily reproducible bug in func-menu in a TeX (or LaTeX)
 > buffer.  I found this in 20.2, but I suspect it's also in
 > 20.3-betas (haven't had time to download the betas yet).

 > Load func-menu and turn it on in any TeX-mode buffer.  From the
 > Function menu, select Rescan Buffer.  This first menu has all of
 > the major sections/chapters numbered correctly.  After rescanning,
 > all of the section numbers have been incremented up.  Thus, if
 > there are sections 1-5, the rescan will now number the sections
 > 6-10.  This also means you can no longer get to those sections.

I just tried it with my copy of 20.2 and did not see this.  Maybe we
should compare particulars.  I was in a LaTeX mode buffer; the
func-menu related parts of my .emacs are:

(require 'func-menu)
(add-hook 'find-file-hooks 'fume-add-menubar-entry)
(define-key global-map 'f10 'function-menu)
(define-key global-map "\C-cl" 'fume-list-functions)
(define-key global-map "\C-cg" 'fume-prompt-function-goto)
(define-key global-map '(meta  button1) 'fume-mouse-function-goto)
(setq fume-max-items 20
			fume-index-method 2)

Finally, I am using AUC-TeX (yes, after complaining last week that old
tex-mode be retained, I decided to give AUC-TeX another whirl).
 

                                 John Jones


---------------------------------------------------------------
Department of Mathematics               Office:  PSA 729
Arizona State University                Phone:   965-3725
Tempe, AZ    85287-1804                 FAX:     965-8119
URL: http://math.la.asu.edu/~jj         e-mail:  JJ@asu.edu
---------------------------------------------------------------

