From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#55286: 29.0.50; Diary problems when switching date styles Date: Fri, 06 May 2022 10:59:54 +0200 Message-ID: <87bkwbdoj9.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28960"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: 55286@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 06 11:01:27 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nmtq3-0007KJ-3R for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 May 2022 11:01:27 +0200 Original-Received: from localhost ([::1]:49414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmtq2-0004Le-50 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 May 2022 05:01:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmtpe-0004KF-0y for bug-gnu-emacs@gnu.org; Fri, 06 May 2022 05:01:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53218) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmtpd-000686-NE for bug-gnu-emacs@gnu.org; Fri, 06 May 2022 05:01:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nmtpd-0003XM-MC for bug-gnu-emacs@gnu.org; Fri, 06 May 2022 05:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 May 2022 09:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55286 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.165182760413444 (code B ref -1); Fri, 06 May 2022 09:01:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 May 2022 09:00:04 +0000 Original-Received: from localhost ([127.0.0.1]:47115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmtoh-0003Ul-Hu for submit@debbugs.gnu.org; Fri, 06 May 2022 05:00:04 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:56380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmtod-0003Tf-54 for submit@debbugs.gnu.org; Fri, 06 May 2022 05:00:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmtoc-0002uE-SZ for bug-gnu-emacs@gnu.org; Fri, 06 May 2022 04:59:58 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:52181) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmtob-0005mj-3T for bug-gnu-emacs@gnu.org; Fri, 06 May 2022 04:59:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1651827595; bh=vd4FT9brBHlrqISrlCV8L+t0W3dtYVvAnqJz8ku2aP0=; h=X-UI-Sender-Class:From:To:Subject:Date; b=H4LMEaczDI0YXI4gxuQk9oYCIyndTj5VdjRCrgpniPrpW6zswC3a/M8Z5R9EUJEZO kfYAUt0Ueuu2MJbFyQiO4Dsgeu4R3+hy0qj5u/m47Kp/+79zV8dJXsp/7v38aT2Lsh dRPOOvdWXwRTDD5p9hQls10mdU8gQol/PWMGL5ig= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobelfs2 ([89.246.36.127]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MQeA2-1nQIlJ2iBC-00NiGe for ; Fri, 06 May 2022 10:59:55 +0200 X-Provags-ID: V03:K1:aQ/E5XRQkEgyCe9rGT01nABmw7X1+g6UdtFdpxP/S4PFXNY86Zx /OqAp0j0NSqQRxdoiYJwZbH2hUL7OtfVidU8JGsl5ezDxncbaGgdJ0jbLgkiyFioDxRh8yF dGxBTXKgTkQR0gwUGu+/+QiDJTHsU98o9T5GWNhtmW7BhLttTUmZ80g8A+mdRz6yQ43dDHy +eX6hw80+HW6Mt1OLEigg== X-UI-Out-Filterresults: notjunk:1;V03:K0:f7PzMTjr+7Q=:7rNlxbOAMGkpKILw9X23/C FCDSZUyJ+nkL7Arp/qx6DgjqfQJiN7jAU1pDph6drfIHqEfmgjqISYtU79kO7GeTE7hiupDYJ gdKw0aMWFnY1WKuUgGA9Hrw2mRMMf1W7KrOP99pRgxdzcUlVlp2cpoadtDLYmnLgbk0oVzfRq Z0qnbgziT+hWXUdaHh5Eakj5pgNm0L+OhLDPN1L9JkcZFQyCSDP0CsZMl+E5Y9EPQZPqh1ztb CAPxD7Eg7adKImjMuJMct7KbehkSAAXYIoAbhfvaFXBDu5lMLiqj5A3Tf6NxGNYDbAnVwLQfc Ud1oUUpBuS3cK7EGRzVlQJCKns3NaZeef00eLSD9yTvml5Crj78dGTbZ/PaDWLjKxwO5tyz/a PO5Xd2lz+mG8hre/Mxv2EcVe1H2QnLKES/KWOfBN4nJnIvdooOGV/EjeAC8TXHXM99MAhv5VI lydbsw5E+fEA2RzU93uNozQLlzJZou4Woq6rkF8zF7hvKIFZyRc+HL/85LT6kfW+MIQvFF7Wa fo+5mdGqT937sL0SexKa85eoN988zg74rK8yCjUYKuiUFr27FPoDk4Iy8Ont+k5XMN0vdLA1Y +LFxd5ZX/8dYR+jMxtH2O097/vas21XKx8F3el+vG1B31aVdZfpWfP8LmIh4FG3rSn1hvw/Sy E4oOmb8a4IcputMhyVymTXwnA9j0zGIR1cMj43OU9dkDgzrkoLCGUBY8xwCOpktflsSsigwJ0 SC5vgrf+YfMgmcVntcCufyzL2CLwRWPoe39dOW5NrWuifLK/GRiuFbdsLvsVCr8I8EeYlS+8 Received-SPF: pass client-ip=212.227.17.21; envelope-from=stephen.berman@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:231480 Archived-At: 0. With diary-file empty, start Emacs with -Q. 1. Type `M-x calendar', then in the Calendar type `i d', which opens a Diary buffer and inserts a date header (in American style). Type 'test1' as the diary entry, then `C-x C-s' to save the diary file, then `C-x k RET' to kill the Diary buffer. 2. In the Calendar buffer type `d'. This displays the following in the Diary buffer: Friday, May 6, 2022 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D test1 In the Calendar buffer type `q' to close it and the Diary buffer. 3. Type `M-x calendar-set-date-style RET iso RET'. 4. Type `M-x calendar' and in the Calendar type `i d': this shows the Diary with the following content: May 6, 2022 test1 2022-05-06 Note that the first date is fontified with 'diary' face but the second date isn't. After the second date type 'test2', the `C-x C-s C-x k RET' to save and then kill the Diary buffer. 5. In the Calendar buffer type `d'. This displays the following in the Diary buffer: 2022-05-06 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D test2 2022 test1 6. Type `M-x calendar-set-date-style RET' to restore the 'american' date style. 7. Type `M-x calendar' and in the Calendar type `i d': this shows the Diary with the following content: May 6, 2022 test1 2022-05-06 test2 May 6, 2022 The first and third dates are fontified with 'diary' face but the second date isn't. After the third date type 'test3', the `C-x C-s C-x k RET' to save and then kill the Diary buffer. 8. In the Calendar buffer type `d'. This displays the following in the Diary buffer: Friday, May 6, 2022 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D test1 test3 Note that the second diary item is not displayed. In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, = cairo version 1.17.6) of 2022-05-05 built on strobelfs2 Repository revision: 8fce81897dabe9c06f7b3f59cfb0bb9348422531 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101003 System Description: Linux From Scratch r11.0-165 Configured using: 'configure --with-xinput2 --with-xwidgets 'CFLAGS=3D-Og -g3' PKG_CONFIG_PATH=3D/opt/qt5/lib/pkgconfig' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix