From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kal Newsgroups: gmane.emacs.help Subject: Insert function descriptor Date: Fri, 04 Aug 2006 13:24:15 +0200 Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com Message-ID: <44d32e5e$0$6406$9a6e19ea@unlimited.newshosting.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1154691674 10103 80.91.229.2 (4 Aug 2006 11:41:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Aug 2006 11:41:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 04 13:41:13 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G8y2u-0007dr-UD for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Aug 2006 13:40:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G8y2u-000665-DT for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Aug 2006 07:40:52 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!post02.iad01!not-for-mail User-Agent: Thunderbird 1.5.0.5 (X11/20060728) Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-X-Complaints-To: abuse@newshosting.com Original-Xref: shelby.stanford.edu gnu.emacs.help:140847 Original-To: help-gnu-emacs@gnu.org 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:36474 Archived-At: Hello, When I write a function in C, I write it like this : /* --------------------------------------------------------------------- accind_ouvriraux() --------------------------------------------------------------------- Build file name and call fopen() --------------------------------------------------------------------- I : Char pointer I : Char pointer O : File pointer --------------------------------------------------------------------- */ static FILE * accind_ouvriraux(char *prefixe, char *suffixe); My wish is to get the header description automatically. One way to do it is mapping a key sentence (expl : C-F1) to a lisp function which ask the name for the function : Name of the function : toto And build after that the header : /* --------------------------------------------------------------------- toto() --------------------------------------------------------------------- Description : --------------------------------------------------------------------- I : O : --------------------------------------------------------------------- */ Is it possible ? -- Kal