[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Towards a cleaner build: ieieo
From: |
Stefan Monnier |
Subject: |
Re: Towards a cleaner build: ieieo |
Date: |
Thu, 13 Jun 2019 12:16:10 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> (pcase-let* ((`(,uses-cnm . ,fun) (cl--generic-lambda args body)))
> `(progn
> ,(and (get name 'byte-obsolete-info)
> (or (not (fboundp 'byte-compile-warning-enabled-p))
> (byte-compile-warning-enabled-p 'obsolete))
> (let* ((obsolete (get name 'byte-obsolete-info)))
> (macroexp--warn-and-return
> (macroexp--obsolete-warning name obsolete "generic
> function")
> nil)))
IIUC, this is to emit a warning when a package defines a method for an
obsolete generic-function (e.g. a method for object-print) so that the
author is made aware of the need to port the method to the new
generic function (e.g. cl-print-object).
Stefan
- Re: Towards a cleaner build: eieio, (continued)
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: eieio, Stefan Monnier, 2019/06/16
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: eieio, Stefan Monnier, 2019/06/16
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/17
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/17
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/17
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/17
- Re: Towards a cleaner build: ieieo, Lars Ingebrigtsen, 2019/06/13
- Re: Towards a cleaner build: ieieo,
Stefan Monnier <=
- Re: Towards a cleaner build: ieieo, Lars Ingebrigtsen, 2019/06/14
- Re: Towards a cleaner build: ieieo, Stefan Monnier, 2019/06/14
- Re: Towards a cleaner build: ieieo, Lars Ingebrigtsen, 2019/06/15
- string-to-multibyte and string-make-*byte (was: Towards a cleaner build), Stefan Monnier, 2019/06/13
- Re: string-to-multibyte and string-make-*byte, Lars Ingebrigtsen, 2019/06/14
- Re: Towards a cleaner build: pcomplete, Lars Ingebrigtsen, 2019/06/17
- Re: Towards a cleaner build: pcomplete, Stefan Monnier, 2019/06/17
- Re: Towards a cleaner build: pcomplete, Lars Ingebrigtsen, 2019/06/17
- Re: Towards a cleaner build: other output, Lars Ingebrigtsen, 2019/06/17
- Re: Towards a cleaner build: other output, Richard Stallman, 2019/06/17