From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id GK+1Cr73i2YAQwAA62LTzQ:P1 (envelope-from ) for ; Mon, 08 Jul 2024 14:29:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id GK+1Cr73i2YAQwAA62LTzQ (envelope-from ) for ; Mon, 08 Jul 2024 16:29:18 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=noa.pub header.s=x header.b=HaQEgGkV; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720448958; 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=rRRvUwch2KVqyPStN9vrgHdCjEVHjL93yo/y1+KtAMA=; b=fn6HXg19nAQbqWHtdZpl68sSkRIIaWGygp4gUA8ehUjU3/0wTS5kXiQreAGaUK+wMPL5SK y3mO6rNkjAavQan5Mgil2VP+Kwi+BdgdPwADGOAR877R2K5DYbj10lVeQ9P0diAFkzhiL+ fa0kjAUF5HfbRbrIXMjcrEOZAbXq8x5Kp50ilMASMnwVlghxKeOSsIDVsJuJxNifb2XhpJ tuN3Ds5fWPcBlXLzNYzPwYcM70IMtxojoKbVPg5CwGhKRB3wI5IpTuzWh/+ZTmpfsQ54la lFHziKUlRaZ4SBU5D7+6Y93VFmRDJIB6wNRtv+UlnUWMdnG4zX2AI5u1kdZXsw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=noa.pub header.s=x header.b=HaQEgGkV; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720448958; a=rsa-sha256; cv=none; b=k3ehU3MH/+le/2ZsxUar4cHJ3gnpK0zB9wZV3PIv4XLWTq3cvhD1d4D9GzojfGfYAutqx8 RloATCWYgRbOqo4MC2Zlr/hP4WJ1gvPtA/jh3JsHxwEzujGn8LdYGWqBLuvDMMcFCSEspb aDv47xdiXbX8QjjA+pYhaoPJC5FwFAd2cns9ORK8CnTX9FAS7Or3sEL4wNtGiiJeb1ugNL Z+Z3zqIfU+YRslUZkY0IL0tPfyUguEmJpyFczYJrBl+jriw8Q4PcVoZy4lEo1UyW5qyLBv JBxvWV/W35YVbOh5obSMFBvzwFgR5bOTv+nklOeGy4gn4RjBYQfl4RrV4958Mg== 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 B04163F4BA for ; Mon, 8 Jul 2024 16:29:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQpLD-0002aw-NV; Mon, 08 Jul 2024 10:27:43 -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 1sNC6O-0005XA-JA for emacs-orgmode@gnu.org; Fri, 28 Jun 2024 09:57:24 -0400 Received: from mail-108-mta84.mxroute.com ([136.175.108.84]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNC6L-0007vt-A6 for emacs-orgmode@gnu.org; Fri, 28 Jun 2024 09:57:23 -0400 Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta84.mxroute.com (ZoneMTA) with ESMTPSA id 1905f1e2cca00017a3.001 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Fri, 28 Jun 2024 13:52:11 +0000 X-Zone-Loop: 483996ee622be358c6916ee7c6d6258f673a732084e3 X-Originating-IP: [136.175.111.3] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=noa.pub; s=x; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From:Sender: Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=rRRvUwch2KVqyPStN9vrgHdCjEVHjL93yo/y1+KtAMA=; b=HaQEgGkV/UewnSxD/j6Dh5XQ/q ociNe3O5pZCf83SaKay6qx248XXQz+m8QfAszpqH1G7IXWG4g1Ry9oc7FCbWrKMyCvwDRqV7Cz/9s 8u68uHfdo4PiQ26PzNxc8VEZbMnyjjXSj8MFI0XgekBfYkm+1D+JYBDwcsYzS6r+HtK9jI9RB5Zv+ N+2FTYLoajRjmcBLxIvxF6sTKxdAMPiEHRJb6SkeltQo8k4S2Ih/7fPsSXYYfWRxZ2S0GOIokM7gc f6VJVcIAgS1lvPtsvKBJCPglTDNHMsEZQNy2oe8OlTOmijMuejLycBk3IKpIrgwcWzmTbOSSsQV1Y Q1APBrYw==; From: noa To: emacs-orgmode@gnu.org Subject: [BUG] Org-publish-find-date ignores #+DATE keyword [9.7.5 (9.7.5-eafa47 @ /usr/share/emacs/29.3/lisp/org/)] Date: Fri, 28 Jun 2024 14:50:41 +0100 Message-ID: <877ce9fa6m.fsf@baby> MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-Id: noa@noa.pub Received-SPF: pass client-ip=136.175.108.84; envelope-from=noa@noa.pub; helo=mail-108-mta84.mxroute.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 08 Jul 2024 10:27:28 -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 X-Migadu-Queue-Id: B04163F4BA X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -2.39 X-Spam-Score: -2.39 X-TUID: rewBehH6mX5a Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. ------------------------------------------------------------------------ When generating a sitemap from org-publish with the anti-chronological and list options set, i noticed that the order of files wasn't as i expected. I wanted the order to be in the order i specified with DATE keywords in each individual file. I modified org-publish-sitemap-default-entry to include the date as well: (format "%s: [[file:%s][%s]]" (format-time-string (car org-time-stamp-custom-formats) (org-publish-find-date entry project)) entry (org-publish-find-title entry project)) All the dates shown were the mtime of the files, rather than the dates i specified with the DATE keyword in YYYY-MM-DD format. Looking at org-publish-find-date, it seems that the let binding successfully pulls the date from the file, but it looks like #1=(#("2024-05-28" 0 10 (:parent #1#))). My elisp skills aren't great so i find what this means quite difficult to understand, but the following cond clause seems to not work because (assq 'timestamp date) always returns nil. I've tried running this with emacs -q and get the same issue, and also have updated to the version of org in elpa, and get the same issue. Emacs : GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0) of 2024-05-20, modified by Debian Package: Org mode version 9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/) -- ~noa (https://noa.pub)