From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#73882: 31.0.50; global-visual-wrap-prefix-mode misaligns org tables Date: Sat, 19 Oct 2024 16:14:48 -0700 Message-ID: References: <57IhhRXkW76A6AfCCuAzPXZD5wAah3fV2P0gNIB6312oMAQMbi3iFL4Msyx5RaQqZmEEmaOJm8iWP3w5a0i7apxmpc8RScCpp7PXX7M5ik4=@artelse.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------WqEEQGaE0Hez0qvjfwMauIWx" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34001"; mail-complaints-to="usenet@ciao.gmane.io" To: Arthur Elsenaar , 73882@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 20 01:16:54 2024 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 1t2Igo-0008hQ-IV for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Oct 2024 01:16:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2IgZ-00052M-SG; Sat, 19 Oct 2024 19:16:39 -0400 Original-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 1t2IgY-00052E-G5 for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 19:16:38 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t2IgY-0002Kc-22 for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 19:16:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=+ud67wcyp7Il1jZJ54/+NkiaOmZKNFBT+P798YY7JDc=; b=iXzHF2Y9sfHoklI/w2vFVf6a13vuZuDZQB4V5kxKNipbZzK3ufNAuSoutks9X5toTB6w2OYBEbEXK7QdazeUQOtNmHeRE5EH6JM6TABLhU0gM6PS+LhSnrMp0NbyUTfWngqlhSCNxj789DMx5KGttrTw/OBNyRvRd65e9E1wHI8/55MxE1G4JRlF9xrPQ1QzWtn2lwVuV8tA2BslMsqxN0+xGglnErw6smv67c5rZucgoiA5MH/wx5MFP7B/7wbje/qPFGWNCKMkwISRIRCApib0GFtgCbO4+7wjp2/l9AdPY+HA1kDntKdbTyXR/f7HwadXAh3g8lPzCuTOsRJ2mw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2Igw-0001x2-6H for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 19:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Oct 2024 23:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73882 X-GNU-PR-Package: emacs Original-Received: via spool by 73882-submit@debbugs.gnu.org id=B73882.17293797837435 (code B ref 73882); Sat, 19 Oct 2024 23:17:02 +0000 Original-Received: (at 73882) by debbugs.gnu.org; 19 Oct 2024 23:16:23 +0000 Original-Received: from localhost ([127.0.0.1]:45103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2IgJ-0001vr-8U for submit@debbugs.gnu.org; Sat, 19 Oct 2024 19:16:23 -0400 Original-Received: from mail-pg1-f171.google.com ([209.85.215.171]:60608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2IgH-0001vb-8v for 73882@debbugs.gnu.org; Sat, 19 Oct 2024 19:16:22 -0400 Original-Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-7ea9739647bso2250297a12.0 for <73882@debbugs.gnu.org>; Sat, 19 Oct 2024 16:15:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729379691; x=1729984491; darn=debbugs.gnu.org; h=in-reply-to:from:references:to:content-language:subject :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=+ud67wcyp7Il1jZJ54/+NkiaOmZKNFBT+P798YY7JDc=; b=cGdY6m9BBFBpL6uSh9d+gAkmxUrW71QnVV3k1HbWnPB5ghgmRSlKzIWnJ1whjPEYLE EpBsWS5qbziXrL8Aq7XKkBis47UoX7p7AjmxHOYuSZKfiVOqjUCveLiUBAF5SmZg1og0 sScdZ0DKXtgxbjYGoQfv5bSmP/P+qVmJiRRzWNnrE5pl3nO3tm1dtRCQKs/q2Myp85SK WwRe2BGOlXIGtSdHlfB2PCVO/PCxVG+LyoX0xSYLIYUrbWGTbBubNxro266nFhiHAgN8 L+GjblW+oZ1fN3VouL4EjKSt2yfqCKhB/+sgfQ4QErcoDXmTFnayjwVykZxj7z9jOL3O //Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729379691; x=1729984491; h=in-reply-to:from:references:to:content-language:subject :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=+ud67wcyp7Il1jZJ54/+NkiaOmZKNFBT+P798YY7JDc=; b=pK1VF/Tym23jCH5QSS6gWUQkTr/SIUR9qBzf+lDIfgSNeAI/thFyY5E61o/0jxKV8Y KKtPNcbf9BcV3G9OP8XnApzKHZWV+WKKav2I+wnac6tAhtxEj6BRvuN5wVoWkJ2VXmdI pEU1dYAFAQZnlXPrZ6GUfZsza3vEeCXz1zgOCgTbcyEwml9F0cFjlkR23OMevleXGA4W wHxnPBJos4fHR5yqtLiyhvFgUwjqRc+rcQf77/dphGl1GQ1trkQthyF0lZV3pG1D+coo 3ugoVIlzhxBqtxtvroSEOHPJjTClWpatAso66TlzqGEiYqyybhN9RgsiIHphvifENroT rMyg== X-Forwarded-Encrypted: i=1; AJvYcCVhKXr6g9juhuSBYRszM4Kg3ZiBMFVeqq1KptPCZHweUDruXxeAgivoZTrgKT9Y1O/xOJnJ6Q==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzveVtJ5a+W/cX874X90bCUFidFv/KpVrcJsmOsB0+nIc9pI8si BfZqyGEgXFY/ezec4o2srw0m1nY7Td01XGi5PGdHFFr6laA6Hgms X-Google-Smtp-Source: AGHT+IHelWRTtBQYDBrVc8WJOWHn1ZiLOlCWI0aY8I3fXs5vRfYFC6otZ7xi0SLimyztJNqhS2zihw== X-Received: by 2002:a05:6a20:b22:b0:1d9:3456:b799 with SMTP id adf61e73a8af0-1d93456bec9mr5497139637.46.1729379690791; Sat, 19 Oct 2024 16:14:50 -0700 (PDT) Original-Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-71ec13d742dsm248922b3a.119.2024.10.19.16.14.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 19 Oct 2024 16:14:49 -0700 (PDT) Content-Language: en-US In-Reply-To: <57IhhRXkW76A6AfCCuAzPXZD5wAah3fV2P0gNIB6312oMAQMbi3iFL4Msyx5RaQqZmEEmaOJm8iWP3w5a0i7apxmpc8RScCpp7PXX7M5ik4=@artelse.com> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:293916 Archived-At: This is a multi-part message in MIME format. --------------WqEEQGaE0Hez0qvjfwMauIWx Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 10/19/2024 2:52 AM, Arthur Elsenaar wrote: > | head  | 1 | 2 | 3 | 4 | > |-------+---+---+---+---| > | apple |   |   |   |   | > | orange |   |   |   |   | > | pear  |   |   |   |   | > | banana |   |   |   |   | > > Table cells are misaligned. > When one hits within a cell, the cells align. However when > global-visual-wrap-prefix-mode is enabled, the cells get > misaligned. It appears a character in the first column gets attributes > added that makes the character span more than one space. Thanks for noticing. This patch should do the trick, I think. --------------WqEEQGaE0Hez0qvjfwMauIWx Content-Type: text/plain; charset=UTF-8; name="0001-Fix-min-width-calculation-in-visual-wrap-prefix-mode.patch" Content-Disposition: attachment; filename*0="0001-Fix-min-width-calculation-in-visual-wrap-prefix-mode.pa"; filename*1="tch" Content-Transfer-Encoding: base64 RnJvbSA3MjdhYmMzZmJiOGQ0M2RlNzhhOWFjZjQ3YWE0ZmIzYTk3YmJiMjFhIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBKaW0gUG9ydGVyIDxqcG9ydGVyYnVnc0BnbWFpbC5j b20+CkRhdGU6IFNhdCwgMTkgT2N0IDIwMjQgMTY6MTI6NDMgLTA3MDAKU3ViamVjdDogW1BB VENIXSBGaXggJ21pbi13aWR0aCcgY2FsY3VsYXRpb24gaW4gJ3Zpc3VhbC13cmFwLXByZWZp eC1tb2RlJwoKKiBsaXNwL3Zpc3VhbC13cmFwLmVsICh2aXN1YWwtd3JhcC0tY29udGVudC1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93biBsYXRlciBpbiBgdmlzdWFsLXdyYXAtLWFwcGx5LXRvLWxpbmUnIChidWcjNzM4 ODIpLgorICAgICAgKGFkZC1kaXNwbGF5LXRleHQtcHJvcGVydHkgMCAobGVuZ3RoIHByZWZp eCkgJ21pbi13aWR0aCBuaWwgcHJlZml4KQorICAgICAgKG1heCAoc3RyaW5nLXdpZHRoIHBy ZWZpeCkKKyAgICAgICAgICAgKGNlaWxpbmcgKHN0cmluZy1waXhlbC13aWR0aCBwcmVmaXgg KGN1cnJlbnQtYnVmZmVyKSkKKyAgICAgICAgICAgICAgICAgICAgKHN0cmluZy1waXhlbC13 aWR0aCBhdmctc3BhY2UgKGN1cnJlbnQtYnVmZmVyKSkpKSkpKSkKIAogKGRlZnVuIHZpc3Vh bC13cmFwLWZpbGwtY29udGV4dC1wcmVmaXggKGJlZyBlbmQpCiAgICJDb21wdXRlIHZpc3Vh bCB3cmFwIHByZWZpeCBmcm9tIHRleHQgYmV0d2VlbiBCRUcgYW5kIEVORC4KLS0gCjIuMjUu MQoK --------------WqEEQGaE0Hez0qvjfwMauIWx--