From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: axa Newsgroups: gmane.emacs.help Subject: Re: showing argument list in mini-buffer of c/c++ func Date: Sun, 25 Apr 2004 22:28:26 +0200 (CEST) Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1082925030 26652 80.91.224.253 (25 Apr 2004 20:30:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Apr 2004 20:30:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 25 22:30:20 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BHqGa-0002AQ-00 for ; Sun, 25 Apr 2004 22:30:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BHqFs-0001Jm-Vx for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Apr 2004 16:29:36 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BHqFH-0001BK-8X for help-gnu-emacs@gnu.org; Sun, 25 Apr 2004 16:28:59 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BHqEl-0000lW-Cs for help-gnu-emacs@gnu.org; Sun, 25 Apr 2004 16:28:58 -0400 Original-Received: from [212.111.94.2] (helo=stargate1.agtel.net) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BHqEk-0000jc-RM for help-gnu-emacs@gnu.org; Sun, 25 Apr 2004 16:28:27 -0400 Original-Received: from [212.200.133.120] (account axa@sendmail.ru [212.200.133.120] verified) by stargate1.agtel.net (CommuniGate Pro SMTP 4.0b8) with ESMTP id 19828471 for help-gnu-emacs@gnu.org; Mon, 26 Apr 2004 00:28:21 +0400 Original-Received: from axa by darkstar.example.net with esmtp (masqmail 0.2.20) id 1BHqEl-0Ko-00 for ; Sun, 25 Apr 2004 22:28:27 +0200 X-X-Sender: axa@darkstar.example.net Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17988 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17988 On Sun, 25 Apr 2004, axa wrote: > > Henceforth, thank you > Best regards, axa > Ok, since none respond to this question, and by the respond Ive got from other people about this particular question, I guess it is hard to to this (or even impossible) in emacs. So I created one script, which collected all C prototypes and putted them in one file. The idea is, when open some .C file in emacs, and when cursor is over some functions name, when I type (some) short-cut, then emacs would _take_ that function name (under the cursor), give it to the script, and then display result (from script, which would be func prototype) in mini-buffer. But since, I do not know "elisp" (I guess it is needed to write such function), can someone help me with this, by writing me how to do this? So, again that function in emacs, would take C function name under the cursor (or in worst case, provide input in mini-buffer in which C function name would be explicitly given), then call some bash script with that C func name (or even, itself calls grep for one file, with C function name), and then finally display result back in mini-buffer. Thanks. Best regards, axa --- The law will never make men free; it is men who have got to make the law free. -- Henry David Thoreau