From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IDM1LMEnZmPYJgEAbAwnHQ (envelope-from ) for ; Sat, 05 Nov 2022 10:07:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2BYSLMEnZmM1kQAAauVa8A (envelope-from ) for ; Sat, 05 Nov 2022 10:07:13 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6C0FBC66C for ; Sat, 5 Nov 2022 10:07:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orF8K-0006Ro-CZ; Sat, 05 Nov 2022 05:06:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orF8I-0006Rg-VW for emacs-orgmode@gnu.org; Sat, 05 Nov 2022 05:06:30 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1orF8H-0007c2-H1 for emacs-orgmode@gnu.org; Sat, 05 Nov 2022 05:06:30 -0400 Received: by mail-wr1-x42a.google.com with SMTP id bk15so9846414wrb.13 for ; Sat, 05 Nov 2022 02:06:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:date:subject:to:from:message-id:from:to:cc:subject :date:message-id:reply-to; bh=ltRjITnYGQ+KZFabA4CnZthb64d29qT1dlXX7pu5jcM=; b=Sip4e+2hw0DutClrjhRoVWGzGC9Y5eRBl8KwtnqaixMjMHFy2iwoDMII0qtUz0D8ig BR4OdCvsoFxkrfSV68Z+p8+aVcORGfAGro3iz8M3PuknAbYbtEpBHfkyCf7ehFoFAWya BlYTTBhBSBa9/f+t2SqdetF3HzrzyKkzLfBGZs8jK8f1xLM3KO4+Hf/KEbjNBSTpcKKr FJ7vTK4ruUZTYJ2GBKSXzil7+shLm9bXEoMexKwANl7g8fITx/Ts8SmWfmXEudDWN0v1 9KXDemFhdouLWPJ5pYzbpesbk/c2PGhs7Uk0VQlBFiJlHrdTRzc/ces4sSKfC8qqevI/ KP5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:date:subject:to:from:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ltRjITnYGQ+KZFabA4CnZthb64d29qT1dlXX7pu5jcM=; b=CLU0mNDqdqZu7Ps0UlYJnOfF8JMptO9XC1o6mMYc0+pzR6N621ZbixxfPLRmiiO36z VBgFRFTaA1cj1uw2xv/3TiBtyieHTSRWmXiRYH3pydGzk0fezdhbH5cMC3oR7zPwqew4 Nt9r5qV2EJJtDJ05/pY6cXwYC7sbi+qvkW7BPhYhdhpMzPFhaoMktAvgHt7wLNk7+YrG XbIXydtbrkLYvk1KxtxHfE91/oTij3RACPislMv1rZcIl3FDjZXKzR/QlqGiCyvEr68J /lin78Dnwbk+C/lZyuwa90cbSN9w4WHSXbf6eaj7Z0kCbEiRCQfSDEPeasSoidmTQzbx apFw== X-Gm-Message-State: ACrzQf358wGe31fSXR3/arrX/VyT47UIhLoCgrNbYoS/QJvpnGaxN9J7 dsC5qNMuEnnRA0nWl0bbzts6njj1ZlA= X-Google-Smtp-Source: AMsMyM6h9tbk6nO33Uto4GhnyOEYIPvKvv4Xwk22C/2f6bMKMKk71Mccr/lB+GKWjhScUtzPV5YAzA== X-Received: by 2002:a05:6000:885:b0:236:547e:438e with SMTP id ca5-20020a056000088500b00236547e438emr24589915wrb.183.1667639187486; Sat, 05 Nov 2022 02:06:27 -0700 (PDT) Received: from tosh-laptop ([2a01:e0a:505:3460:1a16:a0c4:3f89:c0d9]) by smtp.gmail.com with ESMTPSA id w16-20020a5d4050000000b002366dd0e030sm1541291wrp.68.2022.11.05.02.06.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Nov 2022 02:06:27 -0700 (PDT) Message-ID: <63662793.5d0a0220.62647.3003@mx.google.com> Received: by tosh-laptop (sSMTP sendmail emulation); Sat, 05 Nov 2022 10:12:13 +0100 From: Bruno BARBIER To: emacs-orgmode@gnu.org 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 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=brubar.cs@gmail.com; helo=mail-wr1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667639233; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ltRjITnYGQ+KZFabA4CnZthb64d29qT1dlXX7pu5jcM=; b=RFhXY3FNgz+jJrfrVeZr75v/uKbvcXn1t1H8SGQA1dEdrEsvA0yTVKAeYTh1M/hLNnjDhP k6FjVXpyEzOI1yQRsIi4K8/vv8/KnuhY6GGQf/TAdlFYkcdhOC85nLFPhbDbfoeDa66oN5 QcPQ7G2N3Wday3b8+YZb7odYSHO7MH616OXOkXpLpJcIw1hyMuIy+Vd90PwnslasoJ7Izm nM+DZtEETnhvYIR16klZcG1IJck9rxd+F+ncuD2seOrHtIdfMz2dOZkAwesVIYqcvI5+00 bTQ8rPeIwIlOoyQtgrrv/sSMNCmt3rYU6qpVpA7tpnkyT/GVDXD9Xs7GlfnpTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667639233; a=rsa-sha256; cv=none; b=cphd2su4Cq7gSkZ0mGkS7kseUQDVfW6M+gAXLyjJtNHpxfqiXjds3eeCP9++X5OI4tm5Us eG9nVuXAwyjpzlxcoFg6q+dpI/lt2vgCUmTXXmNR1Y3vdMQ8mNY1FEbkm0Fp7jpkCCzBOo 6hX4gZs1NkxoV2F3pkVWQbbi/zuxNQrTFGMPubpiLQjw/G8d0SqfMzqNuNqynUdLZ5SxNV OObaxlaB2wpPIDtQnb5HGKN9wytKKEXSvsMHVwEJJ/fcZeB2BZjFi8+iRm9nZR3k++8xQS WC/WUeu1c9QMWOKluIK0o2Q25DW9QDBsmHZqo0T81Rs1hTFbrZAcmAFKECiiNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Sip4e+2h; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Sip4e+2h; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6C0FBC66C X-Spam-Score: -2.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: Z3ezuke5B4o4 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