help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eldoc cannot handle CL-style paramlist with default values?


From: Thorsten Jolitz
Subject: Re: Eldoc cannot handle CL-style paramlist with default values?
Date: Thu, 17 Jul 2014 01:26:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Michael Heerdegen <address@hidden> writes:

> Thorsten Jolitz <address@hidden> writes:
>
>> ,----
>> | (defun* puml-start-activity (arrow &key (lbl "") (nm "") (crlf "\n")
>> | (pre "(*)") suf ins)
>> `----
>>
>> it shows
>>
>> ,----
>> | puml-start-activity: (40 102 110 32 65 82 82 79 87 32 38 107 101 121 32
>> | 40 76 66 76 32 34 34 41 32 40 78 77 32 34 34 41 32 40 67 82 76 70 3\
>> | 2 34 10 34 41 32 40 80 82 69 32 34 40 42 41 34 41 32 83 85 70 32 73 78
>> | 83 41)
>> `----
>>
>> Assuming this is ASCII I get (not surprisingly)
>>
>> ,----
>> | (fn ARROW &key ...)
>> `----
>
> Looks like a bug.  However, not a bug in eldoc: when you call
> describe-function, you'll see that the docstring of the defined function
> is broken.
>
> Can you please make a bug report?

Done.

Its actually the combination of normal args with &key arg with default
values that does not seem to work, e.g. 

,----
| (defun* foo (arg1 arg2 &key (arg3 "default")))
`----

-- 
cheers,
Thorsten




reply via email to

[Prev in Thread] Current Thread [Next in Thread]