GNU bug report logs -
#24779
26.0.50; Incorrect Edebug spec for define-skeleton
Previous Next
Reported by: Gemini Lasswell <gazally <at> runbox.com>
Date: Sun, 23 Oct 2016 20:39:02 UTC
Severity: normal
Tags: fixed, patch
Found in version 26.0.50
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> I'm able to reproduce that, too, and adding "|" to the list of strings
> in the spec seems to fix this. I know nothing about any of this,
> though, so... Is this the right thing to do?
>
> diff --git a/lisp/skeleton.el b/lisp/skeleton.el
> index bce73d6bfe..67fc4aae15 100644
> --- a/lisp/skeleton.el
> +++ b/lisp/skeleton.el
> @@ -105,8 +105,8 @@ skeleton-point
> (defvar skeleton-regions)
>
> (def-edebug-spec skeleton-edebug-spec
> - ([&or null stringp (stringp &rest stringp) [[¬ atom] def-form]]
> - &rest &or "n" "_" "-" ">" "@" "&" "!" "resume:"
> + ([&or null stringp (stringp &rest stringp) [[¬ atom] sexp]]
> + &rest &or "n" "_" "-" ">" "@" "&" "!" "|" "resume:"
> ("quote" def-form) skeleton-edebug-spec def-form))
> ;;;###autoload
> (defmacro define-skeleton (command documentation &rest skeleton)
There weren't any comments, and this does seem to fix the test cases, so
I've applied this now.
But like I said, I don't really know this area, so if this is the wrong
thing to do, feel free to revert.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 5 years and 278 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.