From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +PXVBOFuF2QvcQAASxT56A (envelope-from ) for ; Sun, 19 Mar 2023 21:21:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OFDhBOFuF2SxDQAAauVa8A (envelope-from ) for ; Sun, 19 Mar 2023 21:21:53 +0100 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 96E909AC1 for ; Sun, 19 Mar 2023 21:21:52 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=hWleWxWs; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679257312; 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=9tsCU5MXHhB28BqBMcMl7ZR/8rck/c8Ri3Or3VNb6ow=; b=R8SYhU2FaYNXotMJyo1++Ly4f2SNUSL7/UxYZASGf/Ljt80NZBR7xLL/ok4Hn0jIugqjEI odlLx4ycjYCh04zJuWl7szxJLPMTxGXiW0HYXY4wmDDkKY+G0j9KxT3rgEkA47k6Wh+QE5 H33Q5jM3UsSYutOhA1yKEq2FT0I8sC1B2L15OHjFge3HPmHQOM2AZPFbeuveCjzV/Z8OVj ov5ZEm/1zv/A9cHXhS89ducvMKnYv+2cohFw2YDLS/P/EMWHZ92fG7rk6cCvsdi2loKgGL 6ilnb4udCtgNFB6Xph9SMSv87bos1krxprIv6XOt5CpMqt6G11yNQwFqVkBhcQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=hWleWxWs; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679257312; a=rsa-sha256; cv=none; b=MMhrRWT3tYR0OEW0hp6KFRfkfycIzW4VRnsnHdvMUKP+ci56Rqq/klBDRDYt+My/f90X7P WKAoos/qGhbas03HG6yNOITFQzQFRRWAa5V50vTjAAJHzLS6jeP0L8I3H0HxQJtDhKeHeQ 5ag0SDZUGj/J4NyA2S2YPrOLOgwl10ZrNLOpWhDkfWHN6SvCwbuAjmKOLSbj8tRw38QK4Z YuAjzkeRo59mHYebEFHMNHgk9iyU0HIiSX1z9pPkFqxXyGyF6BMQzjPV3Pi2aaDk8blW0f 4MgfsM7ph67D5jM1Ao5IBa35IUySRmbswLNY9zrSH1/NI4PjY+v1aYG1a2GaCQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdzWX-0006d4-Gr; Sun, 19 Mar 2023 16:21:01 -0400 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 1pdzWU-0006cb-U3 for emacs-orgmode@gnu.org; Sun, 19 Mar 2023 16:20:58 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pdzWT-00014B-1g for emacs-orgmode@gnu.org; Sun, 19 Mar 2023 16:20:58 -0400 Received: by mail-wm1-x32a.google.com with SMTP id p16so6250288wmq.5 for ; Sun, 19 Mar 2023 13:20:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679257255; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=9tsCU5MXHhB28BqBMcMl7ZR/8rck/c8Ri3Or3VNb6ow=; b=hWleWxWsBJz67TU3/zTyLgELQwvF8ZPIDb9pz7ore014b6eFuTzJmvP0NTP5k0re8l A0doExVkkr5M3Y+r1mfBMHMdOvRanhKPtCdGyqAmF8Hj8TEwEHI5dTP24SX35hpuYXMI uXODo7b5b400NH54Ok5G92qwiwizy3rumBClOlouayk4NcVVeF2NHHKrai9rFOGWcpiZ q7TqlsMzpwsc9f7imEKAPzJQsquIOZ8NpDY/QxXpWgnAY8qtDNtgYuzy1fZNqDF5VcHq 4jtVjzoun+EyO3SL76IH2yXIHSNytJ+vJAWNKXbAgAG4aV8/OsmSFq/I9r/MaCnDgz9+ 3hPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679257255; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=9tsCU5MXHhB28BqBMcMl7ZR/8rck/c8Ri3Or3VNb6ow=; b=qS8958O84icymXb38qTiZQkHrXGstTeCeOhvQks/G0geUTq87VyYtYwM5EaAcmlel6 Kq4fFdGkk5jrdrhwlE1aICZIKJKyPKjuxUD482/enh12FHppkt37Di4A6nv0o52CXaV/ PxkGG6i6qMu614h4/gsLBLs6/oC1NeE5HMpW1jolwxarza9tqZds46wwkrIsa2BFzhSR toBBnMPZSXH9Sejg0Wudp5E8bfIoFXKRH+8uuRufuv3zOUzTAwftTQl0HV7DzcNnj5w3 Gc/rfXdaOhJPlYCAQQR52GagasdUavegZ4sssNyOI/1+AIAuEiasNZE9/a5yqqUgEmTk WzsQ== X-Gm-Message-State: AO0yUKVed5S/VcJP+SL2xlo/xv8elGHihDk17DM9bg2Q1jg17DjMXko5 FgPuiEX3oFHlOWmBaCXkI3s= X-Google-Smtp-Source: AK7set/m8xCUH9OwsywlCGRyDPDDIVKVa4PcAahDrsbMANEhLfNkDXo31UjNa5n4LkyoN+IAzNXmEw== X-Received: by 2002:a05:600c:a04:b0:3eb:2b69:c3c4 with SMTP id z4-20020a05600c0a0400b003eb2b69c3c4mr34344645wmp.36.1679257254706; Sun, 19 Mar 2023 13:20:54 -0700 (PDT) Received: from [192.168.0.97] (din-216-208-231-77.ipcom.comunitel.net. [77.231.208.216]) by smtp.gmail.com with ESMTPSA id d15-20020a05600c3acf00b003ede2c59a54sm2151292wms.37.2023.03.19.13.20.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Mar 2023 13:20:54 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------xjAIptqMZepVjK7SLAp49cSG" Message-ID: Date: Sun, 19 Mar 2023 21:19:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: Org Table Header bug? Content-Language: en-GB To: Ihor Radchenko Cc: Org-mode References: <875yb4g9wg.fsf@localhost> From: Ypo In-Reply-To: <875yb4g9wg.fsf@localhost> Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=ypuntot@gmail.com; helo=mail-wm1-x32a.google.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 96E909AC1 X-Spam-Score: -5.29 X-Migadu-Spam-Score: -5.29 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: iAILid1ey1q7 This is a multi-part message in MIME format. --------------xjAIptqMZepVjK7SLAp49cSG Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Ihor. The heading and first lines of the table: |-------------------+---------------+-----------------| | NPS (~\Oslash_int pulg.) | DN (~\Oslash_int mm) | PP/PE (\Oslash_ext mm) | |-------------------+---------------+-----------------| | 1/8"              | DN 6          | PE 10 / PP 10   | | 1/4"              | DN 8          | PE 12 / PP 12   | | 3/8"              | DN 10         | PE 16 / PP 16   | The \Oslash appears as the Unicode character ⊘ normally. The \Oslash is not viewed as the Unicode character ⊘ with "org-table-header-line-mode". And the first line of the table appears in the heading. https://i.ibb.co/jht3HL0/Captura.png The \Oslash appears as the Unicode character ⊘, if using the package org-table-sticky-header wich has the same objective, I think: "...this package uses the header line to show the table header when it is out of sight." https://i.ibb.co/T8fD3BR/Captura.png Best regards El 13/03/2023 a las 12:37, Ihor Radchenko escribió: > Ypo writes: > >> When enabled org-table-header-line-mode, the LaTeX symbols in the header >> are not fontified. > It would help if you provided a reproducer. > > Note that getting this right is a bit tricky. In particular, when table > columns are shrunk. > > The function doing the work is `org-table-row-get-visible-string'. > I am wondering if there is a better way to retrieve visible string than > what is done in the function. > --------------xjAIptqMZepVjK7SLAp49cSG Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hi Ihor.

