[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Example use of macro to minimize and generalize the code
From: |
Michael Heerdegen |
Subject: |
Re: Example use of macro to minimize and generalize the code |
Date: |
Tue, 01 Jun 2021 02:59:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Jean Louis <bugs@gnu.support> writes:
> - ID is necessary;
Your macro calls always ignore what you specify at that argument's
position. Instead, the macros refer to a (free) variable `id'. AFAICT,
with your current implementation nothing would change if you would
remove the macro argument (and the `ignore' call) and simply don't use
it.
Typically, the backquote expression in the macro body would have ",id"
instead of "id" to include the value specified by the ID argument. The
compiler warning is not just noise.
Michael.
- Re: [External] : Re: Why is defun not executed during load-file?, (continued)
- Re: [External] : Re: Why is defun not executed during load-file?, Emanuel Berg, 2021/05/30
- RE: [External] : Re: Why is defun not executed during load-file?, Drew Adams, 2021/05/31
- Re: [External] : Re: Why is defun not executed during load-file?, Emanuel Berg, 2021/05/31
- Re: [External] : Re: Why is defun not executed during load-file?, Stefan Monnier, 2021/05/31
- Re: [External] : Re: Why is defun not executed during load-file?, Marcin Borkowski, 2021/05/31
- Example use of macro to minimize and generalize the code, Jean Louis, 2021/05/31
- Re: Example use of macro to minimize and generalize the code, Michael Heerdegen, 2021/05/31
- Re: Example use of macro to minimize and generalize the code, Jean Louis, 2021/05/31
- Re: Example use of macro to minimize and generalize the code, Michael Heerdegen, 2021/05/31
- Re: Example use of macro to minimize and generalize the code, Jean Louis, 2021/05/31
- Re: Example use of macro to minimize and generalize the code,
Michael Heerdegen <=
- Re: Example use of macro to minimize and generalize the code, Jean Louis, 2021/05/31
- Example use of macro to minimize and generalize the code (2), Jean Louis, 2021/05/31
- Re: [External] : Re: Why is defun not executed during load-file?, Michael Heerdegen, 2021/05/31
- RE: [External] : Re: Why is defun not executed during load-file?, Drew Adams, 2021/05/31