From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Thomas D. Dean" Newsgroups: gmane.emacs.help Subject: Re: C/C++ Mode Imenu Problem Date: Thu, 02 Feb 2012 00:40:55 -0800 Message-ID: <4F2A4C17.8060203@speakeasy.org> References: <4F2A3EAD.7040800@speakeasy.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1328172102 30031 80.91.229.3 (2 Feb 2012 08:41:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Feb 2012 08:41:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 02 09:41:41 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RssEe-0000YN-9v for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Feb 2012 09:41:41 +0100 Original-Received: from localhost ([::1]:38171 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RssEd-0005oh-F6 for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Feb 2012 03:41:39 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:44467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RssEV-0005kY-Al for help-gnu-emacs@gnu.org; Thu, 02 Feb 2012 03:41:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RssER-0007Ec-Cw for help-gnu-emacs@gnu.org; Thu, 02 Feb 2012 03:41:31 -0500 Original-Received: from asbnvacz-mailrelay01.megapath.net ([207.145.128.243]:50642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RssER-0007ER-3V for help-gnu-emacs@gnu.org; Thu, 02 Feb 2012 03:41:27 -0500 Original-Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.42]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id 9EBB2A712D3 for ; Thu, 2 Feb 2012 03:40:53 -0500 (EST) Original-Received: (qmail 28493 invoked from network); 2 Feb 2012 08:40:53 -0000 Original-Received: by simscan 1.4.0 ppid: 2782, pid: 31274, t: 0.1796s scanners: clamav: 0.88.2/m:52/d:10739 spam: 3.0.4 Original-Received: from unknown (HELO P9X79.tddhome) (tomdean@[24.113.112.30]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 2 Feb 2012 08:40:53 -0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120126 Thunderbird/9.0 In-Reply-To: <4F2A3EAD.7040800@speakeasy.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 207.145.128.243 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83583 Archived-At: On 02/01/12 23:43, Thomas D. Dean wrote: > GNU Emacs 23.3.1 (amd64-portbld-freebsd9.0, GTK+ Version 2.24.6) of > 2012-01-07 on P9X79.tddhome > > Using CC Mode version 5.31.8 > > In the C/C++ modes, if the number of items in the imenu is greater than > imenu-max-items, the displayed menu is grouped with items named > > from ... > from ... > > etc. > > In this case, selecting one of the items from the imenu popup does not > result in a change to current line. The display remains the same. In this case, pressing rather than using mouse-1 changes the current line to the selected item and changes the display to that item. In the case where imenu-max-items is greater than the number of items in the menu, mouse-1 changes the current line to the selected item and changes the display to that item. How can I change this behavior to have mouse-1 select the item in imenu? Tom Dean