unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pavel@Janik.cz (Pavel Janík)
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] Changes to emacs/lisp/ChangeLog
Date: Tue, 02 Apr 2002 19:09:06 +0200	[thread overview]
Message-ID: <m3g02ejadp.fsf@Janik.cz> (raw)
In-Reply-To: <200204012321.g31NLLP11397@aztec.santafe.edu> (Richard Stallman's message of "Mon, 1 Apr 2002 16:21:21 -0700 (MST)")

   From: Richard Stallman <rms@gnu.org>
   Date: Mon, 1 Apr 2002 16:21:21 -0700 (MST)

   > It might be a good idea to define play-sound so that it always fails
   > when sound support is not included.  That could be done in C or Lisp.
   > It is easy either way.  Want to do it?

I think that Eli's idea of renaming play-sound (now in C) to
play-sound-internal and just adding

  (unless (fboundp 'play-sound-internal)
     (error "This Emacs binary lacks sound support."))

at the beginning of real play-sound (which can be in Lisp after that) is
also good solution. What do you think?

   >     I can do that if you agree with this. I will also add --with[out]-sound to
   >     configure.
   > 
   > Is there a real practical benefit in having those options?  I don't
   > see it.  Why bother?

To test the above implementation? ;-) No, it does not have practical
benefit except for maniacs who are trying to make Emacs smaller. How do
you compile Emacs without sound support on the computer which has
soundcard.h and similar files? Yes, it is detail, but it will take
approx. 5 minutes of my time.
-- 
Pavel Janík

Use uniform input formats.
                  --  The Elements of Programming Style (Kernighan & Plaugher)

  reply	other threads:[~2002-04-02 17:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E16r5bQ-0001Jp-00@subversions.gnu.org>
     [not found] ` <m3vgbe5wjm.fsf@Janik.cz>
     [not found]   ` <200203311640.g2VGeFw10733@aztec.santafe.edu>
2002-04-01  9:12     ` [Emacs-diffs] Changes to emacs/lisp/ChangeLog Pavel Janík
2002-04-01 10:19       ` Eli Zaretskii
2002-04-01 15:05       ` Stefan Monnier
2002-04-01 17:02         ` Pavel Janík
2002-04-01 23:21       ` Richard Stallman
2002-04-02 17:09         ` Pavel Janík [this message]
2002-04-03 22:50           ` Richard Stallman
     [not found] <E1FiEqb-0007QY-IW@savannah.gnu.org>
2006-05-23 12:07 ` Michaël Cadilhac
2006-05-23 14:39   ` Stefan Monnier
2006-05-23 17:14     ` Michaël Cadilhac
2006-05-23 20:51       ` Stefan Monnier
2006-05-24  8:48         ` Michaël Cadilhac

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=m3g02ejadp.fsf@Janik.cz \
    --to=pavel@janik.cz \
    --cc=emacs-devel@gnu.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).