unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Richard Riley <rileyrgdev@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Check if inside a function definition
Date: Thu, 27 Nov 2008 16:06:06 +0100	[thread overview]
Message-ID: <ggmd29$vbf$1@news.motzarella.org> (raw)
In-Reply-To: 85e7f1c1-c5d7-4f8e-ab2a-d248d4566063@f20g2000yqg.googlegroups.com


Nordlöw <per.nordlow@gmail.com> writes:

> Is there a function that check whether I am standing inside a function
> in C/C++?
>
> Is c-in-function-trailer-p the best Emacs can currently do?
>
> /Nordlöw

Look up the "Which Function" menu option in Senator/modes having loaded
Senator via the CEDET package. Lots of nice formatting goodies there
but can be a tad confusing at times (senator, semantic etc - it still
confuses me:-;).

See here for details:

http://cedet.sourceforge.net/



-- 
 important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday.  ~Dennis Gabor, Innovations:  Scientific, Technological and Social, 1970


  reply	other threads:[~2008-11-27 15:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-27 14:39 Check if inside a function definition Nordlöw
2008-11-27 15:06 ` Richard Riley [this message]
2008-11-27 15:46 ` Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ggmd29$vbf$1@news.motzarella.org' \
    --to=rileyrgdev@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).