From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#13978: 24.3; New minor mode eldoc-post-insert-mode Date: Sun, 17 Mar 2013 07:39:18 +0400 Message-ID: <87ehfehezd.fsf@yandex.ru> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1363493787 21934 80.91.229.3 (17 Mar 2013 04:16:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Mar 2013 04:16:27 +0000 (UTC) Cc: 13978@debbugs.gnu.org To: Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 17 05:16:53 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UH51f-0001A7-P9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Mar 2013 05:16:51 +0100 Original-Received: from localhost ([::1]:49140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UH51I-0007uJ-O7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Mar 2013 00:16:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UH51E-0007ts-2N for bug-gnu-emacs@gnu.org; Sun, 17 Mar 2013 00:16:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UH51B-00015z-5u for bug-gnu-emacs@gnu.org; Sun, 17 Mar 2013 00:16:23 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UH4Rc-0005b1-C7 for bug-gnu-emacs@gnu.org; Sat, 16 Mar 2013 23:39:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UH4Sz-00025d-Nd for bug-gnu-emacs@gnu.org; Sat, 16 Mar 2013 23:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Mar 2013 03:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13978 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13978-submit@debbugs.gnu.org id=B13978.13634916568019 (code B ref 13978); Sun, 17 Mar 2013 03:41:01 +0000 Original-Received: (at 13978) by debbugs.gnu.org; 17 Mar 2013 03:40:56 +0000 Original-Received: from localhost ([127.0.0.1]:58318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UH4St-00025I-SA for submit@debbugs.gnu.org; Sat, 16 Mar 2013 23:40:56 -0400 Original-Received: from mail-la0-f46.google.com ([209.85.215.46]:52158) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UH4Sq-00024z-8T for 13978@debbugs.gnu.org; Sat, 16 Mar 2013 23:40:53 -0400 Original-Received: by mail-la0-f46.google.com with SMTP id fq12so4902027lab.5 for <13978@debbugs.gnu.org>; Sat, 16 Mar 2013 20:39:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type:x-antivirus :x-antivirus-status; bh=06/HfuKm1fTIrI17t5zjk9O0hVYKryepBNhTJDI2vCw=; b=IQtY1n6oID3bDaJVh42zgzyt0x4NMueTQPjHjojzgSYbeSC/cHD8zc4DURx8kAPo2o LjSoMq1PP0CygJqLYHMt7xHd/tJvanwsZdtlppCAYEOAZKAWGXIXCSrnljK7J3wjDHG2 ryX6jeX62cMzd+nFz5ZcTCKyZJ0roT2OW3V6txnmGLoQu1WcA9Kk8aeRKE6R5UomnjMx Mx+UEG4BAucf4G0ll82AJAOt6FxSad9LLUiqxDP5u6BuRSk20k5u16g7d9Fy0cVEuAjJ Q0ORnzetz/r0ymUdAMIwtxmaa0YJx+5/ENOpvsdkIOJB/ZTTKDSkIK1JwSkbQO9SHVJc b+cg== X-Received: by 10.152.133.133 with SMTP id pc5mr10387852lab.32.1363491560132; Sat, 16 Mar 2013 20:39:20 -0700 (PDT) Original-Received: from SOL ([178.252.98.87]) by mx.google.com with ESMTPS id h7sm3739689lbp.16.2013.03.16.20.39.18 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 16 Mar 2013 20:39:19 -0700 (PDT) In-Reply-To: (Leo Liu's message of "Sun, 17 Mar 2013 10:56:25 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) X-Antivirus: avast! (VPS 130316-0, 16.03.2013), Outbound message X-Antivirus-Status: Clean X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72617 Archived-At: Leo Liu writes: >> Shouldn't that be called `eldoc-minibuffer-mode'? >> And why not just use eldoc-mode? > > eldoc-post-insert-mode can work everywhere not just in the minibuffer. > The idea is from me finding eldoc-mode too distracting by printing > 'constantly' to the echo area. Thus eldoc-post-insert-mode only shows > the info when you are typing. (For me it shows the info at the moment I > need it ;)). I think you might want to make this configurable. Personally, I like that I can move point inside a function call in existing code, and it will show the argument names and which argument I'm on. It should be as useful when editing an expression to be evaluated.