From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: Speedbar question Date: Tue, 25 Mar 2003 11:45:06 +0100 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84fzpbn2rx.fsf@lucy.is.informatik.uni-duisburg.de> References: <7a11102c.0303200857.4ae0466a@posting.google.com> <7a11102c.0303210803.78553848@posting.google.com> <7a11102c.0303241703.d50c5ab@posting.google.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048589519 31063 80.91.224.249 (25 Mar 2003 10:51:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 25 Mar 2003 10:51:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 25 11:51:57 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18xm29-00084X-00 for ; Tue, 25 Mar 2003 11:51:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18xm0Y-0006tO-04 for gnu-help-gnu-emacs@m.gmane.org; Tue, 25 Mar 2003 05:50:18 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!pd9e1e08e.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: pd9e1e08e.dip.t-dialin.net (217.225.224.142) Original-X-Trace: fu-berlin.de 1048589136 80069895 217.225.224.142 (16 [73968]) User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:GyCBlbfcSzWfGzYGyqVFcaUqvrw= Original-Xref: shelby.stanford.edu gnu.emacs.help:111374 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7874 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7874 jwilde@draper.com (John Wilde) writes: > i had the imenu-generic-expression variable set, but still no luck. > i notice that no changes i make to the text-mode.el file seem to have > any effect. in fact i can take it out of the directory tree and my > text-mode loads up just fine. am i modifying the wrong file?? Never modify files that come with Emacs. While there is a way to work around the problem that you're having, I don't think it's good to fight Emacs needlessly. I suggest to use define-derived-mode to define a mode based on text mode. In that mode you can set imenu-generic-expression and things will work out nicely. -- A preposition is not a good thing to end a sentence with.