emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] code block side effects differences between "results: none" an


From: Ihor Radchenko
Subject: Re: [BUG] code block side effects differences between "results: none" and "results: silent" [9.6.9 ( @ /home/jet/.config/emacs/elpa/org-9.6.9/)]
Date: Tue, 24 Oct 2023 09:28:50 +0000

Jeff Trull <edaskel@att.net> writes:

> In the following code block, a propertized (inverse video) before-string
> overlay appears when "results: none" is used, but the property is absent
> (the overlay text appears normal) when "results:silent" is used:
>
> # with ":results none" it works as expected - inverse video Foo appears
> # with ":results silent" the string appears normally
> #+begin_src emacs-lisp :results none
>   (let ((buf (generate-new-buffer "side-effect-demo")))
>       (with-current-buffer buf
>         (let ((ov (make-overlay 0 (point))))
>           (overlay-put ov 'before-string (propertize "Foo" 'face
> '(:inverse-video t))))))
> #+end_src

Fixed, on bugfix.
Thanks for reporting!
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=84fa57ad1

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]