GNU bug report logs -
#41543
28.0.50; Wrong sunrise and sunset here
Previous Next
Reported by: Jean Louis <bugs <at> gnu.support>
Date: Tue, 26 May 2020 15:28:02 UTC
Severity: minor
Tags: notabug
Found in version 28.0.50
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41543 in the body.
You can then email your comments to 41543 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#41543
; Package
emacs
.
(Tue, 26 May 2020 15:28:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jean Louis <bugs <at> gnu.support>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 26 May 2020 15:28:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
The sunrise here is about 7 A.M. and sunset about 7 A.M. but don't know
exactly. I have set the location and time zone and things correctly, and
I get really incorrect answer from the function.
(setq calendar-latitude 29.72780)
(setq calendar-longitude 1.12484)
(setq calendar-time-zone 180)
(setq calendar-location-name "Bwindi Impenetrable Forest")
(setq calendar-standard-time-zone-name "UTC+180")
Sunrise 7:58am (UTC+180), sunset 9:47pm (UTC+180) at Bwindi Impenetrable
Forest (13:48 hrs daylight)
That answer is not quite right, sunset is never 9:47pm, but also not 8pm
it is about 7pm and sunrise is about 7am, every day about the same with
slight differences during the year. Sunrise is about 1 hour too much,
and sunset almost 3 hours, so it makes no sense.
In GNU Emacs 28.0.50 (build 9, x86_64-pc-linux-gnu, X toolkit, cairo version 1.14.8, Xaw3d scroll bars)
of 2020-05-07 built on protected.rcdrun.com
Repository revision: b2581eea1be1468a15927be00ba2f3f399af33a1
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.11907000
System Description: Hyperbola GNU/Linux-libre
Recent messages:
29.7278
1.12484
180 (#o264, #xb4)
"Bwindi Impenetrable Forest"
"UTC+180"
Sunrise 7:58am (UTC+180), sunset 9:47pm (UTC+180) at Bwindi Impenetrable Forest (13:48 hrs daylight)
<s-right> is undefined
"UTC+180"
Mark set
Mark activated
Configured using:
'configure --prefix=/package/text/emacs-2020-05-07 --with-modules
--without-gpm --with-x-toolkit=lucid
PKG_CONFIG_PATH=/home/data1/protected/GNUstep/Library/Libraries/pkgconfig:/usr/lib/pkgconfig'
Configured features:
XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB
TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS JSON PDUMPER
LCMS2 GMP
Important settings:
value of $LC_ALL: de_DE.UTF-8
value of $LANG: de_DE.UTF-8
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow sort hashcash mail-extr emacsbug message rmc puny dired
dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived
epg epg-config gnus-util rmail rmail-loaddefs text-property-search
time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils cal-julian solar cal-dst cal-menu easymenu
calendar cal-loaddefs tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode elisp-mode lisp-mode prog-mode register page
tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse
jit-lock font-lock syntax facemenu font-core term/tty-colors frame
minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite charscript charprop case-table epa-hook jka-cmpr-hook help
simple abbrev obarray cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
threads dbusbind inotify lcms2 dynamic-setting system-font-setting
font-render-setting cairo x-toolkit x multi-tty make-network-process
emacs)
Memory information:
((conses 16 52128 8063)
(symbols 48 6595 1)
(strings 32 18017 2164)
(string-bytes 1 609253)
(vectors 16 10044)
(vector-slots 8 132823 11776)
(floats 8 353 353)
(intervals 56 283 17)
(buffers 992 11))
--
Thanks,
Jean Louis
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#41543
; Package
emacs
.
(Wed, 27 May 2020 22:57:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 41543 <at> debbugs.gnu.org (full text, mbox):
Jean Louis wrote:
> (setq calendar-latitude 29.72780)
> (setq calendar-longitude 1.12484)
> (setq calendar-time-zone 180)
You seem to have mixed up longitude and latitude.
It is unlikely somewhere 1 degree east of the meridian is 3 hours ahead
of UTC.
Added tag(s) notabug.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 27 May 2020 22:57:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
41543 <at> debbugs.gnu.org and Jean Louis <bugs <at> gnu.support>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 27 May 2020 22:57:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#41543
; Package
emacs
.
(Thu, 28 May 2020 10:40:01 GMT)
Full text and
rfc822 format available.
Message #15 received at 41543 <at> debbugs.gnu.org (full text, mbox):
* Glenn Morris <rgm <at> gnu.org> [2020-05-28 01:56]:
> Jean Louis wrote:
>
> > (setq calendar-latitude 29.72780)
> > (setq calendar-longitude 1.12484)
> > (setq calendar-time-zone 180)
>
> You seem to have mixed up longitude and latitude.
> It is unlikely somewhere 1 degree east of the meridian is 3 hours ahead
> of UTC.
Ah, thank you, I have mixed the latitude and longitude and did not put
it negative for latitude.
$ termux-location -p gps
{
"latitude": -1.12455759,
"longitude": 29.72765716,
"altitude": 1825.0,
"accuracy": 18.0,
"bearing": 287.3999938964844,
"speed": 1.9112823009490967,
"elapsedMs": 6,
"provider": "gps"
}
Now it is showing me pretty correctly:
M-x sunrise-sunset
Sunrise 6:57am (UTC+180), sunset 6:59pm (UTC+180) at Bwindi
Impenetrable Forest (12:02 hrs daylight)
Thank you,
Jean
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 25 Jun 2020 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 361 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.