GNU bug report logs -
#34941
27.0.50; map-inplace and map-not-inplace errors
Previous Next
Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>
Date: Fri, 22 Mar 2019 02:22:02 UTC
Severity: normal
Tags: fixed
Found in version 27.0.50
Fixed in version 27.1
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Michael Heerdegen <michael_heerdegen <at> web.de> writes:
> Hi,
>
> in *scratch* I eval for testing
>
> (map-put! nil 1 1)
>
> and get the error message
>
> map-put!: Cannot modify map in-place: %S: ((1 . 1))
>
> I guess this "%S" in the error definition doesn't work as intended, it
> is printed literally - likewise for the map-inplace error I guess.
Stefan, some similar error definitions are from you. Are these mistakes
or does this %S thing work in some context?
;;; *** /home/micha/software/emacs/lisp/emacs-lisp/cl-generic.el
;;;; Line 636
(define-error 'cl--generic-cyclic-definition "Cyclic definition: %S")
;;; *** /home/micha/software/emacs/lisp/emacs-lisp/cl-macs.el
;;;; Line 3094
(define-error 'cl-struct-unknown-slot "struct %S has no slot %S")
;;; *** /home/micha/software/emacs/lisp/emacs-lisp/gv.el
;;;; Line 77
(define-error 'gv-invalid-place "%S is not a valid place expression")
Thanks,
Michael.
This bug report was last modified 6 years and 47 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.