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: Tue, 05 Jul 2011 10:41:18 -0400 Message-ID: References: <87wrg2ggdg.fsf@gmail.com> <87hb743quv.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 1309881513 28635 80.91.229.12 (5 Jul 2011 15:58:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Jul 2011 15:58:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 05 17:58:29 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 1Qe816-0006An-Fa for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2011 17:58:28 +0200 Original-Received: from localhost ([::1]:46330 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe815-00029b-7t for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2011 11:58:27 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe6oT-0006Cn-WC for emacs-devel@gnu.org; Tue, 05 Jul 2011 10:41:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qe6oR-00008K-C7 for emacs-devel@gnu.org; Tue, 05 Jul 2011 10:41:21 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:56473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe6oR-000086-3J for emacs-devel@gnu.org; Tue, 05 Jul 2011 10:41:19 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Qe6oQ-0000NN-KM; Tue, 05 Jul 2011 10:41:18 -0400 In-Reply-To: <87hb743quv.fsf@gmail.com> (Thierry Volpiatto's message of "Sun, 03 Jul 2011 06:55:36 +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:141591 Archived-At: 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.