From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Tak Kunihiro Newsgroups: gmane.emacs.bugs Subject: bug#37242: orgtbl-to-tsv drops empty cell Date: Thu, 05 Mar 2020 08:20:39 +0900 Message-ID: References: <20190831.163102.2050984724735970943.tkk@misasa.okayama-u.ac.jp> <874kvpllee.fsf@gnu.org> <20200218.161326.1345119448000335334.tkk@misasa.okayama-u.ac.jp> <87k14ks5kw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="22072"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (darwin) Cc: 37242@debbugs.gnu.org, tkk@misasa.okayama-u.ac.jp To: Bastien Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 05 00:21:13 2020 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 1j9dKB-0005dI-Uh for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Mar 2020 00:21:11 +0100 Original-Received: from localhost ([::1]:41126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9dKA-0006VG-HT for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Mar 2020 18:21:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45845) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9dK3-0006V3-2N for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2020 18:21:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9dK2-0005nl-5d for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2020 18:21:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35987) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j9dK2-0005ng-1l for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2020 18:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j9dK1-00041U-Un for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2020 18:21:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Mar 2020 23:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37242 X-GNU-PR-Package: emacs Original-Received: via spool by 37242-submit@debbugs.gnu.org id=B37242.158336405115439 (code B ref 37242); Wed, 04 Mar 2020 23:21:01 +0000 Original-Received: (at 37242) by debbugs.gnu.org; 4 Mar 2020 23:20:51 +0000 Original-Received: from localhost ([127.0.0.1]:41960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9dJq-00040x-RM for submit@debbugs.gnu.org; Wed, 04 Mar 2020 18:20:50 -0500 Original-Received: from mail-pl1-f181.google.com ([209.85.214.181]:37968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9dJp-00040l-0N for 37242@debbugs.gnu.org; Wed, 04 Mar 2020 18:20:49 -0500 Original-Received: by mail-pl1-f181.google.com with SMTP id p7so1751750pli.5 for <37242@debbugs.gnu.org>; Wed, 04 Mar 2020 15:20:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=eDxczUOfW+6VMqV4y7SPhJBb+9ZHVF7SA4PAFX+kbQI=; b=Sz7MCTCMeEmuR0JbHFy+DDAzJS0pPGEe4UIXKg7AEXb2pGRY82mVZ2r4W8W7t+8I9t ECAmEf131736w6C7P+32sgjCc/OUfIHR/3vPqwZKhkxaeBOCFdGq8bIWH+sIkOS9YlyA iPogrpMIv4jOUYHoe4NROc1aLesb0R2WJ+MzUO4dvIJ9F5iXN2W6dU6avmnsEi8ljeCx 6k/fdNEd+ODmHHm28iK9um1jn1mH6B7XzZqNLVaDLdwtdUB1EXgYbddnu5d8a7R7HvWb ed+8IAi+jz1UngVDy5p3Tn931zcGKcFbk5Fg726YZFe6mJr5u0x5NPdFZgZR4ok2kOHw natg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=eDxczUOfW+6VMqV4y7SPhJBb+9ZHVF7SA4PAFX+kbQI=; b=JA5vCWvw0BvW1AENrtKbKPrQvrt5DrqYZH4Ob9ePm4XDMxXOguDtQp4IQyxvL4zf0K WVnM+/hUOrisNKsVFQjRWFvkxsamFY0QtYZ6QDJ71ksP9gXKAEHER6j9tHEYIHZQGbkY QkuyD5FRV8RlAXFQ9IDv5vEm3TsNRIpv0ENjKsq98Uw9VOUGKgzgMdHxQyYAZe5KSi0f eUaF6Fe5I9R+7i5ZbXguamX8vs46foBwwk8f9EZPN9nHPD0akFpyZt5NcmTm8lg7+6oC G0x1pxaPbn4M7UXdz5QOVGsX1R2RudbwXBAGCaq0lquu6u8dldFNj08YXBjZ4PYc+tWw dODA== X-Gm-Message-State: ANhLgQ0OtWx6bucNZFNOHdqh6sXa5QcSircPhg5hvs7vpw+It6WU7TXD +rZEyScJl0ndzDwvOdRzWW4= X-Google-Smtp-Source: ADFU+vuo1g6qlYxQHt7WdJ3WFYM29czr9UBWxaa80GuAaReJttoCTnm8MV8lCs2qVh12w2erD2HyBg== X-Received: by 2002:a17:90a:ac05:: with SMTP id o5mr5634831pjq.143.1583364043224; Wed, 04 Mar 2020 15:20:43 -0800 (PST) Original-Received: from DreamMini2019.local (vesta.misasa.okayama-u.ac.jp. [150.46.48.154]) by smtp.gmail.com with ESMTPSA id r13sm29222963pgf.1.2020.03.04.15.20.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2020 15:20:41 -0800 (PST) X-Google-Original-From: Tak Kunihiro In-Reply-To: <87k14ks5kw.fsf@gnu.org> (Bastien's message of "Tue, 18 Feb 2020 08:43:59 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" Xref: news.gmane.io gmane.emacs.bugs:176865 Archived-At: Dear Bastien, >> What orgtbl-to-tsv/csv does is to convert delimiters. In my opinion, >> to drop out empty lines is overwork. > > Empty lines in csv/tsv files (when they are not part of a > double-quoted field) are ignored or should be. > > For example, the Python CSV parser ignores them. > > So Org does the right thing at not reprensenting them at all IMHO. > >> This comes from orgtbl-to-generic. I cannot tell the behavior from >> docstring. If this is not a bug, I feel like this behavior is random >> one. > > Yes, I don't consider this a bug. If you want to improve the > documentation, can you submit a patch? I tried to go though orgtbl-to-generic, but I cannot find out how the line was dropped. I'm okay, please close the bug. -Tak