From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mJdiNn7l4GHCGgEAgWs5BA (envelope-from ) for ; Fri, 14 Jan 2022 03:52:46 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SCgBL37l4GHBCwAAG6o9tA (envelope-from ) for ; Fri, 14 Jan 2022 03:52:46 +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 aspmx2.migadu.com (Postfix) with ESMTPS id 8253D291D7 for ; Fri, 14 Jan 2022 03:52:46 +0100 (CET) Received: from localhost ([::1]:49738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8Cho-0000S4-En for larch@yhetil.org; Thu, 13 Jan 2022 21:52:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8Cgp-0000Rs-DU for emacs-orgmode@gnu.org; Thu, 13 Jan 2022 21:51:43 -0500 Received: from [2607:f8b0:4864:20::82d] (port=41799 helo=mail-qt1-x82d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8Cgn-0000Fe-SA for emacs-orgmode@gnu.org; Thu, 13 Jan 2022 21:51:43 -0500 Received: by mail-qt1-x82d.google.com with SMTP id f17so9451978qtf.8 for ; Thu, 13 Jan 2022 18:51:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=h3CzFOg5V8AhKEvRPJtW9pE9oA9Oh+/3JhZlK7jgMYM=; b=fjospcDbKlBUPBChbNPvO9mfmjlROMROBmAb5xnRTExHIiBZfRRh8XLhTcb9vq9sp5 Jaqg1JLu0sAOpmy2SRBWfjau3Lqmo+R72HQQNshcJnTE4x2GEQ82I7YV9qEIh5NmFAuE M34Kana22mIqpvv4FijYga876n/bVPhVeNSp6K1Z6KeMBNP/JrBZ8YndmCVrsr6FEKlh C1IFx1LNoPf/2UgQDngMMjHucDu6u71mOosFudnAgBEIE88rog48G57700MZsN27LnXP PmIUeGQUqz2vW56WinuhNCnOO8lK7J7rvcWtEArG1meYIKQ9cKlcnD5ghyt5Pfd6+Ayi u8BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=h3CzFOg5V8AhKEvRPJtW9pE9oA9Oh+/3JhZlK7jgMYM=; b=FTXNaPX/mfPAXeQGHD3h6klKBND6c9Xcvj1pPx93dDv1SbhNNrif9R2JeB9K1vdBS9 1ZNUMkaqYpT7tL4PNVp/wKNdv2uhUe9N2B2hOfGfPr59iwbgEcgXyPXrLnye4G+N1HPQ jQfZp/pfWf77TWwZs14A8p1USO1bfwP6/1E+Yb6EFu+19fCEFa5l/Qlv5MFkh36wVqc8 HwpGqEZXX29OHt1ic2gQ0DgXY5JfqJ7vKC4pdz3wgYr2Y3LoltpNcr4pKuze4vGKH2l0 LKzA82vDXRYhDp8t+YosUFNJhodbMDVexgLAxJo8wmCqJ10qVjxKaWwROh/hZFudV3XW WLQw== X-Gm-Message-State: AOAM532vOqC/9zNIf4eg3yef9F2ktYWCRPR3g62YmUpMbqN3TuJRNUZO wDgh0HY1z3ZREo0830tio/eW6kqYo9s= X-Google-Smtp-Source: ABdhPJxUZIDn4PoXMsbuGZd5ADWPcsmYuUx66qqSjhqXYl4O9R0NgsZRYzNecC1Am3bfMPt0IAxTig== X-Received: by 2002:ac8:5fd6:: with SMTP id k22mr6147751qta.18.1642128699634; Thu, 13 Jan 2022 18:51:39 -0800 (PST) Received: from andrews-mbp.lan (pool-173-56-75-166.nycmny.fios.verizon.net. [173.56.75.166]) by smtp.gmail.com with ESMTPSA id bp30sm2732841qkb.66.2022.01.13.18.51.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 18:51:37 -0800 (PST) From: Andrew Hyatt To: emacs-orgmode@gnu.org Subject: Strange bug with text scaling and variable-pitch Date: Thu, 13 Jan 2022 21:51:36 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::82d (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::82d; envelope-from=ahyatt@gmail.com; helo=mail-qt1-x82d.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" 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=1642128766; 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=h3CzFOg5V8AhKEvRPJtW9pE9oA9Oh+/3JhZlK7jgMYM=; b=K/HU2DEB+8bWnS2IRkQ2NCwtsGrJOsGmtgZHg+XMqNiRMZtr/0sfwWGjOOWJdlgZRSIHtp Hzb1t1hbKt4JIrBSDnzNlT+de0uPyejlQpXT12kcg/x7dBPxRkVkMIYhpcfSrBKdGoSaVJ A0NFL8kJl4kUyobVL7sMqyiq82LEoX7j/RSNSRGTgZoyawT/bFBuBWGMktR6gIKpZlpL3x CA7gXETgJ6xxwSUyR2JYbZmQ0ltbdW0qonszLlxOTx3MS2ab4dVr3C5pdU0SnI1J06HEog LMtUWav4UMpf3qGz37CxgxuOfKDgByNiggMyFiB5Awub3e24hA9U3dr2AxYT6w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642128766; a=rsa-sha256; cv=none; b=uKsmqaUk3Kqe4meLvbfHhFFyB+LzZXdmy+RUtqiI7f3oJJV4BMpeWC210/1ww9wJmOnPxr dJHM67MnsbUlQ0L7jAi7TPYdJR3YKT3oNaF800aEpnCURgsI0hiwBnJIo/O/vfMx4uEUz2 yL4vlhDNO7O4yYYn1Dnr0uhU7Dw4nHwSdMN7ysRIIj1PXA9bJ7/GveTvPXFhas2tjNoNTa z4RfWL3woqKNaQNeEpdaeeF77Ij8Zfzzd/mrZQNWobyCfD1ETFodQSBp2IHA6dO/MWJ+TV UsOLeOxDatEkEzU5CR/Sty7EYgeG3wVHZLAvPJ3PTFjda7qurPx/XCvGU2apMA== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fjospcDb; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx2.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: -5.82 Authentication-Results: aspmx2.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fjospcDb; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx2.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: 8253D291D7 X-Spam-Score: -5.82 X-Migadu-Scanner: scn0.migadu.com X-TUID: czGnVW6U0JQM Hi all, I've been having an odd problem where if I try to change my text scale on my org capture buffers, the scale keeps increasing, and increases the scale on the parent of the indirect org-capture buffer, on each capture. I'm using org-mode 9.5, emacs 29.0.50. Debugging into the issue, I realized I can only reproduce this if the org-mode buffer has variable-pitch-mode on. Here's a short repro that works on emacs -Q (of course, you may want to change the path): (require 'face-remap) (defun ash/big-font () "Creates a font that is big enough for about 20 lines of text." (interactive) (let ((text-scale-mode-amount (/ (frame-height) 20))) (text-scale-mode 1))) (require 'org-capture) (add-hook 'org-capture-mode-hook #'ash/big-font) (setq org-capture-templates '(("c" "Capture" entry (file "~/Desktop/test.org") nil))) (find-file "~/Desktop/test.org") (variable-pitch-mode 1) After evaluating this, every time you call org-capture, the text size will increase, until the text size is so large emacs crashes! I have also tried to reproduce this without org-mode, just using indirect buffers, but can't do it. Something that org-mode is doing is causing this, but org-capture is complicated enough that I can't really see what it could be. I can and will continue looking into this, but I'm curious if anyone might have a clue as to what is going wrong here.