From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2ImeDqrzPGQyRgEASxT56A (envelope-from ) for ; Mon, 17 Apr 2023 09:22:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oDmfDqrzPGSpFAAA9RJhRA (envelope-from ) for ; Mon, 17 Apr 2023 09:22:18 +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 D7210230DD for ; Mon, 17 Apr 2023 09:22:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1poJAV-0007JX-EV; Mon, 17 Apr 2023 03:20:58 -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 1po2ro-0004Yj-FS for emacs-orgmode@gnu.org; Sun, 16 Apr 2023 09:56:32 -0400 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1po2rm-0007fV-Fn for emacs-orgmode@gnu.org; Sun, 16 Apr 2023 09:56:32 -0400 Received: by mail-pj1-x1029.google.com with SMTP id l9-20020a17090a3f0900b0023d32684e7fso12126890pjc.1 for ; Sun, 16 Apr 2023 06:56:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681653387; x=1684245387; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=56xDmSwVSvqHsdk+jTN8Qif53nTI1Vt+DH0we1NTG8w=; b=diN1/TauwLBAW+hN1ha/ZOSJ/h8i7cHapxMofE+kiRWN0m2wbtZQWwAOicXaiJVW+W bXrfUXfXFCPAeg8/cXp8ULYplb9jwVMyj7g7ZdcoYpx4WwxDhbNfOJlglf2lRHToQQNy 6CYul9DhW0CTv24LScRk2rWppWn4fg9gYtWnrpo/BSM9bS+WvQVX3sdDcx/5C8sU45Ay TUjOKDJo/whse6/Y2zcaxCD97jhBpkbndc3z20qCTGt66nQfwJ9j9n1iC3IGSMhc73W9 T4FnCDMHY+CDaGu2TKT1UXCHKb+HWoR1FWgxpPZ3vH1Gdzx419gVk49iRqXDwe2r9AER jRjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681653387; x=1684245387; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=56xDmSwVSvqHsdk+jTN8Qif53nTI1Vt+DH0we1NTG8w=; b=SDJcQfQ7mseJzaJVslOXybjk3/xlu96zoJlDwE0mTbRUtYqwU5kJAXAxaFtV43ArMD pdCogimxNalM7HEr4wG9YRXu6EH4E0DUfK84Sg960lR3x+SKl0aJNE9VvKEFv/+601Ah PhpO4xglfXElPOijmSNSDxxncHrxnDRSEWl2O+lJsLs93hlFOeal9LjPRGogGLbPGu8k oNgJVkXZzGwYnS7vhDmtUfKn9xE6JZ+HWG4WnWari9f0x/dZsl6UAP1fVWzoIflnHZrP L1ichSXfOE6nktOts6jHSgT9BIgGezzg1TiRT2DBZGCT3owY7KQpDrzMVyE8rbddZcMg Ujuw== X-Gm-Message-State: AAQBX9cUuMzGsPjYCP+X8qUS+X5tJebTbRtd36zMKt2jMDfjn1BTxkE2 xg9+ZCDcObhZc9l3gcs/2movNxc/z7ypGv8OdsAQfKuUBIc= X-Google-Smtp-Source: AKy350b2jKMJr/+wkvp4WXUtb24FSsBo7gqMjEjkv/zyY7/N6N3hA+PDPNEKIv8TlaN/VpNtWZEMq5eOHSm3/wpgMiE= X-Received: by 2002:a17:902:dac7:b0:1a6:b221:da96 with SMTP id q7-20020a170902dac700b001a6b221da96mr1449115plx.1.1681653387002; Sun, 16 Apr 2023 06:56:27 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?QmVuY2UgRsOhYmnDoW4=?= Date: Sun, 16 Apr 2023 15:56:15 +0200 Message-ID: Subject: [BUG] Org publish makeindex doesn't work on symlinked path [9.6.4 ( @ /home/bence/src/org-mode/lisp/)] To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=begnoc@gmail.com; helo=mail-pj1-x1029.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-Mailman-Approved-At: Mon, 17 Apr 2023 03:20:38 -0400 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=1681716138; a=rsa-sha256; cv=none; b=SYS9TqBLilhpSPdqE2JErIIhkj1rvou2S4jPbCUATFaNwtVr5kUrxmKYvsGU5V6B8qPRyI S6WLEdPVt48Kw5IRKDM1VVf30TRKJFgjmm41MjgJpsHpGVsipv52EEVoEmSbUMdXpxrpZd NaSnuuxgUelt/EZlXIm4T2dJKbnDF9OAtJlbYtjpZKf7ofZiy3/CJo2kYkcbt13ja8JiO4 0Uvp2mA0BGN9EQkFv1w9qR1p1uo5Kff2t+sWS/JYPzpV31uQJMOz70CsgbBapX/54dfyEW Klz+TuX2jVmtPOJ/z/UasgRD33/Ueo/4d1rsemZAk0ShGDDiD+pB1L2J+6ETpA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="diN1/Tau"; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681716138; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=56xDmSwVSvqHsdk+jTN8Qif53nTI1Vt+DH0we1NTG8w=; b=GMjFLtAlHSh2CTrjANWK7/4CMRT/ZnehlN2AV18nOFlGptaVeD6d620XlvhZ1Wnh333Iwp kllEgVr26W93WN+Iwwlz5UY5B5Nqo6Kax3Ik+RkFwY1eyRO4+uYji1PJ5sp0gec3Wa8ye2 3J6jjHVkBcW5Af7jrZ409rvc5RLf3ipmfniYmtZwcIQsufF9NQ1gzbzd/2BZbgqrAhkyRK pKshVgb+qJseGK+FOvqcEp+//rBPXhDZ7d7FKIVMu0LOHehJo1hepl86Lrjn639iS99YMe R9W67AT3e+Ux95gCcexvMsZ0QhNhjKBk7XsVfYB0Pv0Mi+i7aXvTBluwGburpw== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.44 X-Spam-Score: -6.44 X-Migadu-Queue-Id: D7210230DD Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="diN1/Tau"; 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: g+7eHoxO2+Ks Hi, 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 Please see version information below. Best Regards, Bence ------------------------------------------------------------------------ Emacs : GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) Package: Org mode version 9.6.4 ( @ /home/bence/src/org-mode/lisp/) current state: ============== (setq org-link-elisp-confirm-function 'yes-or-no-p org-bibtex-headline-format-function '(closure (org-id-locations org-agenda-search-view-always-boolean org-agenda-overriding-header t) (entry) (cdr (assq :title entry))) org-persist-after-read-hook '(org-element--cache-persist-after-read) org-export-before-parsing-hook '(org-attach-expand-links) org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-archive-hook '(org-attach-archive-delete-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines org-cycle-optimize-window-after-visibility-change org-cycle-display-inline-images) org-persist-before-read-hook '(org-element--cache-persist-before-read) org-mode-hook '((closure (org--rds reftex-docstruct-symbol org--single-lines-list-is-paragraph org-element-greater-elements visual-fill-column-width org-clock-history org-agenda-current-date org-with-time org-defdecode org-def org-read-date-inactive org-ans2 org-ans1 org-columns-current-fmt-compiled org-clock-current-task org-clock-effort org-agenda-skip-function org-agenda-skip-comment-trees org-agenda-archives-mode org-end-time-was-given org-time-was-given org-log-note-extra org-log-note-purpose org-log-post-message org-last-inserted-timestamp org-last-changed-timestamp org-entry-property-inherited-from org-state org-agenda-headline-snapshot-before-repeat org-agenda-buffer-name org-agenda-start-on-weekday org-agenda-buffer-tmp-name org-priority-regexp org-mode-abbrev-table org-mode-syntax-table org-element-cache-persistent buffer-face-mode-face org-tbl-menu org-org-menu org-struct-menu org-entities org-last-state org-id-track-globally org-clock-start-time texmathp-why remember-data-file org-agenda-tags-todo-honor-ignore-options calc-embedded-open-mode calc-embedded-open-formula calc-embedded-close-formula align-mode-rules-list org-emphasis-alist org-emphasis-regexp-components org-export-registered-backends org-modules crm-separator org-babel-load-languages org-id-overriding-file-name org-indent-indentation-per-level org-element--timestamp-regexp org-element-cache-map-continue-from org-element-paragraph-separate org-agenda-buffer-name org-inlinetask-min-level t) nil (add-hook 'change-major-mode-hook 'org-fold-show-all 'append 'local)) (closure (org-src-window-setup *this* org-babel-confirm-evaluate-answer-no org-babel-tangle-uncomment-comments org-src-preserve-indentation org-src-lang-modes org-edit-src-content-indentation org-babel-library-of-babel t) nil (add-hook 'change-major-mode-hook #'org-babel-show-result-all 'append 'local)) org-babel-result-hide-spec org-babel-hide-all-hashes) org-confirm-shell-link-function 'yes-or-no-p outline-isearch-open-invisible-function 'outline-isearch-open-invisible org-agenda-before-write-hook '(org-agenda-add-entry-text) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-elisp-link-function 'yes-or-no-p org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-persist-directory "/run/user/1000/org-persist-oW4EqF" org-fold-core-isearch-open-function 'org-fold-core--isearch-reveal org-persist-before-write-hook '(org-element--cache-persist-before-write) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-link-shell-confirm-function 'yes-or-no-p org-babel-pre-tangle-hook '(save-buffer) org-agenda-loop-over-headlines-in-active-region nil org-occur-hook '(org-first-headline-recenter) org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow org-eww-open :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link :insert-description org-info-description-as-command) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("doi" :follow org-link-doi-open :export org-link-doi-export) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow (closure ((scheme . "news")) (url arg) (browse-url (concat scheme ":" url) arg))) ("mailto" :follow (closure ((scheme . "mailto")) (url arg) (browse-url (concat scheme ":" url) arg))) ("https" :follow (closure ((scheme . "https")) (url arg) (browse-url (concat scheme ":" url) arg))) ("http" :follow (closure ((scheme . "http")) (url arg) (browse-url (concat scheme ":" url) arg))) ("ftp" :follow (closure ((scheme . "ftp")) (url arg) (browse-url (concat scheme ":" url) arg))) ("help" :follow org-link--open-help :store org-link--store-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp)) org-metaup-hook '(org-babel-load-in-session-maybe) )