[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54756: 28.1; faulty date interpretation
From: |
Peter Dyballa |
Subject: |
bug#54756: 28.1; faulty date interpretation |
Date: |
Thu, 7 Apr 2022 19:23:39 +0200 |
> Am 7.4.2022 um 13:24 schrieb Lars Ingebrigtsen <larsi@gnus.org>:
>
> I get exactly the same in Emacs 28.1.
That's not surprising, since you put the date in US American notation into
diary.
>
> I never use diary, so I don't know whether this is what's expected or
> not. Could you explain what you expected to see here, or whether you're
> seeing something else in Emacs 28.1?
In GNU Emacs 27 and before it worked to switch to European date format:
/Library/Application Support/Emacs/site-init.el:23:(defvar
european-calendar-style t)
/Library/Application Support/Emacs/site-init.el:72:(setq
european-calendar-style t)
which now does not get loaded, as *Messages* shows:
Um 2022-04-06 21:52:54 Uhr wird /Library/Application
Support/Emacs/site-start.el geladen
/Library/Application Support/Emacs/site-start.el
(Tipp von Kai G) Lade jetzt: cal-loaddefs
site-start.el Zeile 497
(Tipp von Kai G) Lade jetzt: ~/.emacs
Sind jetzt in PETEs .emacs
Zeile 44 .emacs, der Emacs-Typ ist 28
It’s not XEmacs
It’s GNU Emacs
Zeile 228 .emacs
Zeile 234 .emacs, desktop-dirname ist ~/.emacs.d/ und gesichert wird in
emacs-28.desktop-mac
../../Library/Application Support/Emacs/session.el: Warning: ‘incf’ is
an obsolete alias (as of 27.1); use ‘cl-incf’ instead. [2 times]
../../Library/Application Support/Emacs/session.el: Warning: ‘decf’ is
an obsolete alias (as of 27.1); use ‘cl-decf’ instead.
../../Library/Application Support/Emacs/session.el: Warning: ‘incf’ is
an obsolete alias (as of 27.1); use ‘cl-incf’ instead.
../../Library/Application Support/Emacs/session.el: Warning: ‘decf’ is
an obsolete alias (as of 27.1); use ‘cl-decf’ instead.
../../Library/Application Support/Emacs/session.el: Warning: ‘incf’ is
an obsolete alias (as of 27.1); use ‘cl-incf’ instead. [4 times]
Zeile 254 .emacs
Zeile 259 .emacs, session-save-file ist ~/.emacs.d/session-28-mac
Zeile 261 .emacs, custom-file ist ~/.emacs-Abrichtung-28.el
(Tipp von Kai G) Lade jetzt: ~/.emacs-Abrichtung-28.el
Loading /Users/pete/.emacs-Abrichtung-28.el (source)...
Custom Set Variables 28
(Tipp von Kai G) Lade jetzt: time
Loading time...done
(Tipp von Kai G) Lade jetzt: midnight
Loading midnight...done
Custom Set Faces 28
Loading /Users/pete/.emacs-Abrichtung-28.el (source)...done
(Tipp von Kai G) Lade jetzt: ~/.emacs_mac
Loading /Users/pete/.emacs_mac...
AppKit-Zeile 19 .emacs_mac
AppKit-Zeile 23 .emacs_mac
Carbon/AppKit Emacs-Zeile 56 .emacs_mac
(Tipp von Kai G) Lade jetzt: /Library/Application
Support/Emacs/site-start.el
Loading /Library/Application Support/Emacs/site-start.el (source)...
Um 2022-04-06 21:52:54 Uhr wird /Library/Application
Support/Emacs/site-start.el geladen
/Library/Application Support/Emacs/site-start.el
(Tipp von Kai G) Lade jetzt: hol-loaddefs
Marking holidays...done
(Tipp von Kai G) Lade jetzt: diary-loaddefs
Marking diary entries...done
Preparing diary...done
Looking up holidays...done
site-start.el Zeile 497
Loading /Library/Application Support/Emacs/site-start.el (source)...done
site-start.el has:
/Library/Application Support/Emacs/site-start.el:151:(setq
european-calendar-style t)
/Library/Application Support/Emacs/site-start.el:164:;(setq
calendar-date-style 'european) ; 'iso gips auch
/Library/Application
Support/Emacs/site-start.el:165:;(calendar-set-date-style 'european)
I'd presume that dumping is a problem:
Warning: Change in load-path due to site-init will be lost after dumping
which I better should avoid:
calendar-date-style is a variable defined in ‘calendar.el’.
Its value is ‘american’
Activating "(setq calendar-date-style 'european)" brings:
calendar-date-style is a variable defined in ‘calendar.el’.
Its value is ‘european’
Original value was ‘american’
Now I get in *Fancy Diary Entries* only:
Sunrise 06 Uhr 50, sunset 20 Uhr 05 at Friedberg (13:15 hrs daylight)
and on 4. of June:
Sunrise 05 Uhr 19, sunset 21 Uhr 28 at Friedberg (16:08 hrs daylight)
Geburt von Karl Valentin in München-Au als Valentin Ludwig Fey 160
Jahren
Tod von Rupert Neville Hine
So it's more my bug - sorry!
--
Greetings
Pete
There are very few jobs that actually require a penis or vagina. All other jobs
should be open to everybody.
– Florynce Kennedy