[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: question regarding my emacs package
From: |
Madhu |
Subject: |
Re: question regarding my emacs package |
Date: |
Tue, 13 Jun 2023 09:31:16 +0530 (IST) |
* Andrea Corallo <yp1mt148wh4.fsf @fencepost.gnu.org>
Wrote on Mon, 12 Jun 2023 12:40:55 -0400
> Madhu <enometh@meer.net> writes:
>>
>> So with my emacs-30 nativecomp this just doesnt work. the
>> buffer-file-name slot of the cl-defstruct has to be changed to
>> buffer-file-name-1 (and the corresponding accessors to
>> breadcrumbs--breadcrumb-buffer-file-name-1) throughout the file.
>
> Does it works on the same Emacs codebase without native compilation?
Yes, it looks like native-comp wont let you use buffer-file-name as a
cl-defstruct slot name if you also have an initializer (SDEFAULT)
form. it gets confused and tries to use the elisp function
definition.
The following works on non-native comp but fails on native-comp.
```
(require 'cl-lib)
(defun xyz ())
(cl-defstruct barf
(buffer-file-name (xyz)))
(defun barf-foo ()
(let ((barf (make-barf)))))
```
- Re: question regarding my emacs package, (continued)
- Re: question regarding my emacs package, ram, 2023/06/08
- Re: question regarding my emacs package, Philip Kaludercic, 2023/06/07
- 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, 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 <=
- 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, 2023/06/13
- 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