From unknown Sun Jun 22 00:17:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41543: 28.0.50; Wrong sunrise and sunset here Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 May 2020 15:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41543 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 41543@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159050682512779 (code B ref -1); Tue, 26 May 2020 15:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 May 2020 15:27:05 +0000 Received: from localhost ([127.0.0.1]:46182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdbTm-0003JV-RF for submit@debbugs.gnu.org; Tue, 26 May 2020 11:27:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:52152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdbTg-0003JK-QH for submit@debbugs.gnu.org; Tue, 26 May 2020 11:26:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdbTg-0005dv-Ji for bug-gnu-emacs@gnu.org; Tue, 26 May 2020 11:26:52 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:59207) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdbTf-0005gd-IZ for bug-gnu-emacs@gnu.org; Tue, 26 May 2020 11:26:52 -0400 Received: from protected.rcdrun.com ([::ffff:41.210.145.23]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_CBC_SHA1) by stw1.rcdrun.com with UTF8ESMTPSA id 000000000009FD27.000000005ECD3516.0000388F; Tue, 26 May 2020 08:26:11 -0700 Received: from localhost (localhost [127.0.0.1]) (uid 1001) by protected.rcdrun.com with local id 00000000000C22C0.000000005ECD3502.0000071A; Tue, 26 May 2020 17:25:54 +0200 From: Jean Louis X-Hashcash: 1:20:200526:bug-gnu-emacs@gnu.org::uFSAfdUJ00VCvDyj:00000000000000000000000000000000000000003KOS Date: Tue, 26 May 2020 18:25:52 +0300 Message-ID: <86h7w21zwf.fsf@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=217.170.207.13; envelope-from=admin@protected.rcdrun.com; helo=stw1.rcdrun.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/26 11:26:17 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.1 (-) 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.1 (--) 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) 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 From unknown Sun Jun 22 00:17:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41543: 28.0.50; Wrong sunrise and sunset here Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 May 2020 22:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41543 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jean Louis Cc: 41543@debbugs.gnu.org Received: via spool by 41543-submit@debbugs.gnu.org id=B41543.159062017815163 (code B ref 41543); Wed, 27 May 2020 22:57:02 +0000 Received: (at 41543) by debbugs.gnu.org; 27 May 2020 22:56:18 +0000 Received: from localhost ([127.0.0.1]:50296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1je4yA-0003wU-1Y for submit@debbugs.gnu.org; Wed, 27 May 2020 18:56:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1je4y8-0003wH-9T for 41543@debbugs.gnu.org; Wed, 27 May 2020 18:56:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47718) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1je4y2-0002vH-TR; Wed, 27 May 2020 18:56:10 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1je4xv-0003gY-W5; Wed, 27 May 2020 18:56:04 -0400 From: Glenn Morris References: <86h7w21zwf.fsf@protected.rcdrun.com> X-Spook: Avalanche Smallpox military Hezbollah Nigeria X-Ran: Y$-krAD|1J"S/)(2mp+dzF#Pp#Q{BRI{]c0#v],]jEf}>XrL6Yfg@Y)t]9'3Ts#;IX/5D^ X-Hue: yellow X-Attribution: GM Date: Wed, 27 May 2020 18:56:03 -0400 In-Reply-To: <86h7w21zwf.fsf@protected.rcdrun.com> (Jean Louis's message of "Tue, 26 May 2020 18:25:52 +0300") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) 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: -3.3 (---) 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. From debbugs-submit-bounces@debbugs.gnu.org Wed May 27 18:56:30 2020 Received: (at control) by debbugs.gnu.org; 27 May 2020 22:56:30 +0000 Received: from localhost ([127.0.0.1]:50299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1je4yM-0003wt-7Z for submit@debbugs.gnu.org; Wed, 27 May 2020 18:56:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1je4yK-0003wh-Mo for control@debbugs.gnu.org; Wed, 27 May 2020 18:56:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47722) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1je4yF-00039x-DU for control@debbugs.gnu.org; Wed, 27 May 2020 18:56:23 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1je4yE-0003nt-Bf for control@debbugs.gnu.org; Wed, 27 May 2020 18:56:22 -0400 Subject: control message for bug 41543 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Wed, 27 May 2020 18:56:22 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) tag 41543 notabug close 41543 From unknown Sun Jun 22 00:17:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41543: 28.0.50; Wrong sunrise and sunset here Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 May 2020 10:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41543 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug To: Glenn Morris Cc: 41543@debbugs.gnu.org Received: via spool by 41543-submit@debbugs.gnu.org id=B41543.15906623562617 (code B ref 41543); Thu, 28 May 2020 10:40:01 +0000 Received: (at 41543) by debbugs.gnu.org; 28 May 2020 10:39:16 +0000 Received: from localhost ([127.0.0.1]:51077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeFwR-0000g9-RA for submit@debbugs.gnu.org; Thu, 28 May 2020 06:39:16 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:41287) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeFwP-0000fu-OK for 41543@debbugs.gnu.org; Thu, 28 May 2020 06:39:14 -0400 Received: from localhost ([::ffff:41.210.155.173]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000009FD28.000000005ECF94B8.00007BD1; Thu, 28 May 2020 03:38:46 -0700 Date: Thu, 28 May 2020 11:07:39 +0300 From: Jean Louis Message-ID: <20200528080739.GU22455@protected.rcdrun.com> References: <86h7w21zwf.fsf@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.14.0 (2020-05-02) X-Spam-Score: -0.0 (/) 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: -1.0 (-) * Glenn Morris [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