From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AAyeD61/CWHMswAAgWs5BA (envelope-from ) for ; Tue, 03 Aug 2021 19:41:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QEhJC61/CWFULQAAB5/wlQ (envelope-from ) for ; Tue, 03 Aug 2021 17:41:01 +0000 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 A5D54811 for ; Tue, 3 Aug 2021 19:41:00 +0200 (CEST) Received: from localhost ([::1]:40158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAyPS-0000PB-1k for larch@yhetil.org; Tue, 03 Aug 2021 13:40:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAyOc-0000MP-Pr for emacs-orgmode@gnu.org; Tue, 03 Aug 2021 13:40:06 -0400 Received: from ciao.gmane.io ([116.202.254.214]:47114) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAyOa-0003Wr-Kt for emacs-orgmode@gnu.org; Tue, 03 Aug 2021 13:40:06 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mAyOY-0003uP-7R for emacs-orgmode@gnu.org; Tue, 03 Aug 2021 19:40:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: "Felix E. Klee" Subject: Recursive publish bug? Date: Tue, 03 Aug 2021 11:29:14 -0600 Message-ID: <87k0l2wi6t.fsf@inka.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:dMojgp1BWvXhSEZysQNnZ6oFELs= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.248, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628012460; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=GMjbAMuYmHD6DSNx/qhT9/VPbgaAeBw4IDezEqiZcxQ=; b=ewx954/OvDv9jt7QcziDZBLYNKg8OzRWpnEZZZg/y+An89F6E03Pxwu51/V2wmJsIM0cSL Hyzm6gsy3vcgVJWb9DsGJFrLscyh2oaiqxxnwaMKkQIY2EqjdOcxwDZZP28aLA+rqr52/O Am8KzD9gakdqGxIKPjGPfCDguHu2sRMX/M6jJKZadIw16bZGhPXOrP+9EADQ7lngpIjrce fukiQCJUg35GfmkDdvz2hXIBB3Mkby5vqs51FkX4BereF9ZsPEDUH67QqvZCEWVmIgzFir tQaeR2aI3WcEwEO/X15vdUab0/Qg8JHb+YNyCEWSRA/oJZFxg1YItX/5eEtgHw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628012460; a=rsa-sha256; cv=none; b=fx1Ebv9OLLjpZfXBWmej8CZRWZnQOW8Py6vFqzeBRgKTzaKOQywKuwfuQArkkIUgT5B+Z4 D5BY+5zZIDKuiyKj07Ei3l2cfEXlfYsbORO6v/B2KhLwLhOEulFu2tpDnGqGSONtoMeTYR h4xq2dDVLP7365goqafiUsYyIdtI+fVgjbsnvdeW81OEqic/ObD8i2G+oTySO0WyVbwnQH IVX1dh0L3p+NOd83P322Y7N5cfcgJeDBs1oEQtYR4RUPbIol/faeUbICZoQUTnu+4c87hQ gx8pykAn/JE02ZNbsV/junicxFDsFdaT4DH+9Y7+Q9onwp3t9Z5+IKgqALnaXQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -0.91 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: A5D54811 X-Spam-Score: -0.91 X-Migadu-Scanner: scn1.migadu.com X-TUID: Ol0/PPLhwJ// I’m using version 9.4.6. See below what happens when I `org-publish` to a remote server. The subdirectory structure is not properly mapped. Is this a bug? On my system: project .dir-locals.el index.org images a.jpg subdir index.org images b.jpg Result on the server: project index.html images a.jpg b.jpg subdir index.html Contents of `.dir-locals` (manually anonymized): ((org-mode . ((org-publish-project-alist . (("pages" :html-doctype "html5" :html-html5-fancy t :html-head-include-scripts nil :html-head-include-default-style nil :base-directory "/my/local/computer/project" :base-extension "org" :recursive t :publishing-directory "/plink:user@my-server.example.com:/remote/project/" :publishing-function org-html-publish-to-html) ("static" :base-directory "." :base-extension "css\\|txt\\|jpg\\|gif\\|png" :recursive t :publishing-directory "/plink:user@my-server.example.com:/remote/project/" :exclude "/hires" :publishing-function org-publish-attachment) ("all" :components ("pages" "static")))))))