From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MFOfHk5HfmBq0QAAgWs5BA (envelope-from ) for ; Tue, 20 Apr 2021 05:15:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gBA8Gk5HfmBEBwAAbx9fmQ (envelope-from ) for ; Tue, 20 Apr 2021 03:15:26 +0000 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 EE65E13CB9 for ; Tue, 20 Apr 2021 05:15:25 +0200 (CEST) Received: from localhost ([::1]:54078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYgrF-0002km-4F for larch@yhetil.org; Mon, 19 Apr 2021 23:15:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYgpc-0002EH-8R for emacs-orgmode@gnu.org; Mon, 19 Apr 2021 23:13:44 -0400 Received: from out0.migadu.com ([2001:41d0:2:267::]:12685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYgpa-0006W0-Nq for emacs-orgmode@gnu.org; Mon, 19 Apr 2021 23:13:43 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1618888419; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=4VE9KbccS+qbWKyvIQdu9RQ8EOWuopv8nBHYZZaBaeo=; b=tM2pMBIS1vJ0+1MRwnAJiFCOC4okPp4d/CTNwQJblA39zp8VR3v6lwrJV8k/kd6uvZi5Bh GnoE6KssbF37HRYJfnGNLfibGoPPUpKq48fc/Q1Ex9bEW6QuhkFVDus9AXITDXFdsrItv4 N70JqbJC4nLKAD1sk4lniDqurZ3q0auC/MDvMucOXUZFmt9UnODA35mAmSvLd3qJu0NfUK TBK+W6XwGcf4Fo+W2ts8tb4b+VHIpVVB9AMbtYP7sZZTFbUSgOlbJvDVpdoHh/EUzlwoSH 1otMiC9MP98pUba+9p+Pz7ebLIKPoEDannT3w8VJLGmi2Ixl3j7fxujSgcTl7A== From: Kyle Meyer To: Oorja Sandhu Subject: Re: Bug: table header line mode misaligned in org-indent-mode In-Reply-To: <7beea3b5-6fe5-4ba6-831e-19a88d87de6b@www.fastmail.com> Date: Mon, 19 Apr 2021 23:13:38 -0400 Message-ID: <87a6pty7fh.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Received-SPF: pass client-ip=2001:41d0:2:267::; envelope-from=kyle@kyleam.com; helo=out0.migadu.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, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618888526; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=4VE9KbccS+qbWKyvIQdu9RQ8EOWuopv8nBHYZZaBaeo=; b=NckDSkNfs4I1xEcExemfvFfTnsEGOlltqY5t0yqek2N9psp5RKWQRWHzhZukz7tC/QY3LG g+6Mjdrottj9vXx0YONfmHuyeGXmtE74etIgPAjQO5M5mGtLN+bH0TDOjYEu4siYuVqYSk EjeoM1+lwkoVng6RyiMHXX9bjjMC53cd78jolFqgtAln79dlO5qzOuEjBbdV0GXkjyTsq7 XBB6m6B43C53JKkwthuqTRgYqJKXwxrvZMbEJJoRzIBiPpRz+eSFLX+e1zUON8fqUwCmmq dB9sKFrM4PExkIH3gfHhRXd4XtKu1umjkU2jAyvH5tzMZjTlfdV3R8wEG6pm6g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618888526; a=rsa-sha256; cv=none; b=RlLMwK5wkiXvjuUccNkLyo7AI3o/NuOKuHmO/c+uo9LhM4YxlIuG/WU7q1gUioyTyuzpEg Zu2IpySPV421ZgWUFjyWtbzhgeKOGGwyIS6jmSRwr3MC46pCm5u9vvYK+p82tEY59WxL/K Nir0iGcDmzCKHFXGZ1CYTxrk5pru8etwjYxO37Lu+4ehLc5SPQahhuUvqbx3qV7qHwNgdC kjPawuInKSrQQQDdZrwV3+/vRMl7vVPxPU8lnWb62pKBb8ytjpvplqa9gCuLBC2sAOFan6 iTuajVd9OTY6r4yb+CtzGigL11PtM3XIXl4gjJ+90Dbxu2Ht3Xa9HptuuHy6Qw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=tM2pMBIS; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=tM2pMBIS; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: EE65E13CB9 X-Spam-Score: -2.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: 71kFdgPxabBQ Oorja Sandhu writes: > Steps : > 1. emacs -Q > Latest Emacs cloned and built from master today. > > 2. Open the attached org file > > 3. M-x org-table-header-line-mode > > 4. M-x org-indent-mode > > 5. Resize emacs window very small such that horizontal as well as vertical scrolling is required to see it fully. > > 6. Go to end of line in a row in the table when the header line overlay is active. > > Observation : the header is misaligned proportional to depth of current headline, attached screenshot. > > Expectation : header be indented as much as the table. Thanks for the report. I can trigger it, though I haven't been able to come up with a fix. It seems like it must be some interaction between text properties (org-indent-mode) and overlays (org-table-header-line-mode), but I don't have a good idea of what that would be. Perhaps others have ideas.