[emacs-w3m:13864] Re: Emergency hack to get old programs work with new Emacs time functions
Katsumi Yamaoka <[email protected]> Tue, 26 Apr 2022 16:20:00 +0900
| Newsgroups | gmane.emacs.w3m |
|---|---|
| Organization | Emacsen advocacy group |
| Message-ID | <[email protected]> |
In [emacs-w3m:13863] On Tue, 26 Apr 2022 09:13:31 +0900, Katsumi Yamaoka wrote: > In the latest Emacs build from git, etc/NEWS says: > ,---- >| ** current-time and related functions now yield (TICKS . HZ) timestamps. >| Previously they yielded timestamps of the forms (HI LO US PS), (HI LO >| US) or (HI LO), which were less regular and less efficient and which >| lacked information about clock resolution. This long-planned change >| was documented in Emacs 27. To convert a timestamp X to the old >| 4-element list form, you can use (time-convert X 'list). > `---- > Because of this, not only emacs-w3m (and shimbun) but also some > other programs got not to work. > Here are quick hacks to make those programs work: Now those hacks should have gotten unnecessary as I worked in the git master. But let me know if you still get `wrong-type- argument' errors when running emacs-w3m on the latest Emacs. Regards,