From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dalanicolai Newsgroups: gmane.emacs.bugs Subject: bug#57854: good to know Date: Fri, 16 Sep 2022 12:12:00 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000067e7a705e8c898d2" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40015"; mail-complaints-to="usenet@ciao.gmane.io" To: 57854@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 16 12:13:12 2022 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 1oZ8LO-000ABf-JC for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 12:13:10 +0200 Original-Received: from localhost ([::1]:54570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZ8LN-0007g1-IN for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 06:13:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZ8LF-0007dh-VH for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 06:13:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42700) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZ8LF-0006No-Mx for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 06:13:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZ8LF-0003hN-Hf for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 06:13:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: dalanicolai Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Sep 2022 10:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57854 X-GNU-PR-Package: emacs Original-Received: via spool by 57854-submit@debbugs.gnu.org id=B57854.166332313914161 (code B ref 57854); Fri, 16 Sep 2022 10:13:01 +0000 Original-Received: (at 57854) by debbugs.gnu.org; 16 Sep 2022 10:12:19 +0000 Original-Received: from localhost ([127.0.0.1]:41778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZ8KZ-0003gL-46 for submit@debbugs.gnu.org; Fri, 16 Sep 2022 06:12:19 -0400 Original-Received: from mail-ed1-f53.google.com ([209.85.208.53]:44717) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZ8KX-0003g7-E0 for 57854@debbugs.gnu.org; Fri, 16 Sep 2022 06:12:17 -0400 Original-Received: by mail-ed1-f53.google.com with SMTP id x94so13476098ede.11 for <57854@debbugs.gnu.org>; Fri, 16 Sep 2022 03:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=1ptpFB5QK6Q96x7W/tX91lvSKVr9ZVQs+daPw+g1B9Q=; b=ppJUkClyfFD9t5gghSIzmb8yx8VALThSXLWrEDrMogPbVndEZqYXILRjqgz7Gy6fH+ o02znukkeLZKeJZnOppR9ZwOvg1plU8LiTzt7YolNYzNoulIa3cY1/2b6oGHiYNEH6Gb GOF21QCnzsTSRyZYcD/9GnB0Ktv/mnTaiomFFHX8mSDQeKGyOYiYCl4GsEey2sY7rCzR n/n98mi8lDZ3WrsrqdYZXXORR3TQrjQ/2FeicMilsXh0nqIQ7U0L96D82/mlKfciZyQM uVVSzU4yqgrZmdznX7SG4m8LEvYRQDZSubEv5tDtzF9iYGcCpBasu5VsTNM3cmmI1Qkq KbbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=1ptpFB5QK6Q96x7W/tX91lvSKVr9ZVQs+daPw+g1B9Q=; b=QlQaL9EmBsDjrFN5JLjsMGS3Ao6tpxq/ExLji2BqVWBvKUNN9kzUfa1+7tfIdbHrT8 dybELR9M1tXVE9S3APfEFyvnl7PDklm6uKEeyNMgVmSrEUUa6yv46hduaULmkzfnhG5V 6odRuTAHZFEMsOxKN/4RA2lqolYzE/wSR327Z4K2f5k2+qBK3VjsU+4a4TDqk6FtzhAB Xe+P/HQDJX5dffbS3Qd4ucM7Y9LVYT3YOmbQLH89PoPImuAPltOnehB0MTTKvfSAwmXc ajh/5CWeYIS0gjpC5u8DLnXax2JEzdCujrVlBCOIngck9CSdZLuVyPwYwQRjGp+tKhZy NLLA== X-Gm-Message-State: ACrzQf0f/VuBrhywcScSOxQ8EqzEKNvOunTck3hI+1Zt9HW5mdP55rgj e9eh/D/LXkjzal1XNnF54cBgL7lg7qx8yHMmPEXORm6hZUw= X-Google-Smtp-Source: AMsMyM5Gyt8ftuHuJ9PPktt6hNzAf8kY7XeqVa8GmQj/gNT4PWp0fnExz7XTCEDmXpO1TIwOZPbW7YrmQeM/l3sTf/U= X-Received: by 2002:a05:6402:3508:b0:451:db83:b2a7 with SMTP id b8-20020a056402350800b00451db83b2a7mr3431462edd.266.1663323131601; Fri, 16 Sep 2022 03:12:11 -0700 (PDT) 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" Xref: news.gmane.io gmane.emacs.bugs:242727 Archived-At: --00000000000067e7a705e8c898d2 Content-Type: text/plain; charset="UTF-8" Just to make it clear the command should work as follows: if the command is called with only 1 argument (a filepath) then the command should print the table of contents however when some 'table of contents' data file is given as 'INFILE' as follows pdftocio [options] in.pdf < toc then the command should add the TOC to the pdf file. So what seems to happen is that, even when INFILE in `call-process` is nil, still python determines that some (empty) `TOC` file is given as input. --00000000000067e7a705e8c898d2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Just to make it clear the command should work as foll= ows:

if the command is called with only 1 argument= (a filepath) then the command should print the
table of contents=

however when some 'table of contents' dat= a file is given as 'INFILE' as follows

pdf= tocio [options] in.pdf < toc

then the command s= hould add the TOC to the pdf file.

So what seems t= o happen is that, even when INFILE in `call-process` is nil, still python
determines that some (empty) `TOC` file is given as input.
--00000000000067e7a705e8c898d2--