From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dwolffxx@panix.com (David Wolff) Newsgroups: gmane.emacs.help Subject: Re: which-function-mode + visual-basic-mode? Date: Fri, 23 May 2008 01:31:01 +0000 (UTC) Organization: Public Access Networks Corp. Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1211506845 27664 80.91.229.12 (23 May 2008 01:40:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 May 2008 01:40:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 23 03:41:22 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JzMHa-0006Fx-0o for geh-help-gnu-emacs@m.gmane.org; Fri, 23 May 2008 03:41:22 +0200 Original-Received: from localhost ([127.0.0.1]:48229 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzMGp-0001oI-I3 for geh-help-gnu-emacs@m.gmane.org; Thu, 22 May 2008 21:40:35 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: panix2.panix.com Original-X-Trace: reader2.panix.com 1211506261 19802 166.84.1.2 (23 May 2008 01:31:01 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Fri, 23 May 2008 01:31:01 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Original-Xref: news.stanford.edu gnu.emacs.help:158890 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54256 Archived-At: In article , Kevin Rodgers wrote: > David Wolff wrote: >> Hi all, >> >> Emacs 22.2. which-function-mode does the right thing for Emacs Lisp >> files and other modes that I don't remember off-hand, but not for >> visual-basic-mode... nothing shows up in the mode line even after ESC-: >> (which-function-mode 1). Any ideas? > > Hmmm, `M-x apropos RET visual-basic RET' says: > > No apropos matches for `visual-basic' Right, I found visual-basic-mode somewhere on that internet thingy. I took a look at which-func.el but it's not very clear how it figures out the current function -- sort of looks like imenu magic. So how does which-func work correctly for several programming modes but not visual-basic-mode? Thanks -- David (Remove "xx" to reply.)