Subject: bug#42774: calendar-sunrise-sunset rude flash / beep

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 09 Aug 2020 13:11:22 +0200

積丹尼 Dan Jacobson <[email-masked]> writes:

> $ emacs -nw -Q -f calendar
> S
>
> Why the big flash or beep?
> Why can't it just prompt without being rude?

What the...

(defun solar-setup ()
  "Prompt for `calendar-longitude', `calendar-latitude', `calendar-time-zone'."
  (beep)

Is that debugging code that's snuck in recently?

9f34a2a0c82 (Jim Blandy          1992-08-12  210) (defun solar-setup ()
a603b7dbaa2 (Glenn Morris        2008-03-08  211)   "Prompt for `calendar-longitude', `calendar-latitude', `calendar-time-zone'."
9f34a2a0c82 (Jim Blandy          1992-08-12  212)   (beep)
e85393d4fff (Glenn Morris        2008-03-07  213)   (or calendar-longitude
9f34a2a0c82 (Jim Blandy          1992-08-12  214)       (setq calendar-longitude

Heh.  It's been there since 1992, which is the first version?

I'll remove it; it makes no sense to beep at the user here...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no