From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id sPrBC/snPWQDkwAASxT56A (envelope-from ) for ; Mon, 17 Apr 2023 13:05:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MHu3C/snPWT14AAA9RJhRA (envelope-from ) for ; Mon, 17 Apr 2023 13:05:31 +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 D5793E298 for ; Mon, 17 Apr 2023 13:05:30 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1poMex-0006aM-IJ; Mon, 17 Apr 2023 07:04:35 -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 1poMeu-0006a8-O2 for emacs-orgmode@gnu.org; Mon, 17 Apr 2023 07:04:33 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1poMel-0007eI-Mu for emacs-orgmode@gnu.org; Mon, 17 Apr 2023 07:04:32 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 5DBEC240168 for ; Mon, 17 Apr 2023 13:04:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681729460; bh=wSnyqRM8B6dkbjSp8CUACCYkcjgSienwpA5TG0pXoKc=; h=From:To:Cc:Subject:Date:From; b=aI12FyhfnVL+MxO2YS4DRO7ZNf5M9C9HYYDlK/63CnZGueCUTDQS5CwOLjVjAHGgG ocl47i0GM4MrdjeJjPnR9GVSHq6STYKjp0ToXrivDLBw7JWdFz9ac6kfYFNgjmUKe7 ViYO/EVN8piqfCQ9xWuLZltSpzgenwi+9M4BYfup5mcjafJ97KMtb/6dOq31tvrDFK WvwoT9PY1QBnCUW4e5oTOMuFj9bcKVkBdUFUxGvN10Wx/1mPwIObrCVaK5Q6LfJ6tr DNlC5H4VDvpW/UPLBPfskpwjUdd/EMO0CVPnOGlAf/C6FYRFtuyezmjBnNeiaDVw71 BL87z7asSL51w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q0PM75bdsz9rxG; Mon, 17 Apr 2023 13:04:19 +0200 (CEST) From: Ihor Radchenko To: Bence =?utf-8?B?RsOhYmnDoW4=?= Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Org publish makeindex doesn't work on symlinked path [9.6.4 ( @ /home/bence/src/org-mode/lisp/)] In-Reply-To: References: Date: Mon, 17 Apr 2023 11:06:56 +0000 Message-ID: <87v8hulqcv.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681729530; a=rsa-sha256; cv=none; b=RFdTYE5U8h5RcHSmy6TpqrNOWyg5CMtpjiGp6mXnBdc8yzNbNVGm6hU2jjs+UgW1gyPDl0 T4oAlq9HjEZ/nbYlJAAowIf8MkWlQlcXDewD4XUvkt59a5LrW+n0j9RpnrMZ5QTDoQzfq5 lHgi4AoZjMc522/ZRaAY59MY41B65bS6+NIfsRe2o87XOF5nY4IsJ0K1XE4T+mRyXGxrei f8TfzFy44w1T8zf2kvjOxpNMsRXidfcaIxcT/n4Y1g4/kHUWpa2MEL/sj0cnWGERr9E24a +dy1K/Rvquy46b7wUPH8oD5qqY8TNWcAOj/o8J65Q0nrkKqymDXxY1dGO9KZXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=aI12Fyhf; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681729530; 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=wSnyqRM8B6dkbjSp8CUACCYkcjgSienwpA5TG0pXoKc=; b=G3hBy4jkcXlmFx8aY9xCWBbXaNnNjGpihIyQvWAguJ8K7B0mv9sCsumfuES/tpLyikAHd0 QIBV5Jc3zgU1tf9E5bqF3R1JKh2gH01XTaZC/kQPVCTdCJdCVeFXk+ukEuOMITRZl5ppS2 AVMbPehx7M1pVKchAUt7oGBbNdIt3/v8g1ZGLUKZx9hP7P7RjahVsVBbLq9EMWwV8X66yI HaaCY4xq2Q753UtwITIwgS1Bk541TMEh/ePDDbfAIX4f55/XH6qq0f2Ucb1tn6n+ZsCdHn Pf7gZRn7L6L6eVUxvw54uu9Z9hxABgWzxXxQFXqQxeQI4cCaKZniIOiTR2QaSw== X-Migadu-Queue-Id: D5793E298 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=aI12Fyhf; 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"; dmarc=pass (policy=none) header.from=posteo.net X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -11.10 X-Spam-Score: -11.10 X-TUID: K1aOeBsF/ysA Bence F=C3=A1bi=C3=A1n writes: > When performing an `org-publish' if the `:base-directory' property > contians a symlink in its path, then the `theindex.inc' file is not > populated. > > I created a repo to help reproduce the bug: > https://github.com/bencef/org-publish-symlink-repro I tried to reproduce starting from emacs -Q, and I am unable to. I did 1. cd /tmp 2. git clone https://github.com/bencef/org-publish-symlink-repro 3. cd org-publish-symlink-repro 4. ln -sf /tmp/org-publish-symlink-repro/long/path/to ./shortcut=20 5. emacs -Q /path/to/README.org 6. Open the second relative file link 7. C-c C-e C-f P x All the files are published correctly, including the index. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at