From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Javier Oviedo" Newsgroups: gmane.emacs.help Subject: displaying #ifdef statements Date: Tue, 11 Mar 2003 14:23:37 -0500 Organization: Texas Instruments Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1047411443 19520 80.91.224.249 (11 Mar 2003 19:37:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 11 Mar 2003 19:37:23 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 11 20:37:20 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 18spYt-00054R-00 for ; Tue, 11 Mar 2003 20:37:19 +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 18spWv-0008AS-07 for gnu-help-gnu-emacs@m.gmane.org; Tue, 11 Mar 2003 14:35:17 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!newsfeeder.mylinuxisp.com!204.52.135.42.MISMATCH!nntp1.hal-pc.org!attdl1!attdl2!ip.att.net!news.ti.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: gt64v7121.telogy.design.ti.com Original-X-Trace: tilde.itg.ti.com 1047410532 16650 158.218.105.183 (11 Mar 2003 19:22:12 GMT) Original-X-Complaints-To: usenet@news.ti.com Original-NNTP-Posting-Date: 11 Mar 2003 19:22:12 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-Xref: shelby.stanford.edu gnu.emacs.help:110984 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:7484 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7484 Hello all: I am using emacs 21.2.1 on WinXP. Is there a way to display the location of #ifdef statements in a similar fashion as parens/brackets? Currently I place the cursor on a paren/bracket and the minibuffer displays the match and what it is associated with. For example: if (x == 1) { } What I see displayed in the minibuffer, when I place the cursor in the closing brace, is the following: if (x == 1) RET { [linenumber] Could the same be applied to #ifdef statements...placing the cursor on a #endif ? Thanks in advance. Javier