[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a ses question
|
From: |
Stefan Monnier |
|
Subject: |
Re: a ses question |
|
Date: |
Thu, 02 Nov 2023 14:19:45 -0400 |
|
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> (let ((the-ses-buffer (get-buffer "toto.ses")))
> (with-current-buffer the-ses-buffer (insert (format "%S" (ses-range A1
> A1)))))
`ses-range` is a macro. The exact moment at which a macro is expanded
is not defined precisely. It can be expanded basically any time as long
as it's before the resulting code is needed for execution.
In other words, it's perfectly normal that the macro call `(ses-range A1 A1)`
is macro-expanded before any of the above code is executed.
If you don't want that, you need to use a function instead.
Stefan
- Re: a ses question, Andrés Ramírez, 2023/11/01
- RE: a ses question, Vincent Belaïche, 2023/11/01
- RE: a ses question, Vincent Belaïche, 2023/11/01
- RE: a ses question, Vincent Belaïche, 2023/11/02
- RE: a ses question, Vincent Belaïche, 2023/11/02
- RE: a ses question, Vincent Belaïche, 2023/11/02
- Re: a ses question,
Stefan Monnier <=
- RE: a ses question, Vincent Belaïche, 2023/11/03
- RE: a ses question, Vincent Belaïche, 2023/11/04
- Re: a ses question, andrés ramírez, 2023/11/04
- Message not available
- RE: using ses programatically (was: a ses question), Vincent Belaïche, 2023/11/05
- Re: using ses programatically (was: a ses question), andrés ramírez, 2023/11/05
- RE: using ses programatically (was: a ses question), Vincent Belaïche, 2023/11/05
- Re: using ses programatically (was: a ses question), andrés ramírez, 2023/11/05
- RE: using ses programatically (was: a ses question), Vincent Belaïche, 2023/11/19
- Re: using ses programatically (was: a ses question), andrés ramírez, 2023/11/19
- RE: using ses programatically (was: a ses question), Vincent Belaïche, 2023/11/19