From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Ponce Newsgroups: gmane.emacs.devel Subject: Re: Double hyphens in variable names. Date: Sat, 04 Oct 2003 12:47:32 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3F7EA544.8080308@wanadoo.fr> References: <200310021318.h92DIWW05772@raven.dms.auburn.edu> <200310031833.h93IX0Z15576@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1065264634 14185 80.91.224.253 (4 Oct 2003 10:50:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Oct 2003 10:50:34 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Oct 04 12:50:33 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A5jzd-0001r6-00 for ; Sat, 04 Oct 2003 12:50:33 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A5jzc-0005xt-00 for ; Sat, 04 Oct 2003 12:50:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A5jz6-0004Qx-2f for emacs-devel@quimby.gnus.org; Sat, 04 Oct 2003 06:50:00 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A5jyI-0004Bl-Ue for emacs-devel@gnu.org; Sat, 04 Oct 2003 06:49:10 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A5jxk-0003yu-UE for emacs-devel@gnu.org; Sat, 04 Oct 2003 06:49:09 -0400 Original-Received: from [193.252.22.28] (helo=mwinf0304.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A5juH-0003PX-55 for emacs-devel@gnu.org; Sat, 04 Oct 2003 06:45:01 -0400 Original-Received: from wanadoo.fr (AGrenoble-102-1-4-118.w80-14.abo.wanadoo.fr [80.14.24.118]) by mwinf0304.wanadoo.fr (SMTP Server) with ESMTP id 38D92A80408F for ; Sat, 4 Oct 2003 12:44:57 +0200 (CEST) User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6a) Gecko/20031001 X-Accept-Language: en-us, en Original-To: emacs-devel@gnu.org In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16924 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16924 Hi, > When writing a major mode, you should never set imenu--index-alist > directly; nor should you have to use its value. So it is not part of > Imenu's interface and therefore it is an internal variable. Perhaps there is a case it is necessary to use `imenu--index-alist': to force a rescan of the imenu. For example, the Semantic toolkit set `imenu--index-alist' to nil to force a rebuild of the imenu when the user customized an option that change how the imenu will be organized (item sorted and/or grouped in a different way). Is there another "standard" method to force a rescan of the imenu without using `imenu--index-alist'? David