From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.devel Subject: Re: Patch: make eldoc indicate current argument Date: Mon, 16 Jul 2007 02:23:24 +0300 Message-ID: <200707160223.25223.pogonyshev@gmx.net> References: <85abtz3qoe.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1184540929 28377 80.91.229.12 (15 Jul 2007 23:08:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Jul 2007 23:08:49 +0000 (UTC) Cc: Johan =?utf-8?q?Bockg=C3=A5rd?= To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 16 01:08:48 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 1IADCo-0006tD-Rd for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2007 01:08:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IADCl-00070L-ON for ged-emacs-devel@m.gmane.org; Sun, 15 Jul 2007 19:08:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IADCh-0006x1-OK for emacs-devel@gnu.org; Sun, 15 Jul 2007 19:08:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IADCf-0006uR-Lw for emacs-devel@gnu.org; Sun, 15 Jul 2007 19:08:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IADCf-0006u8-GT for emacs-devel@gnu.org; Sun, 15 Jul 2007 19:08:37 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IADCe-0007us-1F for emacs-devel@gnu.org; Sun, 15 Jul 2007 19:08:36 -0400 Original-Received: (qmail invoked by alias); 15 Jul 2007 23:08:31 -0000 Original-Received: from unknown (EHLO [80.94.234.168]) [80.94.234.168] by mail.gmx.net (mp010) with SMTP; 16 Jul 2007 01:08:31 +0200 X-Authenticated: #16844820 X-Provags-ID: V01U2FsdGVkX18gp8By2hwgI3bnXzqrWSkj2ikQXoT1meGUgv2WA5 y5XOsVI9adgxpU User-Agent: KMail/1.7.2 In-Reply-To: Content-Disposition: inline X-Y-GMX-Trusted: 0 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:74863 Archived-At: Johan Bockg=C3=A5rd wrote: > Then there are a bunch of operators using e.g. square brackets which > are troublesome for eldoc. E.g >=20 > (setq-default [VAR VALUE...]) >=20 > (vs (setq SYM VAL SYM VAL ...)) 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. Paul