From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jakub =?UTF-8?Q?Je=C4=8Dm=C3=ADnek?= Newsgroups: gmane.emacs.bugs Subject: bug#64205: Fix missing border cell when using orgtbl-to-table.el function Date: Tue, 20 Jun 2023 23:57:35 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000d3016d05fe96bd3c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7832"; mail-complaints-to="usenet@ciao.gmane.io" To: 64205@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 21 13:28:17 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qBw0W-0001wK-Ik for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Jun 2023 13:28:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBw0S-0002Hj-Ig; Wed, 21 Jun 2023 07:28:12 -0400 Original-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 1qBw0Q-0002Fb-UM for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2023 07:28:11 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qBw0J-0001MC-Jo for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2023 07:28:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBw0J-0001TO-EZ for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2023 07:28:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jakub =?UTF-8?Q?Je=C4=8Dm=C3=ADnek?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Jun 2023 11:28:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64205 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16873468635605 (code B ref -1); Wed, 21 Jun 2023 11:28:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Jun 2023 11:27:43 +0000 Original-Received: from localhost ([127.0.0.1]:60779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBvzy-0001SF-Mq for submit@debbugs.gnu.org; Wed, 21 Jun 2023 07:27:43 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:48816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBjMK-0000St-Kf for submit@debbugs.gnu.org; Tue, 20 Jun 2023 17:57:57 -0400 Original-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 1qBjMH-0003x7-6S for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2023 17:57:53 -0400 Original-Received: from mail-yw1-x1132.google.com ([2607:f8b0:4864:20::1132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qBjMD-00088w-It for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2023 17:57:51 -0400 Original-Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-5701810884aso47934747b3.0 for ; Tue, 20 Jun 2023 14:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687298267; x=1689890267; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=8AMWO0FYyqyzkaagt/HDaY250yC9rKzb65sWvc37ZUs=; b=c7RPnGdHbZEp99STYbHZlfcI/Ys+EdzucwGWO4NP683JYO7/LnYNaTQ9fJTB/gVUO3 5uUXdcWUhaDGDFa5E/cQhDclo2ezOJj1mZBtSXZNwYL+N5sVEIERGl5q+X7FefZ//0PH g5fwD3V9M4j7Cd31/2poTy9rh94zobhf0pmhkQ+4/O0LBujxUXy2cSXnuQM/KxurrYM5 5ila9RegT7D8kT6KbgDoP9Kc2SLPqdpYHnxD+qG8j0If38LurNWZhpSrMJnDgQ8D2aqZ X6pC3vLg7aEvGLRyunduttYqYum2ei1cHua4kulOP0KRES/be4OzuCkGhDfWimyjPmZR dHjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687298267; x=1689890267; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=8AMWO0FYyqyzkaagt/HDaY250yC9rKzb65sWvc37ZUs=; b=ezSLv664JrLm2KDRMywPArbfWuZt1FURfJUB0+gMUI0J4amEyvGrR+SWH5f5nQ75FY Fi9xyhoIeg8zM0bP2Svt1GhX8Bl5vykoox729dFyc6Ws9colk2lMX6V5otDxX0mIWw8+ nVn63zjl5RsKO2LEnODdrgPyIAfNo+uM7+JJWQgYXUKdTKtp0+kFGr1sYlle+m/sp2Or 9dvNxHfrYVX6WPrjDnhlEqG1FXk7Oa/ewOqsyZtCaA7SfgxB90WJNM9XWZx6jzKvyi2Y NtK2G612AJd8GSv4ETurFqvmUbzqaWwMK4CmHjm3Qo0EW1dyvMBT9iQbim5kfDVZ4ttp /n6Q== X-Gm-Message-State: AC+VfDxCBRMxPmq5p7jgtd6dW/9TxbZqJjqAEwDZXf9tUDYW/bq99XAv N+nFbAldtw5TnuRRH6hPZVTQ/hk0mY9KvY+Q23cnE1iBB5c= X-Google-Smtp-Source: ACHHUZ4dUTFnOxA1g4x2icTVDtDzeO7LqTbhMCvDxYOWZnXeLrw+RKP/fHQx64DTB6bAlKXC7rsIyRCqvTGQE+IduUU= X-Received: by 2002:a0d:ca86:0:b0:56d:2d67:cb38 with SMTP id m128-20020a0dca86000000b0056d2d67cb38mr5247878ywd.34.1687298266797; Tue, 20 Jun 2023 14:57:46 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::1132; envelope-from=jecminek.k@gmail.com; helo=mail-yw1-x1132.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, 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-Mailman-Approved-At: Wed, 21 Jun 2023 07:27:39 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263803 Archived-At: --000000000000d3016d05fe96bd3c Content-Type: multipart/alternative; boundary="000000000000d3016b05fe96bd3a" --000000000000d3016b05fe96bd3a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I would like to take this opportunity to express my deep appreciation for the valuable work the Emacs community has contributed to the development and maintenance of this remarkable editor. I've found a bug in the `orgtbl-to-table.el' function. When using `orgtbl-to-table.el' during `org-table-export', last border cell ("|") was omitted in the output. Steps to reproduce: (require 'org-table) (insert "\n" (orgtbl-to-table.el '(("first colum" "second column") hline ("12" "34")) nil)) Previous implementation output: | first colum | second column | +--------------+---------------------+ | 12 | 34 < missing border cell Current output: | first colum | second column | +--------------+---------------------+ | 12 | 34 | In attachment, you'll find the smallest patch you've ever seen. Thank you for everything you do for my beloved Emacs. Best, Jakub Je=C4=8Dm=C3=ADnek --000000000000d3016b05fe96bd3a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,
I would like to take this opportunity to expres= s my deep appreciation for the valuable work the Emacs community has contri= buted to the development and maintenance of this remarkable editor.
=

