From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: Introduce eldoc support in minibuffer Date: Wed, 06 Jul 2011 11:25:54 -0400 Message-ID: References: <87wrg2ggdg.fsf@gmail.com> <87hb743quv.fsf@gmail.com> <874o30vcnq.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1309966845 23082 80.91.229.12 (6 Jul 2011 15:40:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2011 15:40:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 06 17:40:39 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QeUDJ-0001hH-PA for ged-emacs-devel@m.gmane.org; Wed, 06 Jul 2011 17:40:33 +0200 Original-Received: from localhost ([::1]:41983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeUDI-00005O-SF for ged-emacs-devel@m.gmane.org; Wed, 06 Jul 2011 11:40:33 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeTzA-0005vk-IK for emacs-devel@gnu.org; Wed, 06 Jul 2011 11:25:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QeTz9-0004R7-1d for emacs-devel@gnu.org; Wed, 06 Jul 2011 11:25:56 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:45390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeTz8-0004R3-Pj for emacs-devel@gnu.org; Wed, 06 Jul 2011 11:25:54 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QeTz8-0003SH-4N; Wed, 06 Jul 2011 11:25:54 -0400 In-Reply-To: <874o30vcnq.fsf@gmail.com> (Thierry Volpiatto's message of "Tue, 05 Jul 2011 19:51:37 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:141655 Archived-At: Thierry Volpiatto writes: > Dan Nicolaescu writes: > >> Thierry Volpiatto writes: >> >>> Dan Nicolaescu writes: >>> >>>> Thierry Volpiatto writes: >>>> >>>>> Hi, >>>>> when editing code in minibuffer (M-:) eldoc is not available. >>>>> This patch provide this feature. >>>>> eldoc is displayed in mode-line. >>>> >>>> Can the code that displays something in the modeline be used for something else? >>> Yes, try (eldoc-show-in-mode-line "foo") >> >> I was thinking more of something that is not necessarily related to >> eldoc, like an API that can be used to display in modeline and maybe a >> minor mode to turn on/off. > No, that is for eldoc essentially. Wouldn't it be better if it was a bit more generic so other parts of emacs could use it?