From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Patch: make eldoc indicate current argument Date: Mon, 16 Jul 2007 23:34:46 -0400 Message-ID: References: <85abtz3qoe.fsf@lola.goethe.zz> <200707160223.25223.pogonyshev@gmx.net> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1184643400 27724 80.91.229.12 (17 Jul 2007 03:36:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 Jul 2007 03:36:40 +0000 (UTC) Cc: bojohan+news@dd.chalmers.se, emacs-devel@gnu.org To: Paul Pogonyshev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 17 05:36:39 2007 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.50) id 1IAdra-00040p-Kr for ged-emacs-devel@m.gmane.org; Tue, 17 Jul 2007 05:36:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IAdra-0003xb-5T for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2007 23:36:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IAdoy-0002eU-Oc for emacs-devel@gnu.org; Mon, 16 Jul 2007 23:33:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IAdot-0002bc-Ly for emacs-devel@gnu.org; Mon, 16 Jul 2007 23:33:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IAdos-0002au-0s for emacs-devel@gnu.org; Mon, 16 Jul 2007 23:33:50 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IAdor-0004PI-Nh for emacs-devel@gnu.org; Mon, 16 Jul 2007 23:33:49 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IAdpm-0001Z6-4K; Mon, 16 Jul 2007 23:34:46 -0400 In-reply-to: <200707160223.25223.pogonyshev@gmx.net> (message from Paul Pogonyshev on Mon, 16 Jul 2007 02:23:24 +0300) X-detected-kernel: 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:74948 Archived-At: I was aware of such things (optional parameters in brackets), but didn't figure out what to do with them: ;; FIXME: What to do with optional arguments, like in ;; (defun NAME ARGLIST [DOCSTRING] BODY...) case? ;; The problem is there is no robust way to determine if ;; the current argument is indeed a docstring. Doc strings are so important that eldoc may as well have special-case code for them.