The heading and first lines of the table:

|-------------------+---------------+-----------------|
| NPS (~\Oslash_int pulg.) | DN (~\Oslash_int mm) | PP/PE (\Oslash_ext mm) |
|-------------------+---------------+-----------------|
| 1/8"              | DN 6          | PE 10 / PP 10   |
| 1/4"              | DN 8          | PE 12 / PP 12   |
| 3/8"              | DN 10         | PE 16 / PP 16   |


The \Oslash appears as the Unicode character ⊘ normally.


The \Oslash is not viewed as the Unicode character ⊘ with "org-table-header-line-mode". And the first line of the table appears in the heading.

https://i.ibb.co/jht3HL0/Captura.png


The \Oslash appears as the Unicode character ⊘, if using the package org-table-sticky-header wich has the same objective, I think:

"...this package uses the header line to show the table header when it is out of sight."

https://i.ibb.co/T8fD3BR/Captura.png


Best regards


El 13/03/2023 a las 12:37, Ihor Radchenko escribió:
Ypo <ypuntot@gmail.com> writes:

When enabled org-table-header-line-mode, the LaTeX symbols in the header 
are not fontified.
It would help if you provided a reproducer.

Note that getting this right is a bit tricky. In particular, when table
columns are shrunk.

The function doing the work is `org-table-row-get-visible-string'.
I am wondering if there is a better way to retrieve visible string than
what is done in the function.

--------------xjAIptqMZepVjK7SLAp49cSG--