* displaying #ifdef statements
@ 2003-03-11 19:23 Javier Oviedo
2003-03-11 22:20 ` David Masterson
0 siblings, 1 reply; 3+ messages in thread
From: Javier Oviedo @ 2003-03-11 19:23 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: displaying #ifdef statements
2003-03-11 19:23 displaying #ifdef statements Javier Oviedo
@ 2003-03-11 22:20 ` David Masterson
2003-03-12 14:23 ` Javier Oviedo
0 siblings, 1 reply; 3+ messages in thread
From: David Masterson @ 2003-03-11 22:20 UTC (permalink / raw)
>>>>> Javier Oviedo writes:
> Is there a way to display the location of #ifdef statements in a
> similar fashion as parens/brackets?
I don't know an equivalent to blink-matching-paren, but perhaps
hide-ifdef-mode would be close to what you want?
--
David Masterson David DOT Masterson AT synopsys DOT com
Sr. R&D Engineer Synopsys, Inc.
Software Engineering Sunnyvale, CA
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: displaying #ifdef statements
2003-03-11 22:20 ` David Masterson
@ 2003-03-12 14:23 ` Javier Oviedo
0 siblings, 0 replies; 3+ messages in thread
From: Javier Oviedo @ 2003-03-12 14:23 UTC (permalink / raw)
It is useful. The equivalent of blink-match-paren would still be the most
desirable. Thanks for you idea, though.
"David Masterson" <David.Masterson@synopsys.com> wrote in message
news:uisupr1e6.fsf@synopsys.com...
> >>>>> Javier Oviedo writes:
>
> > Is there a way to display the location of #ifdef statements in a
> > similar fashion as parens/brackets?
>
> I don't know an equivalent to blink-matching-paren, but perhaps
> hide-ifdef-mode would be close to what you want?
>
> --
> David Masterson David DOT Masterson AT synopsys DOT com
> Sr. R&D Engineer Synopsys, Inc.
> Software Engineering Sunnyvale, CA
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-03-12 14:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-11 19:23 displaying #ifdef statements Javier Oviedo
2003-03-11 22:20 ` David Masterson
2003-03-12 14:23 ` Javier Oviedo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).