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 ms11 with LMTPS id q9CqIY1FfF89IwAA0tVLHw (envelope-from ) for ; Tue, 06 Oct 2020 10:23:09 +0000 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 SEFUHY1FfF83BwAAB5/wlQ (envelope-from ) for ; Tue, 06 Oct 2020 10:23:09 +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 08B65940142 for ; Tue, 6 Oct 2020 10:23:09 +0000 (UTC) Received: from localhost ([::1]:52500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPk7f-0001Lh-9z for larch@yhetil.org; Tue, 06 Oct 2020 06:23:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPk6z-0001JD-96 for emacs-orgmode@gnu.org; Tue, 06 Oct 2020 06:22:25 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:56651) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPk6w-00078d-Vz for emacs-orgmode@gnu.org; Tue, 06 Oct 2020 06:22:24 -0400 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 70F8B200005; Tue, 6 Oct 2020 10:22:18 +0000 (UTC) From: Nicolas Goaziou To: David Masterson Subject: Re: :auto-sitemap in org-publish-project-alist ?? References: Mail-Followup-To: David Masterson , emacs-orgmode@gnu.org Date: Tue, 06 Oct 2020 12:22:06 +0200 In-Reply-To: (David Masterson's message of "Thu, 01 Oct 2020 17:13:08 -0700") Message-ID: <87lfgju01d.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.178.232; envelope-from=mail@nicolasgoaziou.fr; helo=relay12.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/06 06:22:19 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 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-Spam-Score: -0.01 X-TUID: KymriNMIaT3q Hello, David Masterson writes: > David Masterson writes: > >> My org-publish-project-alist kind of looks like this: >> >> (setq org-publish-project-alist >> '(("orgfiles" >> :base-directory "~/DSM/MyOrg/" >> :base-extension "org" >> :publishing-directory "~/Publish/html/" >> :publishing-function org-html-publish-to-html >> :headline-levels 6 >> :section-numbers t >> :makeindex t >> :auto-sitemap t >> :exclude "init.org" >> :with-toc nil))) >> >> >> If I publish my files, sitemap.org is made in a buffer and written to a >> file, Thereafter, org-publish always says sitemap.org has been changed >> on disk and asks about updating it. Since it is a generated file, that >> shouldn't be necessary. >> >> Is there a way to turn that off and just have it overwrite the file? > > Anyone seeing this? No. Could you M-x toggle-degug-on-quit, reproduce it, C-g when you're asked about updating the file, and send the backtrace? Regards, -- Nicolas Goaziou