[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is this a bug in while-let or do I missunderstand it?
From: |
Sean Whitton |
Subject: |
Re: Is this a bug in while-let or do I missunderstand it? |
Date: |
Mon, 25 Nov 2024 12:45:41 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hello,
Installed, thanks. I edited your commit message to be more specific
about what you changed.
I realised though that we are missing one of the features of these
macros: you can also just write a symbol in the list, and it means to
proceed if that symbol is already bound to a true value. E.g.
(let ((foo t))
(when-let* ((hello "hello")
foo)
(message hello)))
If in the first line you bind foo to nil instead, then 'message' is not
called. I can't remember where this is documented, but it is somewhere..
It would be good to have it in the manual too, if you would consider
working on it.
--
Sean Whitton
- Re: Is this a bug in while-let or do I missunderstand it?, (continued)
- Re: Is this a bug in while-let or do I missunderstand it?, Joost Kremers, 2024/11/12
- Re: Is this a bug in while-let or do I missunderstand it?, Joost Kremers, 2024/11/12
- Re: Is this a bug in while-let or do I missunderstand it?, Sean Whitton, 2024/11/13
- Re: Is this a bug in while-let or do I missunderstand it?, Sean Whitton, 2024/11/13
- Re: Is this a bug in while-let or do I missunderstand it?, Joost Kremers, 2024/11/13
- Re: Is this a bug in while-let or do I missunderstand it?, Sean Whitton, 2024/11/13
- Re: Is this a bug in while-let or do I missunderstand it?, Eli Zaretskii, 2024/11/14
- Re: Is this a bug in while-let or do I missunderstand it?, Joost Kremers, 2024/11/14
- Re: Is this a bug in while-let or do I missunderstand it?, Sean Whitton, 2024/11/20
- Re: Is this a bug in while-let or do I missunderstand it?, Joost Kremers, 2024/11/24
- Re: Is this a bug in while-let or do I missunderstand it?,
Sean Whitton <=
- Re: Is this a bug in while-let or do I missunderstand it?, Joost Kremers, 2024/11/25
- Re: Is this a bug in while-let or do I missunderstand it?, John ff, 2024/11/14
- Re: Is this a bug in while-let or do I missunderstand it?, John ff, 2024/11/14
- Re: Sv: Is this a bug in while-let or do I missunderstand it?, Joost Kremers, 2024/11/09
- Sv: Sv: Is this a bug in while-let or do I missunderstand it?, arthur miller, 2024/11/10
- Re: Is this a bug in while-let or do I missunderstand it?, Andreas Schwab, 2024/11/10
Re: Is this a bug in while-let or do I missunderstand it?, arthur miller, 2024/11/12