From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stephan Stahl" Newsgroups: gmane.emacs.devel Subject: Re: empty .emacs disables which-func-mode Date: Thu, 3 Mar 2005 13:42:50 +0100 (CET) Message-ID: <52587.194.95.226.87.1109853770.squirrel@wwws.franken.de> References: <53109.217.194.34.123.1109765467.squirrel@wwws.franken.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Trace: sea.gmane.org 1109854448 25471 80.91.229.2 (3 Mar 2005 12:54:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2005 12:54:08 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 03 13:54:08 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D6pdT-0007Qz-Dx for ged-emacs-devel@m.gmane.org; Thu, 03 Mar 2005 13:41:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6pwQ-0005HW-RF for ged-emacs-devel@m.gmane.org; Thu, 03 Mar 2005 08:00:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D6pvi-0005Bh-9l for emacs-devel@gnu.org; Thu, 03 Mar 2005 07:59:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D6pvb-00059s-Eb for emacs-devel@gnu.org; Thu, 03 Mar 2005 07:59:46 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6pva-00058X-OW for emacs-devel@gnu.org; Thu, 03 Mar 2005 07:59:42 -0500 Original-Received: from [193.175.24.27] (helo=ilsa.franken.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D6pfI-0002Zk-O7 for emacs-devel@gnu.org; Thu, 03 Mar 2005 07:42:53 -0500 Original-Received: from wwws.franken.de (mail-n.franken.de [193.175.24.27]) by ilsa.franken.de (Postfix) with SMTP id DAADD245C3 for ; Thu, 3 Mar 2005 13:42:49 +0100 (CET) Original-Received: from 194.95.226.87 (SquirrelMail authenticated user eos) by wwws.franken.de with HTTP; Thu, 3 Mar 2005 13:42:50 +0100 (CET) In-Reply-To: <53109.217.194.34.123.1109765467.squirrel@wwws.franken.de> Original-To: emacs-devel@gnu.org User-Agent: SquirrelMail/1.4.0 X-Priority: 3 Importance: Normal X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:34136 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34136 Just some more information on this: which-func-mode gets disabled every time which-func-update runs on a buffer were imenu--make-index-alist does not find anything and throws an (error "No items suitable for an index found in this buffer"). This error is caught by which-func-mode which then cancel which-func-mode. A easy way to reproduce this is: emacs -Q C-h v which-function-mode -> nil M-x which-func-mode C-h v which-function-mode -> t load empty .emacs C-x C-f /.emacs /.emacs should not exists and is empty.. C-h v which-function-mode -> nil Stephan -- Stephan Stahl