From 7b80334fda3825f1ec4876c54d9ca3446b5caba0 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Wed, 2 Aug 2023 09:31:44 +0300 Subject: [PATCH] org-lint-timestamp-syntax: Improve lint message * lisp/org-lint.el (org-lint-timestamp-syntax): Mention the original timestamp in the link message. Reported-by: Fraga, Eric Link: https://orgmode.org/list/87y1iuyb3m.fsf@ucl.ac.uk --- lisp/org-lint.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-lint.el b/lisp/org-lint.el index 759cac12f..6259e7e47 100644 --- a/lisp/org-lint.el +++ b/lisp/org-lint.el @@ -1418,7 +1418,7 @@ AST is the buffer parse tree." (org-element-property :end timestamp)))) (unless (equal expected actual) (list (org-element-property :begin timestamp) - (format "Potentially malformed timestamp. Recognized: %s" expected))))))) + (format "Potentially malformed timestamp %s. Parsed as: %s" actual expected))))))) ;;; Checkers declaration