From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: Check if inside a function definition Date: Thu, 27 Nov 2008 16:06:06 +0100 Organization: A noiseless patient Spider Message-ID: References: <85e7f1c1-c5d7-4f8e-ab2a-d248d4566063@f20g2000yqg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1227800492 30243 80.91.229.12 (27 Nov 2008 15:41:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Nov 2008 15:41:32 +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 Nov 27 16:42:33 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 1L5j0g-0008Ax-GZ for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Nov 2008 16:42:30 +0100 Original-Received: from localhost ([127.0.0.1]:43690 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5izW-0002GP-PD for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Nov 2008 10:41:18 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!feeder.erje.net!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-X-Trace: news.motzarella.org U2FsdGVkX180w2q6pf4VoVkIm3eF1bKIEcE1gsGni5iNDZQQtGVtunGhCElD1m7hairOvAm79xxp6sbTudZRmNTwpQNEszvdvTcQLSRChAVISh59+Adn5rCNZ+9TdnS5FhRh9Mr7LOU/UGb7Pp6J/w== Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Thu, 27 Nov 2008 15:06:49 +0000 (UTC) X-Auth-Sender: U2FsdGVkX19lLMVd1K4E2qOloMitNRmFqqQn/NjkkME3KSPvo1JCpA== Cancel-Lock: sha1:gPw0ONIizjHDnsouxXekHXymZNM= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:164829 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:60158 Archived-At: Nordlöw 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