[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Async Python src block behavior with :dir header property
From: |
Bruno Barbier |
Subject: |
Re: Async Python src block behavior with :dir header property |
Date: |
Thu, 08 Feb 2024 18:46:35 +0100 |
Ihor Radchenko <yantar92@posteo.net> writes:
> Jack Kamm <jackkamm@gmail.com> writes:
>
>> On executing any python session block I am getting the following error
>> which I think is caused by the above:
>>
>> Debugger entered--Lisp error: (void-variable buffer-name)
>
> That's a mystery.
It looks like 'when-let*' doesn't accept symbols without values; it
needs real bindings. The form `let*' assigns nil when there are no
values, but, with `when-let*', assigning nil would make the whole
`when-let' fails.
Here is the expansion when using a symbol without a value, which
explains both the void-variable error and the compiler message:
#+begin_src elisp :results scalar
(macroexpand-all '(when-let* (new-var) 7))
#+end_src
#+RESULTS:
: (let* ((new-var (and t new-var))) (if new-var 7))
Bruno
- Re: Async Python src block behavior with :dir header property, (continued)
- Re: Async Python src block behavior with :dir header property, Jack Kamm, 2024/02/02
- Re: Async Python src block behavior with :dir header property, Ihor Radchenko, 2024/02/03
- Re: Async Python src block behavior with :dir header property, Jack Kamm, 2024/02/03
- Re: Async Python src block behavior with :dir header property, Ihor Radchenko, 2024/02/04
- Re: Async Python src block behavior with :dir header property, Jack Kamm, 2024/02/04
- Re: Async Python src block behavior with :dir header property, Ihor Radchenko, 2024/02/05
- Re: Async Python src block behavior with :dir header property, Jack Kamm, 2024/02/06
- Re: Async Python src block behavior with :dir header property, Ihor Radchenko, 2024/02/06
- Re: Async Python src block behavior with :dir header property, Jack Kamm, 2024/02/07
- Re: Async Python src block behavior with :dir header property, Ihor Radchenko, 2024/02/08
- Re: Async Python src block behavior with :dir header property,
Bruno Barbier <=
- Re: Async Python src block behavior with :dir header property, Jack Kamm, 2024/02/10
- Re: Async Python src block behavior with :dir header property, Ihor Radchenko, 2024/02/10
- Re: Async Python src block behavior with :dir header property, Nasser Alkmim, 2024/02/13
- Re: Async Python src block behavior with :dir header property, Ihor Radchenko, 2024/02/13