From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id S3ISM3FTbmRh/QAASxT56A (envelope-from ) for ; Wed, 24 May 2023 20:12:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GFctMXFTbmSJ9AAAG6o9tA (envelope-from ) for ; Wed, 24 May 2023 20:12:01 +0200 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 683803007E for ; Wed, 24 May 2023 20:12:01 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1sx8-0007YC-Jt; Wed, 24 May 2023 14:11:14 -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 1q1sx7-0007Xq-03 for emacs-orgmode@gnu.org; Wed, 24 May 2023 14:11:13 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q1sx5-0001cn-0x for emacs-orgmode@gnu.org; Wed, 24 May 2023 14:11:12 -0400 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-30a8fa6e6fcso845961f8f.1 for ; Wed, 24 May 2023 11:11:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684951869; x=1687543869; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=nX/aedYRFKiIq+/wK9n1rVciz7UkroEZhG3Ktjc9xqI=; b=Q88TIrhyQljndoDDFGhcGRXltdKwZQRa+IwE/lkXZY+wBGvzgSa+6iYtEJ2UhmP8YO ywwi9v+SJ5sC9OHuvCTvjkpJmmzKWMKoxGIsRo+iOJNV/ucwjM+wi8WQuYlJOoJnuPqV lsT5GJPxi7C3ncpVR14hOQVa3TD4CiaRV8tksOKutwm6l3KvAtVelAYpCJ6HVf9eFl+t Eu1n1rcS0+5q/mziaZ/fl6kELLOuXihEq4IALj3s9i+NnZtHOoKYmck7yskX+GARex4+ 3Fp1WJmLtv0/sHdWJBph4S/OdO6swdoyd4T7+2PaLTOisWYE4s/9lNQITi0SqDWxycH+ 7IwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684951869; x=1687543869; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nX/aedYRFKiIq+/wK9n1rVciz7UkroEZhG3Ktjc9xqI=; b=clLmMug9ukFfHHRCCPJx/cYe0iz2E6E6JViMOlf9VREIWjfjooPsTLAvn9uXOKuAWz hoDFjqpM/gtm4YzuwR78lawVIt1wqm7BWpqSKhkveobQYQ8r253XAhUv/IWWEbWi5YcZ b6QMp895fUVEdKLfAJCb4C7nUO+Olgc5awjzMngFdvUN2HjNaVaQerlCrXbLF4CXJg/z 2ON9JwqYU6EiXhwkwfh/vSVnkmZrucRo6vZSC8RAPpq/Hi7nW8Wv76mwWiiQofwO6+YF Q1cjWSE83B6C2/YcB2sunNl+CWSO05dDQKVnD4YC+ySNaLVmXM//lgUSxiwMCJJR+01/ Qt0g== X-Gm-Message-State: AC+VfDwFtQs9dUUHafj1OdbLjhUeMAGLJwyxbmY8Qo9miVWnKnDbYXVY xYe5Hp99SSlHsh7upwxGq3k8NU9qpX2d4ZuVu4Y= X-Google-Smtp-Source: ACHHUZ6+RKDecE0IdRssmjT88K7TnXRtPEKfuVoG1GxwIW5rHxj4HGboXjp3LanfqSWgSFtLBTZTwxTFWXnND3KLJG8= X-Received: by 2002:adf:fe8c:0:b0:304:6d32:d589 with SMTP id l12-20020adffe8c000000b003046d32d589mr458550wrr.18.1684951869045; Wed, 24 May 2023 11:11:09 -0700 (PDT) MIME-Version: 1.0 References: <877csxojvd.fsf@localhost> In-Reply-To: <877csxojvd.fsf@localhost> From: Niall Dooley Date: Wed, 24 May 2023 20:10:32 +0200 Message-ID: Subject: Re: [BUG] org-texinfo-export-to-info docstring describes a non-existing optional argument To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=dooleyn@gmail.com; helo=mail-wr1-x436.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, 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-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: 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684951921; a=rsa-sha256; cv=none; b=bMcagBl8RyRArfuvi77bug5UoimJA6C40YmA+0+WzM3u0dRpOOR1S796/EEqYhZz7l1M35 GIDiixZaITXTBnN2PqFYIkrQJiBGqm0aKUDY4EO+ume2F40js8NqT8QQhETxQRSDxjmOo7 Zyi+/0RJXoGGsmNODPBi7OJ8qUfXTEjw4ZvjKl03cK2OnVhlz+5sjvPUcs2YUQaTQyZ13I GoeO5Gn04cpYYBTVfqw010Kt5PEfXbCbd3pZnDijMCal67bAzioDzshnbW7vGDEXhNmcX7 cZc2OMWba6/jisnuZE/Tbw6XgMXvC+iQTIJmRPtb5VdsUgqTwkcZuGKhNF1dxQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=Q88TIrhy; 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=1684951921; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=nX/aedYRFKiIq+/wK9n1rVciz7UkroEZhG3Ktjc9xqI=; b=R8l9Y1yLQhiAYCTYN13YQjkm+zH9pQoKZ7L6YYYz+F1wSLIp3jqiUlOuYkWfxdjBUVLvHL zL1q1gO3xZxZ/fPWQD1iY98uwN+VXJXY9Czc1+g1Wx6WX6NiMeRqxYpRsrJLk/7LQfKesK 57q+EBwlOIon2vEiK5WpASet5U20dul+2ENb2CY1bEy3KRaKUVXx9tV2f7w/N6qDKL5sY8 ALJ5+3oEsx5IOdkZPVhz6yW5ZFYJuOlijqLSIR/msNL9jOXbw3Wc8B9PDwyimIv/4WCb+G 0bfTw0qhLBlO9cIF0g5HhLZQnM5Yha09XjlX3klOlWhfnQWiwkrGdJz0Ufl30A== X-Migadu-Spam-Score: -9.37 X-Spam-Score: -9.37 X-Migadu-Queue-Id: 683803007E X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=Q88TIrhy; 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" X-TUID: 2uRMRPByqp3s On Wed, 24 May 2023 at 16:55, Ihor Radchenko wrote: > > Aside, when invoking this command on an org file I get the following er= ror > > which may or not be a bug also: > > > > org-compile-file: File "/org-gtd.el/doc/org-gtd.inf= o" > > wasn=E2=80=99t producedSee "Org INFO Texinfo Output" for details > > It would help if you provided more details. Ideally, steps to reproduce > the problem. See https://orgmode.org/manual/Feedback.html#Feedback I dug a little deeper. `org-tex-info-export-to-info' calls `org-texinfo-compile' which in turn calls `org-compile-file'. In this function, there is a comment stating "Check for process failure. Output fi= le is expected to be located in the same directory as SOURCE." which seems to confirm my suspicions that the output .info file is expected to be in the s= ame directory as the source .texinfo file. Doing that however, I still get the same process "error" as before and the .info file produced in the parent directory. Whilst reading `org-compile-file' I noted the following formatted string explains an error I noted in the process error I reported earlier. "File %S wasn't produced%s" That is this formatted string should be: "File %S wasn't produced. %s" to avoid the two strings being concatenated together and no punctuation separating them.