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 GB1KEhL5QGTWpgAASxT56A (envelope-from ) for ; Thu, 20 Apr 2023 10:34:26 +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 0DNdEhL5QGR7bQEA9RJhRA (envelope-from ) for ; Thu, 20 Apr 2023 10:34:26 +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 EF0EE2E8FD for ; Thu, 20 Apr 2023 10:34:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ppPjG-0005dp-26; Thu, 20 Apr 2023 04:33:22 -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 1ppPjB-0005bV-R9 for emacs-orgmode@gnu.org; Thu, 20 Apr 2023 04:33:17 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ppPj8-0001dV-FJ for emacs-orgmode@gnu.org; Thu, 20 Apr 2023 04:33:17 -0400 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-63b5c48ea09so696776b3a.1 for ; Thu, 20 Apr 2023 01:33:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681979592; x=1684571592; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=KE/JrE++HfkS0QxEBmCRRokuFQhY4SaXvR4j375/e4o=; b=nzSociPt6bTxe2QqQ1o9fb/Wxnd6jdQlnDVvkh0Qk6byTPwm9QbzAk0aRhFx8VGMvS yY85X1k3kPulmw57W1BRnlNGk9Rg7uMfrm5a5PSDvvYvAfKjFqsWUGc0MfmO9dSfugTx z/Fun/IOqxZcJ8YdGku42dz75acp7CnS/92OLJs25oJIq+8m5VQSTrN9rW5bE6ATY1fz lBvkP/lMoKpu5K6+6bTHg/9c3sgiq4nN0mw1yJAxHIz56o+bbOBYI/9IyeLwgHm7smnk aGQZSgZ2P2yiCzsOX5CyInulQ+gjP2eoir66ZNvL3gUWkQOe5ysroOoAkXDTTOP992xI NJXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681979592; x=1684571592; h=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=KE/JrE++HfkS0QxEBmCRRokuFQhY4SaXvR4j375/e4o=; b=gaALGPztNh4gV6tx1RXnFM0cOB7OoZOxg3qmFoIHhNHSQJ5kdNJU2HN2bnRg2+yMal F+KeHVckTOTKaSFMpjRZARhQ8vZNY+k6A/twIx2U6/hfZmbj8EaROy2a6dGejZA3N865 6rHdUAadOKxZs+KYIeel/QW7NDOdQycbqXodO1gK9r8xzYNfGLg6x70da23iI32VnShX mANlEb94WGXdJyPh9t9ohqp5L/9/yWTaCHug9LHMpT4tH4dwXIVAAOUwjrljbfJk4TbX lmsflbhigVlU7K2FwOneawniIB3ogGUOV5F2T9Wimg9tAn0nkvmTifcwzg5MfdpmpAup UyvA== X-Gm-Message-State: AAQBX9eDs9g+SH66iFbKsrvjajOmIbzYiTQoLYtSGxVVVeaFcwGXcZVd DB9sqIwEzwcb4p0cEr7N14kTPDDm8AOr3zFUc/Y= X-Google-Smtp-Source: AKy350aBVJAk0wDjrjPzE774CmeAdkmbFbSf+93U70TB9getoiaZ2cBtWpLN5ScmJQjMKgSrvx0KNFvwd5IoLxqCa9Y= X-Received: by 2002:a05:6a21:6d87:b0:f1:bf92:51d4 with SMTP id wl7-20020a056a216d8700b000f1bf9251d4mr1194067pzb.45.1681979592555; Thu, 20 Apr 2023 01:33:12 -0700 (PDT) MIME-Version: 1.0 References: <87v8hulqcv.fsf@localhost> In-Reply-To: From: =?UTF-8?B?QmVuY2UgRsOhYmnDoW4=?= Date: Thu, 20 Apr 2023 10:33:01 +0200 Message-ID: Subject: Re: [BUG] Org publish makeindex doesn't work on symlinked path [9.6.4 ( @ /home/bence/src/org-mode/lisp/)] To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=begnoc@gmail.com; helo=mail-pf1-x42b.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-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=nzSociPt; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681979666; a=rsa-sha256; cv=none; b=nRLJfqajniDq9mAZtZ00/27jOH2zewemdzfGOhgES4+IqiP0DnyJIQFFTzyzNmnWRb/zXm bbXHeNbPaS22GIkTRx4k+Xko8BCYraQY16oBwZOS+ZrxKHSR2hO9KjAcqcSkDlMZs4Sry8 XYlT6x8R16tuycRnLGe7ZtkE3H8f/Hu8ZDiYzd5vQ10RQNHITubNjZ2c3NHi//sXYobC0M cu+VUv5Vi/f7qcbKMACz4ieQ8dM1SvUNhY1QOGDN2upBQYp5CadGQ2OqYU26ffNF3+LSKh 5pEOSty5k8qBYGvLv5Wn+O0p8cdYzavX3hjTQNIGSAR4gYpwSDItN6SYqUjiEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681979666; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KE/JrE++HfkS0QxEBmCRRokuFQhY4SaXvR4j375/e4o=; b=opPccei1g6r8VjahU1wbeN3d4sYGI//HC9zZdEqZCfliFfn4Chgp5dtbvpNd/LKqD7hfSd BFkWX72txvFui+lFBkk1uKUk363EegurglJ4nuGbuzSvZOpeFGACEa3PGr+IGakUlBOWBy IDmDXD8wdDEOIjsnoHmfmIPXQa+mkRlEZFs+hNSMkxb23k9J6I65gwuKfWupmVvErlk6Bh e1VfjNuD9L/+ekOMs/2uymcwGlWoic+LiODhh5/fxtkw+s/VS/w/STOui5gnAVHZhMDI+w 9Yjh9mw2WvoNoeizTLtT2HxaeAsJDK/ZnmILAdF0Q4KBzbtX7I4IOwYRuKd/tA== X-Migadu-Spam-Score: -9.95 X-Spam-Score: -9.95 X-Migadu-Queue-Id: EF0EE2E8FD X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=nzSociPt; 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=gmail.com X-TUID: pbWCwRGWbNYa Hi all, Upon further reflection I came to the following conclusions: There are multiple things at play here (I refrain from using the word "issue"): - emacs resolving or not resolving true path upon visiting files. This is not at all org-related. - org-publish calling `file-truename' inconsistently during the publishing process. This might or might not be an issue. I leave it up to your discretion. The trivial solution to my problem: instead of (let ((base-dir default-directory)) ...) use (let ((base-dir (file-truename default-directory))) ...) I'll leave the repo on my github "As is" for future reference. BR, Bence