emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master d895f6c: Fix Edebug specs for 'cl-defmethod' an


From: Dmitry Gutov
Subject: Re: [Emacs-diffs] master d895f6c: Fix Edebug specs for 'cl-defmethod' and 'defmethod'
Date: Thu, 4 May 2017 00:46:44 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Thunderbird/53.0

Hi Stefan,

On 02.05.2017 17:08, Stefan Monnier wrote:
-             [ &optional keywordp ]     ; this is key :before etc
-             list                       ; arguments
+             [ &optional keywordp       ; this is key :before etc
+               &optional stringp ]      ; :extra can be followed by a string

Actually, there can be any number of non-lists between the function name
and the arg list.  So it should probably be more like [ &rest atom ] or
something like that.

Why not

-             [ &optional keywordp       ; this is key :before etc
- &optional stringp ] ; :extra can be followed by a string
+             [ &rest              ; multiple qualifiers are allowed
+               &or keywordp       ; this is key :before etc
+               stringp ]          ; :extra can be followed by a string

?

Do we anticipate any non-keyword, non-string qualifiers?



reply via email to

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