Emacs 28 cl-struct change breaks ts-fill
- Lingua principale
- Emacs Lisp
- Stelle
- 192
- Fork
- 15
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hello,
I have noticed that I'm no longer able to use any org-ql-view that relies on evaluating a timestamp.
You should be able to replicate this with the following
`emacs -Q -l`
```elisp
(setq user-emacs-directory "~/.config/emacs/")
(require 'package)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
(package-install 'use-package)
(package-install 'quelpa-use-package)
(quelpa
'(quelpa-use-package
:fetcher git
:url "https://github.com/quelpa/quelpa-use-package.git"))
(require 'quelpa-use-package)
(use-package org-ql
:quelpa (org-ql :fetcher github :repo "alphapapa/org-ql"
:files (:defaults (:exclude "helm-org-ql.el"))))
(toggle-debug-on-error)
(org-ql-view-recent-items :num-days 10)
```
I think I've narrowed it down to the fact that `ts-fill` does not seem to fill the relevant slots based on the unix timestamp. Perhaps this is better suited to be an issue in [ts.el](https://github.com/alphapapa/ts.el) but I figured you are more active here.
```elisp
(ts-now)
;; =>
;; #s(ts nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil 1625426631.6235018)
(ts-fill (ts-now))
;; =>
;; #s(ts nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil 1625426636.7569551)
```
I'm using
GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
Specifically the flatwhatson's pgtk-native-comp branch
[emacs-pgtk-native-comp 28.0.50-197.e288348](https://github.com/flatwhatson/emacs/commit/e288348c0a785537d95b7ef2fff0cda729a29677)
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.