From debbugs-submit-bounces@debbugs.gnu.org Fri May 06 05:00:04 2022 Received: (at submit) by debbugs.gnu.org; 6 May 2022 09:00:04 +0000 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 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 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 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 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 From: Stephen Berman To: bug-gnu-emacs@gnu.org Subject: 29.0.50; Diary problems when switching date styles Date: Fri, 06 May 2022 10:59:54 +0200 Message-ID: <87bkwbdoj9.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:aQ/E5XRQkEgyCe9rGT01nABmw7X1+g6UdtFdpxP/S4PFXNY86Zx /OqAp0j0NSqQRxdoiYJwZbH2hUL7OtfVidU8JGsl5ezDxncbaGgdJ0jbLgkiyFioDxRh8yF dGxBTXKgTkQR0gwUGu+/+QiDJTHsU98o9T5GWNhtmW7BhLttTUmZ80g8A+mdRz6yQ43dDHy +eX6hw80+HW6Mt1OLEigg== X-Spam-Flag: NO 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+8L fx4EDY8xI8P22zdGq32AkESl39pqxFtLAghFQVINfIolqwNxIV5m0dM/Qa620NY/6QHRW4yAs ObpTu9oen2FH7Dj695G6cATxaO3nGdVbZlIm/OlNcX6R1hymr2HVcbalN8GWmXE0cKWbUkF04 aD57hQGMV20m5gyDTVjEZ0xJw2PqVBSORCj1c/2d/jVR6P365zDE2FEwAF2h7mleSDn0jXVrZ lPrYMzg0n2l7tzo1xLNM0J/GEeReNwfk6rwP6uylMmGN2XNZlsnsTnLXHDRNDmn58AVFuGRAM RrKfz9P4m8mjRU= Content-Transfer-Encoding: quoted-printable 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-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) 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