Received: (at submit) by debbugs.gnu.org; 15 Nov 2023 17:28:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 15 12:28:16 2023 Received: from localhost ([127.0.0.1]:53574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1r3JgV-0006to-Ah for submit <at> debbugs.gnu.org; Wed, 15 Nov 2023 12:28:16 -0500 Received: from lists.gnu.org ([2001:470:142::17]:49592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <hello@HIDDEN>) id 1r3JI3-0005xa-6x for submit <at> debbugs.gnu.org; Wed, 15 Nov 2023 12:03:00 -0500 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 <hello@HIDDEN>) id 1r3Dr7-0005VT-R5 for bug-gnu-emacs@HIDDEN; Wed, 15 Nov 2023 06:14:49 -0500 Received: from sendmail.purelymail.com ([34.202.193.197]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <hello@HIDDEN>) id 1r3Dr3-0002eF-67 for bug-gnu-emacs@HIDDEN; Wed, 15 Nov 2023 06:14:49 -0500 Authentication-Results: purelymail.com; auth=pass DKIM-Signature: a=rsa-sha256; b=ez05xnRw7lssyapE90EzuKp1jHxXcQnl7on3RY48/l7WrQUMy1NkpNgMLKDs6b+RbPJBvus+lNxEeR74ExyQcfzjx8IO8wn7lXrNtaZE01PHfukxZlwdUU/oVYFV83c/HzJEzv9N+NEbxzZeIu23arBcs0XG26iaCeLACu9DD+odIfRdEMT0lzvHvu6xtKQGfD1n0KY+X8Iy/LmceRdY/Be4PJ0p1LENlTNLIedZ10DS5N8jUKgyWllP0vrPpOzdKW3ynRuchI7/zvvKPfSJe1dwGU4e9g5h2oaAyi3iNCjyLeJzdveLVSB68Xof3+2LHkghcJAt3HVCCumXfMiiWQ==; s=purelymail1; d=paulwrankin.com; v=1; bh=G0uVuK5AH3IFIXQr42tIAqeivCX5wuqTdAznQ645aFM=; h=Received:From:To:Subject; DKIM-Signature: a=rsa-sha256; b=VRmjMRjcDCs+0UwtLN/kMw6QyWgMTNpiwpAJHJo8VNhW4qKHTLc1K19o2TINGGZeC3XNsc8ZuCOP/shKlIIFTH6HsOog6UWQwane0Y7hTV6bqTXe8dClILZUFtmZ4n6JHeUG7wdkt9VGaF2wL8rjz0dWzhGgLeXxO/cvV9oDNIHMigWXrJlOv7u2mhwpuW1pUCsQ38zruIFAVo0pFVksZgJqSXEf8KAmYuNCCXamABLx020NjTLL1LbHeixvSyxdpnQSntoKfwVn/3DT/NcCgzfcH+KtDCaS4V4wgEClGInDSkjgZauUwKI09wCdVdl++voIf4qdYd0XAsnkUrjncQ==; s=purelymail1; d=purelymail.com; v=1; bh=G0uVuK5AH3IFIXQr42tIAqeivCX5wuqTdAznQ645aFM=; h=Feedback-ID:Received:From:To:Subject; Feedback-ID: 791:353:null:purelymail X-Pm-Original-To: bug-gnu-emacs@HIDDEN Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1619336295; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 15 Nov 2023 11:14:27 +0000 (UTC) From: "Paul W. Rankin" <hello@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: [PATCH] * lisp/calendar/diary-lib.el (diary-list-entries-2) skip leading whitespace in diary entries Date: Wed, 15 Nov 2023 21:13:31 +1000 Message-ID: <20231115111420.25018-1-hello@HIDDEN> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail Content-Type: text/plain; charset=UTF-8 Received-SPF: pass client-ip=34.202.193.197; envelope-from=hello@HIDDEN; helo=sendmail.purelymail.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_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: "Paul W. Rankin" <hello@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) --- When diary entries have more than a single space between date and entry this is displayed in diary display. This skips the leading whitespace. lisp/calendar/diary-lib.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el index 0d894f1..6806039 100644 --- a/lisp/calendar/diary-lib.el +++ b/lisp/calendar/diary-lib.el @@ -697,6 +697,8 @@ any entries were found." (setq date-start (line-end-position 0)) ;; Actual entry starts on the next-line? (if (looking-at "[ \t]*\n[ \t]") (forward-line 1)) + ;; We don't want leading whitespace + (skip-chars-forward " \t") (setq entry-found t entry-start (point)) (forward-line 1) --=20 2.42.0
"Paul W. Rankin" <hello@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#67203
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.