From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Carlos Pita Newsgroups: gmane.emacs.bugs Subject: bug#38181: Actual height of mode-line not taken into account Date: Fri, 15 Oct 2021 05:18:13 -0300 Message-ID: References: <87eeyd3ul0.fsf@bernoul.li> <2a0bf8c7-69df-0532-c6d8-5315ee9fee28@gmx.at> <83bl3qk9je.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11251"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 38181@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 15 11:20:08 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mbJNo-0002gc-3H for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Oct 2021 11:20:08 +0200 Original-Received: from localhost ([::1]:48260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mbJNm-0000sO-JS for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Oct 2021 05:20:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbIQg-000509-AA for bug-gnu-emacs@gnu.org; Fri, 15 Oct 2021 04:19:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54704) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mbIQf-0000yo-U7 for bug-gnu-emacs@gnu.org; Fri, 15 Oct 2021 04:19:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mbIQf-0001WV-NE for bug-gnu-emacs@gnu.org; Fri, 15 Oct 2021 04:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Carlos Pita Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Oct 2021 08:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38181 X-GNU-PR-Package: emacs Original-Received: via spool by 38181-submit@debbugs.gnu.org id=B38181.16342859125813 (code B ref 38181); Fri, 15 Oct 2021 08:19:01 +0000 Original-Received: (at 38181) by debbugs.gnu.org; 15 Oct 2021 08:18:32 +0000 Original-Received: from localhost ([127.0.0.1]:38017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbIQC-0001Vh-2C for submit@debbugs.gnu.org; Fri, 15 Oct 2021 04:18:32 -0400 Original-Received: from mail-yb1-f177.google.com ([209.85.219.177]:35637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbIQA-0001VT-6D for 38181@debbugs.gnu.org; Fri, 15 Oct 2021 04:18:31 -0400 Original-Received: by mail-yb1-f177.google.com with SMTP id z5so20917235ybj.2 for <38181@debbugs.gnu.org>; Fri, 15 Oct 2021 01:18:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wj+2gZEs8FDg74aw29H4MAoTWreipiPR8QiFvvuMPlw=; b=ogZKtO/L53t1PNmPKs+7FA12OozWVZlcWmdWMUygMB1uh6vY/4E/cMhZ2+SLH0Hy+k 7lnraJ8T0gMMC9nPPX7ZuuQyOowITm7KOFXv8OdbfpoTRzMpxeRSNSz9euoG6UxcQ9Ad M4A7N8l6GXIq3cHqMBTJLa7NYUcACAluhHyvsqfiO56Rbdf6LGRVOZtK6oq/yu09k5IY nOBmWgIIf83fYnu6gGl62LyliRFvELmuiPVaAsEw0ypB/JNvM7hgguAEMFQV3GhQ3EH0 e0COZkhFFpMX1R4RHaqBX+c4bdC5tvn/3dUN7RA2z6j8AL8bslGR7zxzKuZs0lhvyKdK /U5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wj+2gZEs8FDg74aw29H4MAoTWreipiPR8QiFvvuMPlw=; b=z6TxnsBD158r0HUDrY3N/GgKl53mDeMrveardg6lLvekKZFfbE1OT/jnv4SMBDFe6D gHvnkJM4OINLPAdvCAcjBDhnVD5FbLkzpejoyVQiykspVhR2XqSJXnr4t9DQOoWP8y3H UnDHWOvtxPL4BM7VYzoI/YpkddCEMDtXr+Sx6QhihL+hV8pm/7Sl3xQIeUCesFBuqic9 ynnqehoivdGLaHOcEBdlGwUp9vLDTFp44EVtf6yjNIMEDYEFRPhokdjK2G2DykuhzvZk GZEtVs6o9ftfKFPLobEZCgX7Zn6G33Ty/pUKoR38LbcInSjmF+QQoQPu43CWs1MFTV5I roqA== X-Gm-Message-State: AOAM530+ygMY0bcaV5OlJEFa3yukON3Vvu8WRq5T4bA3VmpKMI5a67/h Fb7T1ih4IUsQ8/6wnZKGeCvdgt+MiIY6USovzNE= X-Google-Smtp-Source: ABdhPJyzx2pUf94XklW7EY2BwlVsvbIieHHrNFSprpgone2UTPytVKLMriABH0Vtl0HU1kCYrsg3cMWbX76O+Zer5lM= X-Received: by 2002:a25:49c3:: with SMTP id w186mr11821085yba.429.1634285904771; Fri, 15 Oct 2021 01:18:24 -0700 (PDT) In-Reply-To: <83bl3qk9je.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:217301 Archived-At: > Can you show the recipe for the problem, starting from "emacs -Q"? Yes, of course, the example Jonas provided in the opening post will do it with a small modification. 1. Execute the code. 2. Call test-popup and check that the layout is wrong. 3. Redefine test-popup with (redisplay) uncommented. 4. Call it again and check that the layout is right. 5. Redefine test-popup with (redisplay) commented again. 6. Call it again and check that the layout is wrong again. Now, consider the workaround [1] that seemingly has been doing the job for almost two years in at least moody and doom modelines. AFAICS if this workaround was working then, (6) above is showing us something new. Or perhaps it's just my setup and the workaround still works for everybody else. > It sounds from what you say that the problem is not with the mode line, but with something else. If that is true, please submit a new bug report. Please, you tell me what to do in this regard because I'm unable to tell if the problem is in the modeline or elsewhere. To my untrained eye it looks quite similar to what was reported here, although with the aforementioned difference. Best regards, Carlos --- [1] https://github.com/tarsius/moody/blob/9b679400ca885b8ff51bcfd75b87f79d66c0ee26/moody.el#L303