unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 42774@debbugs.gnu.org
Subject: bug#42774: calendar-sunrise-sunset rude flash / beep
Date: Sun, 09 Aug 2020 13:11:22 +0200	[thread overview]
Message-ID: <87a6z4ul9h.fsf@gnus.org> (raw)
In-Reply-To: <874kpcic0d.5.fsf@jidanni.org> ("積丹尼 Dan Jacobson"'s message of "Sun, 09 Aug 2020 14:12:02 +0800")

積丹尼 Dan Jacobson <jidanni@jidanni.org> 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





  reply	other threads:[~2020-08-09 11:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-09  6:12 bug#42774: calendar-sunrise-sunset rude flash / beep 積丹尼 Dan Jacobson
2020-08-09 11:11 ` Lars Ingebrigtsen [this message]
2020-08-09 14:00 ` Eli Zaretskii
2020-08-10 14:40   ` 積丹尼 Dan Jacobson
2020-08-10 14:43     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6z4ul9h.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=42774@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).