From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joseph Turner via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#65243: [PATCH] Fix building of VC package manuals with relative org links/includes Date: Mon, 14 Aug 2023 18:57:20 -0700 Message-ID: <874jl19i6m.fsf@breatheoutbreathe.in> References: <87y1ig3atl.fsf@breatheoutbreathe.in> <87pm3qhwgo.fsf@posteo.net> Reply-To: Joseph Turner Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15370"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65243@debbugs.gnu.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 15 04:03:28 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 1qVjP5-0003p1-Ux for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Aug 2023 04:03:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVjOh-00062B-S5; Mon, 14 Aug 2023 22:03:03 -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 1qVjOg-00061k-FR for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 22:03:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qVjOg-0003IR-7J for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 22:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qVjOg-0001uU-3B for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 22:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Joseph Turner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Aug 2023 02:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65243 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 65243-submit@debbugs.gnu.org id=B65243.16920649557308 (code B ref 65243); Tue, 15 Aug 2023 02:03:02 +0000 Original-Received: (at 65243) by debbugs.gnu.org; 15 Aug 2023 02:02:35 +0000 Original-Received: from localhost ([127.0.0.1]:34659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVjOE-0001tn-Gb for submit@debbugs.gnu.org; Mon, 14 Aug 2023 22:02:34 -0400 Original-Received: from out-73.mta0.migadu.com ([2001:41d0:1004:224b::49]:22243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVjOB-0001ta-Dt for 65243@debbugs.gnu.org; Mon, 14 Aug 2023 22:02:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=breatheoutbreathe.in; s=key1; t=1692064948; h=from:from: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; bh=Pv+28ljOSHEowzr14EDehcJ4N/U7ZQCOcqPCmbD+zzE=; b=YASnyNg3M/eFjuKdgWulLVYeShQ7MkAgl8dQ42TSTF6OQ3znog1TUB+T4Vb+N56oLuctDa hG8HLVjGQd2MpwfKOojPNUM/OJdNmqEy7YjOdyMMJxTQv6OmNt4Ze9AhAqZksN+w/zgMtG mg/NSTQ0mRax1r6xSiYcqcWTrOBBOEY= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-reply-to: <87pm3qhwgo.fsf@posteo.net> X-Migadu-Flow: FLOW_OUT 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:267450 Archived-At: Philip Kaludercic writes: > Joseph Turner writes: > >> Hello, >> >> This patch allows for relative includes and link in org files compiled >> to texinfo. > > BTW, what package is this related to? On my machine, (package-vc-install '(hyperdrive :url "https://git.sr.ht/~ushin/hyperdrive.el" :doc "doc/hyperdrive-manual.org")) gives the following backtrace: Debugger entered--Lisp error: (error "Cannot include file /home/joseph/.emacs.d/elpa/hyperdrive/fdl.org") error("Cannot include file %s" "/home/joseph/.emacs.d/elpa/hyperdrive/fdl.org") org-export-expand-include-keyword() org-export-as(texinfo nil nil nil (:output-file "/tmp/ox-texinfo-hqSZfl")) org-export-to-file(texinfo "/tmp/ox-texinfo-hqSZfl") package-vc--build-documentation(#s(package-desc :name hyperdrive :version nil :summary "No description available." :reqs nil :kind vc :archive nil :dir "/home/joseph/.emacs.d/elpa/hyperdrive/" :extras nil :signed nil) "doc/hyperdrive-manual.org") package-vc--unpack-1(#s(package-desc :name hyperdrive :version nil :summary "No description available." :reqs nil :kind vc :archive nil :dir "/home/joseph/.emacs.d/elpa/hyperdrive/" :extras nil :signed nil) "/home/joseph/.emacs.d/elpa/hyperdrive/") package-vc--unpack(#s(package-desc :name hyperdrive :version nil :summary "No description available." :reqs nil :kind vc :archive nil :dir "/home/joseph/.emacs.d/elpa/hyperdrive/" :extras nil :signed nil) (:url "https://git.sr.ht/~ushin/hyperdrive.el" :doc "doc/hyperdrive-manual.org") nil) package-vc-install((hyperdrive :url "https://git.sr.ht/~ushin/hyperdrive.el" :doc "doc/hyperdrive-manual.org")) "/home/joseph/.emacs.d/elpa/hyperdrive/fdl.org" does not exist, but "/home/joseph/.emacs.d/elpa/hyperdrive/doc/fdl.org" does. Hope this helps! Joseph