From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2Ql2MuaGVmHfdAAAgWs5BA (envelope-from ) for ; Fri, 01 Oct 2021 05:56:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wO+kLeaGVmG3NgAAB5/wlQ (envelope-from ) for ; Fri, 01 Oct 2021 03:56:22 +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 39978F737 for ; Fri, 1 Oct 2021 05:56:22 +0200 (CEST) Received: from localhost ([::1]:52594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mW9en-0007gC-DA for larch@yhetil.org; Thu, 30 Sep 2021 23:56:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mW9e9-0007fK-J6 for emacs-orgmode@gnu.org; Thu, 30 Sep 2021 23:55:41 -0400 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]:43803) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mW9e7-0006N4-Uu for emacs-orgmode@gnu.org; Thu, 30 Sep 2021 23:55:41 -0400 Received: by mail-pg1-x529.google.com with SMTP id r2so8219423pgl.10 for ; Thu, 30 Sep 2021 20:55:35 -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; bh=JJIZvXxUl4h58AwRbzUQc/Jo/ZV+zHVenuCBTaZ5b98=; b=H+VMH1xTyXe7UxcF/J1SaS1AiP+eLjrZEzN7cDaZZb0BMwXm3a+FhIXNmbPCTHnQrj TGh7HAJ2uF8CCljLBE25tsTAdIrAw+iFOlJoeOiDMas3rc3N9a0gQRbOza2cYUFiQE8v rwzNyY75JMazwcMgGEUUnEdOYowtA4NC4J54IvfGqEaYOeHTy28rS1tkNgkEq3T2lx3/ uxTOKFXXKufyj2Hfebz6TFhAXJUQEI9s0nfop7uZXHNzKFyaoyDvxNMbJ4xN7RYXPg7W YvS9rsdncyg+kJ1wTarVd8nvcCekHQwBKylF207qlEiJ5T9hh0+Xv8wG3dpg1zPK7+5n AV9Q== 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; bh=JJIZvXxUl4h58AwRbzUQc/Jo/ZV+zHVenuCBTaZ5b98=; b=q71/I85/7YRPlOkPo3BeOp1Q/XReMWQg0e9a31D3L5/e5is04ziuiHecTgIAIcHMz6 ulY75zdS2rbFh4b9Ux7I4DIdS+aN0k4n6gG1FW49PlXhsrzfoA7JELJ86ie05Z/D+8BY UTcN+8sAF08s8doSunL8mXJ70adAmDy/mrK4EcljtF1FFr5khNO5URx6hnu1gRI2O6O7 YK4a+/QQnVv4jkspWJ9EzV4IvZkxtxg1r7luxO0ruZIct+YjvwyGNwARUaQfI29Fu9d9 2Ajs6HzeDDH64gJnSBpPkBBpMplyeABlkQMB0/0a++MW1NQBlU1K7qL3ukTUwZ8trEkL VXqw== X-Gm-Message-State: AOAM531GQyEqgI+aXeanKdB2j0VZGKPCbcscXq0kydmFqI7trwrw2rmL eafS0xk9qDfq65d/qdZac5c= X-Google-Smtp-Source: ABdhPJz33/kP1a1QZzeLId4F2jZv/cfNeJGK/UOpWLKnUeke7h6J9StzNYW2Vh84NlpXWFhb6zNwPg== X-Received: by 2002:a63:3d8c:: with SMTP id k134mr7945705pga.394.1633060534426; Thu, 30 Sep 2021 20:55:34 -0700 (PDT) Received: from localhost ([113.20.30.139]) by smtp.gmail.com with ESMTPSA id n12sm4321722pff.166.2021.09.30.20.55.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Sep 2021 20:55:33 -0700 (PDT) From: Ihor Radchenko To: Nicolas Goaziou Subject: Re: BUG: org-table: table option =?utf-8?B?4oCcOm1pc3NpbmfigJ0=?= not working (in ob-gnuplot.el) In-Reply-To: <87a6jteiao.fsf@nicolasgoaziou.fr> References: <20210617211347.59e4de56@happy.intern.roklein.de> <87lf3erzai.fsf@localhost> <87a6jteiao.fsf@nicolasgoaziou.fr> Date: Fri, 01 Oct 2021 11:56:49 +0800 Message-ID: <877dexe6ta.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::529; envelope-from=yantar92@gmail.com; helo=mail-pg1-x529.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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 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, Robert Klein 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=1633060582; 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=JJIZvXxUl4h58AwRbzUQc/Jo/ZV+zHVenuCBTaZ5b98=; b=Hy8PLcJJahSk8w0tQD6l7+gx9WbAvJOYgolYqgKakCLb1LVbNO1YQ1RDOS44PHmxYmzS6R hJF0xlKnSempo0c0aN+INedLrhjOjVypAcFCwDkYwi994O4AXp//maDkN6zzfSbBlpPigD O6Eg1bnpCaxEN/bbZbm/bOTTZl4imXTx7mQZmzJ+WXc88foNkdjJ7CRqx57EIHibYNwQBr iwwz3VPGA3qdwyOraANdt0AHAKkCSBmZMl3uKFSlwDYYOr1deiuCMymlOmjXfEgxzFcxaX DAaGL9y2QHG90lQIUgTU+i3YWZ4WBqOeZf+cxwYkfe8h6NGVXaCOOh9Bt6t1gA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633060582; a=rsa-sha256; cv=none; b=PfC1O+LOY/gs6FDFADQ15NWOI5Ic+ilX6meVroNKn2Qu0XFlWvz4/jc72hw4Pnp8fPyrhp MIH9TcdyWtaCgHhasqLXw0cLHx3VlmrR+/ZTZfLJsosd3adjY6jakPElLYGeUrGR1m5ZpA muFTQxUviGff9/Mu+8rizYkkTBUdReIr43Ty7t8CtWwHMQd02GeByr0W61i2duWuA9fxwZ tdtXDFxOtlAJS9OYuYmw5y2srcloSvrIa1QEme5e6Ra1rhsj+OMymQOP59IWRruOP8msn7 DhlFn51zIK8eefD7MSkyqA1+KGtnly3DrwM1n9hvfhPT7blYYS8/pQ6q/80YPw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=H+VMH1xT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: -0.80 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=H+VMH1xT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 39978F737 X-Spam-Score: -0.80 X-Migadu-Scanner: scn0.migadu.com X-TUID: F6ulapDYfvL1 --=-=-= Content-Type: text/plain Nicolas Goaziou writes: > I'm not sure. I wrote this some years ago. I guess the rationale at that > time was that it didn't feel useful to apply a format to an empty cell. > For example, if you use `:fmt "$%s$"', I assume you wouldn't want to get > "$$" in otherwise empty cells. Also makes sense. At this point, third-party code is likely to rely on the existing logic, so I do not see any reason to insist on changing org-table. To avoid confusion, can we change the docstring explicitly saying that empty cells are ignored? (see the attached) Best, Ihor --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-orgtbl-to-generic-Mention-that-fmt-is-ignored-for-em.patch >From 60365a164147dfc71f0047661c143b54064a459b Mon Sep 17 00:00:00 2001 Message-Id: <60365a164147dfc71f0047661c143b54064a459b.1633060596.git.yantar92@gmail.com> From: Ihor Radchenko Date: Fri, 1 Oct 2021 11:40:54 +0800 Subject: [PATCH] orgtbl-to-generic: Mention that :fmt is ignored for empty cells * lisp/org-table.el (orgtbl-to-generic): Amend docstring mentioning that :fmt is ignored for empty table cells. --- lisp/org-table.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/org-table.el b/lisp/org-table.el index 89c57fb06..3fed15054 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -5649,6 +5649,9 @@ (defun orgtbl-to-generic (table params) (:fmt (2 \"$%s$\" 4 (lambda (c) (format \"$%s$\" c)))) + The format is ignored for empty fields. Use :raw t with non-nil + :backend option to force formatting empty fields. + :hlstart :hllstart :hlend :hllend :hsep :hlfmt :hllfmt :hfmt Same as above, specific for the header lines in the table. -- 2.32.0 --=-=-=--