[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: question regarding my emacs package
From: |
Michael Heerdegen |
Subject: |
Re: question regarding my emacs package |
Date: |
Wed, 14 Jun 2023 01:55:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Mattias,
could you maybe please have a short look?
Madhu <enometh@meer.net> writes:
> >> (require 'cl-lib)
> >> (defun xyz ())
> >> (cl-defstruct barf
> >> (buffer-file-name (xyz)))
> >>
> >> (defun barf-foo ()
> >> (let ((barf (make-barf)))))
==> Optimization failure for make-barf: Handler: make-barf--cmacro
(wrong-type-argument stringp (xyz))
Madhu, seems you have hit a corner case bug.
The resulting code (i.e. the defined `make-barf--cmacro') uses
`buffer-file-name' as the name of a variable it let-binds, which results
in the above warning (or a similar error message) in the case of this
variable.
Is this a known limitation (Mattias)?
TIA,
Michael.
- Re: question regarding my emacs package, (continued)
- Re: question regarding my emacs package, ram, 2023/06/08
- Re: question regarding my emacs package, ram, 2023/06/08
- Re: question regarding my emacs package, Philip Kaludercic, 2023/06/08
- Re: question regarding my emacs package, ram, 2023/06/09
- Re: question regarding my emacs package, Madhu, 2023/06/11
- Re: question regarding my emacs package, Madhu, 2023/06/12
- Re: question regarding my emacs package, Andrea Corallo, 2023/06/12
- Re: question regarding my emacs package, Madhu, 2023/06/13
- Re: question regarding my emacs package, Andrea Corallo, 2023/06/13
- Re: question regarding my emacs package, Madhu, 2023/06/13
- Re: question regarding my emacs package,
Michael Heerdegen <=
- Re: question regarding my emacs package, Mattias Engdegård, 2023/06/14
- Re: question regarding my emacs package, Michael Heerdegen, 2023/06/15
- Re: question regarding my emacs package, Madhu, 2023/06/16
- Re: question regarding my emacs package, Michael Heerdegen, 2023/06/16
- Re: question regarding my emacs package, ram, 2023/06/17
- Re: question regarding my emacs package, Michael Heerdegen, 2023/06/17
- Re: question regarding my emacs package, ram, 2023/06/30
Re: question regarding my emacs package, João Távora, 2023/06/11