From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UEKZM35Yh2IMDAAAbAwnHQ (envelope-from ) for ; Fri, 20 May 2022 10:59:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EGO4M35Yh2IGNgAA9RJhRA (envelope-from ) for ; Fri, 20 May 2022 10:59:42 +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 7494731091 for ; Fri, 20 May 2022 10:59:42 +0200 (CEST) Received: from localhost ([::1]:58638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nryU1-0002b4-Ir for larch@yhetil.org; Fri, 20 May 2022 04:59:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nryRO-0002Zw-F7 for emacs-orgmode@gnu.org; Fri, 20 May 2022 04:57:03 -0400 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]:44753) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nryRK-0002j8-No for emacs-orgmode@gnu.org; Fri, 20 May 2022 04:56:57 -0400 Received: by mail-pf1-x42f.google.com with SMTP id x143so7221051pfc.11 for ; Fri, 20 May 2022 01:56:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=pd02Ln2gcWvBbTOT0yTZfC6l5GExQeZr6tvB9v36c68=; b=OwWD3JCXF9R4aHv+1ORsnxP9WR0Eb2jB0a06ao/jkCMVr1gCKeDuGXGxnoRvo4IUyJ aah2WYxff3wNTiqaVE7fwlZSTRsUF+LYXQHt43IMceKxWbN8WL8eIvu8FYz6ZnHuRBNJ QcAaYYNrdohkxxDEyssIYhZ7r+b2NjgLbvjfmDm2Kc22kOx1FkjB51KsF3j9KQwbd9/I /VZ8Qv/iRz4WBO0jz+otd96jkpUeyd/2LvETgUC9Szq7s7TbPNitHgIb7YFDERePjSIU pW+Hudy9G0dlYCJz11EZNA1VkXmRqZ5uhnw7HFHzDjLTECY5/DJ2xaiZggZMnIWNhc5l SHRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=pd02Ln2gcWvBbTOT0yTZfC6l5GExQeZr6tvB9v36c68=; b=WCcwrPOEcet7ifRZsClsTRwwwKk0m55feLt1D34v3pFogKtGKGikMfxsC9sZs4CL4f BvuSotPaUz5YyFR1czT5UrlOLsyhQ+lj9BRBklSUk++pP2HAQwjNytzv4uwz4lJUKWII NuPJUz9hTNXNd5NV/nZMQJcBuVpvumEys0WSDT3RQtzAqFdq545tnDSBMWAQIZ/Humow KM4JyIsoLUGcgGBFYNsfhKoTUasm6mrS7rIE/4N05lJKaiisCQgcYPj4qICBR38/E5nd w5BB9y1m6HVm6aF0d2w9Kype12hXAR5sr47Qb11Rda/qM1hKuQvCD/XvwEcyhdv1yI1H hMHA== X-Gm-Message-State: AOAM532hYT4J2ITNqzz5QgLt6L/NZB0Azn/dt/GdUx77s2TAzRERTcx3 GAT5A6zu8hCj2GQ3mIymTSI= X-Google-Smtp-Source: ABdhPJxT14CFqhC1WgSrSz151J+ANty5odFROOEAVkc7CEe1l7yOp9JsLEm8d9R8p4S3t5cVCG/Pkw== X-Received: by 2002:a63:1358:0:b0:3f5:f2ee:fe89 with SMTP id 24-20020a631358000000b003f5f2eefe89mr7610081pgt.57.1653037013339; Fri, 20 May 2022 01:56:53 -0700 (PDT) Received: from localhost ([134.73.242.163]) by smtp.gmail.com with ESMTPSA id m23-20020a170902bb9700b0015e8d4eb25asm5144286pls.164.2022.05.20.01.56.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 May 2022 01:56:52 -0700 (PDT) From: Ihor Radchenko To: "Richard H. Stanton" Cc: John Kitchin , orgmode Subject: Re: Trouble producing nicely aligned org tables from emacs-jupyter code blocks using latest org version In-Reply-To: References: <09EF74F5-8C39-4773-9407-E65A46E2FE3B@berkeley.edu> <87leux4p8t.fsf@localhost> Date: Fri, 20 May 2022 16:57:36 +0800 Message-ID: <87pmk837jz.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=yantar92@gmail.com; helo=mail-pf1-x42f.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=1653037182; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=pd02Ln2gcWvBbTOT0yTZfC6l5GExQeZr6tvB9v36c68=; b=dCXuvSgW3HwB8blfn+yQIJDK+ofOh/g11vsO5HChC7KkQF13ysdbexnZBMSz7KwTrVPMvu /L1FyMULtTcucN9kM6NM/PGrVhObCdOc8SN6PS3dFF5VH2XTRvf671kqODt0cCy/dMrPYP UlJcMPh5NOJBehcYIN/thfJVKR2iQnyWoLGvMHaXKKYtZibUHCFTzU6krXToW94UzkqXuG B2v9meyBIwpgXIrNOY+f5rowPdE+4EMauZsEgH3SYjSAcJO7gBx/KDDv8PQ9MtWNITZq5u SXfKq4DTUmF7bTclYdweFtqm3jDhfrsZd5xHCEz5B3fHv2TZIJSEXgkKYPrDMA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653037182; a=rsa-sha256; cv=none; b=EZJHWbyU2Lc+UrOIolihgH5xLT+73tiSss+0XtJ28482/At3EFsqwa5Dl3I2sKzAFdrKN2 0iXIdynZ+dOudka5iUpUTUCNKfBCJXeyr/4WoZY37ezz4JHv5bNOTw08cc51r9mJWIOvUO EcOxJoPtMX7m0+l/hxbPjZZW0v2CkGSyRk93oQ0/zbdHrV618+TXnLJ865dKty8glMrEau AKwGtfEzIvDtrSzczyZZGpW8OTOCqtgsua71Y3qKZJmighiS4fBP8PkKAqpCWmYjhjMiAg d3yAV0t+D4ka52Krx26cZ3iLEBU3G+3TnG5wggubMjoB543X66PH9kOFILveBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OwWD3JCX; 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: -2.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OwWD3JCX; 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: 7494731091 X-Spam-Score: -2.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: hyfAFwUquq9Y "Richard H. Stanton" writes: > Here=E2=80=99s a simple init.el that shows the problem (most of it is jus= t boilerplate code to use straight.el to manage packages, and you may need = to edit the python executable path). > ... > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94 > > Now execute the following source block and you=E2=80=99ll see the misalig= ned table. > > #+begin_src jupyter-python :async yes :session py > [['aaaaaaa', 'a'], None, ['b', 'b']] > #+end_src I am unable to reproduce the problem using Emacs 28.1 on Linux. I ran Emacs in a clean .emacs.d environment using https://github.com/alphapapa/with-emacs.sh: $ with-emacs.sh -e emacs -OPR -- -Q -l /tmp/bug.el /tmp/bug.org with bug.el containing your script with latest Org line uncommented and built-in Org line commented and bug.org containing the example source block. Best, Ihor