I've found a bug in the `orgtbl-to-table.el' fu= nction. When using `orgtbl-to-table.el' during `org-table-export', = last border cell ("|") was omitted in the output.

<= /div>
Steps to reproduce:

(require 'o= rg-table)
(insert "\n" (orgtbl-to-table.el '(("first= colum" "second column") hline ("12" "34"= ;)) nil))

Previous implementation output:

| first colum | second column |
+--------------+-= --------------------+
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A012 =C2=A0 =C2= =A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A034 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 < missing border cell

Current ou= tput:

| first colum | second column |
+--------= ------+---------------------+
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A012 =C2= =A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 34 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0|


In attachmen= t, you'll find the smallest patch you've ever seen.

<= /div>
Thank you for everything you do for my beloved Emacs.
<= br>
Best, Jakub Je=C4=8Dm=C3=ADnek
--000000000000d3016b05fe96bd3a-- --000000000000d3016d05fe96bd3c Content-Type: application/octet-stream; name="0001-Fix-orgtbl-to-table.el-function-to-include-last-cell.patch" Content-Disposition: attachment; filename="0001-Fix-orgtbl-to-table.el-function-to-include-last-cell.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lj4tp49a0 RnJvbSA2ODhiZDAxMDRmMWU2M2RmOGY3NTdkZTgyNTQ4MWE2OWM0NjIwZjgxIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/SmFrdWI9MjBKZT1DND04RG09QzM9QURuZWs/ PSA8amVjbWluZWsua0BnbWFpbC5jb20+CkRhdGU6IFR1ZSwgMjAgSnVuIDIwMjMgMjM6MzA6NDkg KzAyMDAKU3ViamVjdDogW1BBVENIXSBGaXggb3JndGJsLXRvLXRhYmxlLmVsIGZ1bmN0aW9uIHRv IGluY2x1ZGUgbGFzdCBjZWxsIGJvcmRlcgoKUHJldmlvdXNseSB1c2VkIGJ1ZmZlci1zaXplIGZ1 bmN0aW9uIGlzICgxLSAocG9pbnQtbWF4KSkgd2hpY2ggbWVhbnMKdGhhdCBsYXN0IGNlbGwgYm9y ZGVyIHdhcyBvbWl0dGVkLgotLS0KIGxpc3Avb3JnL29yZy10YWJsZS5lbCB8IDIgKy0KIDEgZmls ZSBjaGFuZ2VkLCAxIGluc2VydGlvbigrKSwgMSBkZWxldGlvbigtKQoKZGlmZiAtLWdpdCBhL2xp c3Avb3JnL29yZy10YWJsZS5lbCBiL2xpc3Avb3JnL29yZy10YWJsZS5lbAppbmRleCA0MmYyMzQ3 OTBjNS4uOWQzNTA3ZTM0YjcgMTAwNjQ0Ci0tLSBhL2xpc3Avb3JnL29yZy10YWJsZS5lbAorKysg Yi9saXNwL29yZy9vcmctdGFibGUuZWwKQEAgLTYxMzQsNyArNjEzNCw3IEBAIHN1cHBvcnRlZC4i CiAgICAgKG9yZy10YWJsZS1hbGlnbikKICAgICAocmVwbGFjZS1yZWdleHAtaW4tc3RyaW5nCiAg ICAgICItfCIgIi0rIgotICAgICAocmVwbGFjZS1yZWdleHAtaW4tc3RyaW5nICJ8LSIgIistIiAo YnVmZmVyLXN1YnN0cmluZyAxIChidWZmZXItc2l6ZSkpKSkpKQorICAgICAocmVwbGFjZS1yZWdl eHAtaW4tc3RyaW5nICJ8LSIgIistIiAoYnVmZmVyLXN1YnN0cmluZyAxIChwb2ludC1tYXgpKSkp KSkKIAogKGRlZnVuIG9yZ3RibC10by11bmljb2RlICh0YWJsZSBwYXJhbXMpCiAgICJDb252ZXJ0 IHRoZSBgb3JndGJsLW1vZGUnIFRBQkxFIGludG8gYSB0YWJsZSB3aXRoIHVuaWNvZGUgY2hhcmFj dGVycy4KLS0gCjIuMzkuMQoK --000000000000d3016d05fe96bd3c--