emacs-orgmode
[Top][All Lists]
Advanced

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

[BUG] org-string-width: Window is dedicated error [9.6-pre (release_9.5.


From: Bruno BARBIER
Subject: [BUG] org-string-width: Window is dedicated error [9.6-pre (release_9.5.5-1075-g3e010d)]
Date: Sat, 05 Nov 2022 10:12:13 +0100

Hi,

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



Emacs  : GNU Emacs 29.0.50 (x86_64-pc-linux-gnu, X toolkit, cairo version 
1.16.0)
Package: Org mode version 9.6-pre (release_9.5.5-1075-g3e010d)


Bruno



reply via email to

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