From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Getting further information from describe-function Date: Tue, 29 Jun 2010 00:11:14 +0300 Organization: JURTA Message-ID: <87oceuhngt.fsf@mail.jurta.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1277759789 18053 80.91.229.12 (28 Jun 2010 21:16:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Jun 2010 21:16:29 +0000 (UTC) Cc: Emacs-Devel devel To: Deniz Dogan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 28 23:16:26 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OTLgj-00023y-RV for ged-emacs-devel@m.gmane.org; Mon, 28 Jun 2010 23:16:22 +0200 Original-Received: from localhost ([127.0.0.1]:54217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTLgg-0004s4-3n for ged-emacs-devel@m.gmane.org; Mon, 28 Jun 2010 17:16:18 -0400 Original-Received: from [140.186.70.92] (port=41501 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTLgU-0004qh-Gs for emacs-devel@gnu.org; Mon, 28 Jun 2010 17:16:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTLgT-0002Jw-DB for emacs-devel@gnu.org; Mon, 28 Jun 2010 17:16:06 -0400 Original-Received: from smtp-out1.starman.ee ([85.253.0.3]:52539 helo=mx1.starman.ee) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTLgT-0002Jo-7d for emacs-devel@gnu.org; Mon, 28 Jun 2010 17:16:05 -0400 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.92.56.cable.starman.ee [82.131.92.56]) by mx1.starman.ee (Postfix) with ESMTP id 5482A3F40A0; Tue, 29 Jun 2010 00:16:02 +0300 (EEST) In-Reply-To: (Deniz Dogan's message of "Mon, 28 Jun 2010 22:32:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:126483 Archived-At: > I would like to write a little function which acts like the > completing-read of describe-function but the completion buffer should > use customizable faces which indicate whether what is completed to are > obsolote, macros, etc. One could even imagine using customizable > format strings for the output, possibly to be able to indicate e.g. > where the functions are defined. describe-function in its current > state is rather "dumb", simply using completing-read over obarray on > symbols that "are fboundp". > > So to write this feature I had in mind...where do I start? It seems what you want is completions-annotations. -- Juri Linkov http://www.jurta.org/emacs/