emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG] org-string-width: Window is dedicated error [9.6-pre (release_


From: Ihor Radchenko
Subject: Re: [BUG] org-string-width: Window is dedicated error [9.6-pre (release_9.5.5-1075-g3e010d)]
Date: Sat, 05 Nov 2022 09:40:52 +0000

Bruno BARBIER <brubar.cs@gmail.com> writes:

> The function `org-string-width' fails if the selected window is strongly
> dedicated.
>
> Here is a way to reproduce this error:
>
>   #+begin_src elisp
>     (let ((old-dedicated (window-dedicated-p)))
>       (unwind-protect
>           (progn 
>             (set-window-dedicated-p nil t)
>             (org-string-width "a string"))
>         (set-window-dedicated-p nil old-dedicated)))
>   #+end_src

Thanks for reporting!
Fixed on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=946abeb49a73d7d04233a53fbb7fd422c7e294b6

-- 
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]