From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MHAnC6+F+GI4MgEAbAwnHQ (envelope-from ) for ; Sun, 14 Aug 2022 07:18:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0AInC6+F+GLLGQEA9RJhRA (envelope-from ) for ; Sun, 14 Aug 2022 07:18:39 +0200 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 A3EA518BD2 for ; Sun, 14 Aug 2022 07:18:38 +0200 (CEST) Received: from localhost ([::1]:52262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oN61E-0003tV-Vg for larch@yhetil.org; Sun, 14 Aug 2022 01:18:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oN5wg-0003qi-HK for emacs-orgmode@gnu.org; Sun, 14 Aug 2022 01:13:59 -0400 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]:54163) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oN5wc-0000nv-DR for emacs-orgmode@gnu.org; Sun, 14 Aug 2022 01:13:54 -0400 Received: by mail-pj1-x102d.google.com with SMTP id pm17so4386489pjb.3 for ; Sat, 13 Aug 2022 22:13:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc; bh=GFXiYIuNbHC6VjeZEZd9pGvQyoEBvMQJS3r9eM/w4Jg=; b=Si3dLqSYX3EwHvnvfvRWREgNiK0IwP6zA+KaMkNa/hrwPTqyJGjM8Y7cPVYw8rX7Ga 5oUe5b9unNIbk2JyDScZzIx+Mf0SznrJMN0i+4qt7ljUViWlrR3cRNUAwrVfmFTb/AIk vGmfDS6ILhRxAyhD8FQf45tyVzEJNToaZ47kTZW9u6A9HIC4FxA20pVen0VGUoiZXcOu UCkoJAbd58FnM5NpXUT5vxEaoY5aLsG/bt1ouDnIW3ro/fDYf6ZmyI9Ydl/VfWZLCnJp CvicBxF4KXJ6fO6sCyE2aaxGxH94JRU1P1dmMD0viaSsk+1GRRe9dUB5rkLRvqA/4s76 Fnug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=GFXiYIuNbHC6VjeZEZd9pGvQyoEBvMQJS3r9eM/w4Jg=; b=Bz7PApITHaTV41JQzx47CzqbjzqfJ3bXJ9wVMjfSHIy+R2EtsacklGVgeStPqUREPh KQUuasfarBsGUNkGK+MPwgALKbo3WiT4P2w7nxO1K1s2otMNmbJvYj4dopLm+KoIU5Xm aAcRQ8DgvF3EgdnIMLAsL9TtRqaUr+YHIZS8N5ESzEi5D2dEn5+nBuyA7/dM+YIjNVGl zj8FkT0G/k1ZNEjZTUeTJKAnYLgtRxvru2g6LDCPVcDeFYCyuuGjJ98sgOs1VYo5kJ3Q GbcCq/QFqZ2ev+N9V9l8OWVzsXzUunf4pdiIfwsgMIChV8vUxrr5ja3LUnuFKWzcOY7U nrtA== X-Gm-Message-State: ACgBeo1FZZauPXinNNXkXltII29Bz+JmMHICRv828vDkmwoY9m/fcLIA tNfU/ZnLbKBe59WlGeG8Bu9+JqCgNoPB8Q== X-Google-Smtp-Source: AA6agR5dS6gO9F+XrtLgVLNl94ZWz76RKgs2N3gBqupNa4hOFOvnLrrtfBOUJXAR3MWIBEsCWY9d7A== X-Received: by 2002:a17:902:76cb:b0:170:9f15:b9a1 with SMTP id j11-20020a17090276cb00b001709f15b9a1mr11279744plt.95.1660454028772; Sat, 13 Aug 2022 22:13:48 -0700 (PDT) Received: from localhost ([2409:8a70:2bf:80b0:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id 66-20020a630145000000b0041cc1c82436sm3836780pgb.70.2022.08.13.22.13.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Aug 2022 22:13:48 -0700 (PDT) From: Ihor Radchenko To: Jean Louis Cc: emacs-orgmode@gnu.org Subject: Re: Bug: Table does not align if there is non-breaking space [9.4.3 (9.4.3-elpa @ /home/data1/protected/.emacs.d/elpa/org-20201216/)] In-Reply-To: References: <87r11k5pq1.fsf@localhost> Date: Sun, 14 Aug 2022 13:14:48 +0800 Message-ID: <87y1vrfltj.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102d; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102d.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660454318; 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: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=GFXiYIuNbHC6VjeZEZd9pGvQyoEBvMQJS3r9eM/w4Jg=; b=Ldf7Kjp/3jxaWI8VDt2ckVKHpI7pa1rQiaaSk1A92aYpEg17PqvtZ91lz1L5gxTmEW87Ut gc5BhWunFuD8XfREJncmcEL1u6tIsMFfcHPkq/8szfFL0I6Hm7a+sagZAUBv0AkW9h03Qu 1Q2kLXoz0/GVTlJ9WxB8O7zrLpjmRAgp/r4JPrOFB3/uvnN3ZsscKaEWVwSOP0ela0g+Gl LSepG9JWVWsdX0hmd34ECAMsu91ggm9ukPV3bS8Utu1+4OouuxkXXD+YS2wHD3ZJaXJTC8 6A3Zo6naMtfPpELntU36oSF6i/p7y5PVeWZa543EEANgWe9NiYTeT+jY0IeDNA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660454318; a=rsa-sha256; cv=none; b=kUZzKIAG4PJx5gNSrhxxRoK0gKWwok5ekuNAPl4YibvCBS/a6MtrOQE5ybukLylyhWH4rK e0vnEGhjfSbBm0Ci4DYszJFmFjgO8PG2M3TFA78bzzO2mn+8ZoyWC0RNZ3ebG4CssVASBY 6LjRe++Uikp4saJelSQVWXnnkpNivtqTllCWrvswSvlhECWR6H/f6SrxKteTuZZpT02zDF Z5qqVkAk0PMFEKZw0A1Jjvh+ATDdzRMbZQxfuv/JUWpL+Knmvm7OeFnbwd9gYwpxZq5Xs9 DKlpIAxdYxDL+ImcLt7OfmiGwUpkRDFJ6rkGZ2cy+g6eJISi4i/Cp4KSJhZyaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Si3dLqSY; 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: -8.66 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Si3dLqSY; 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: A3EA518BD2 X-Spam-Score: -8.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: YqWbDLJoeROa Jean Louis writes: >> Could you please detail what you mean by does not align well? >> Your table looks fine on my side. > > See attached frameshot. > > I can see that it aligns well in `emacs -Q'. However no matter what > theme I tried in running Emacs I could not get it to align. Do you > know by what does that alignment depends? Then I could maybe remove > that dependency. It looks like you have some kind of minor mode that changes the display of non-breaking space. You may consider using https://github.com/Malabarba/elisp-bug-hunter to hunt down the cause. >> I do not know how to set the cell alignment individually without >> changing the whole column. > > Is there a way to insert total in the next table for the previous table? > > Then I could do something like this: > > > | Date | Description | Amount | > |------------+-------------+--------| > | 2022-08-14 | Something | 10 | > | 2022-08-14 | Someting | 20 | > |------------+-------------+--------| > > |------+-------+-------| > | <10> | | <6> | > | | TOTAL | XXXXX | > |------+-------+-------| > > Then I could do some formula to place total from first table in the second table where is XXX? See [[info:org#References][org#References]], Remote references -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92