all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 6997@debbugs.gnu.org
Subject: bug#6997: Loading w32-fns under X11 signals an error
Date: Sat, 11 Sep 2010 23:41:46 +0200	[thread overview]
Message-ID: <AANLkTimXkdxOqV==oBs--vDMd1DMiMkbbYYVLTE6s9Gw@mail.gmail.com> (raw)
In-Reply-To: <jwvk4mw37hm.fsf@iro.umontreal.ca>

> The title says it.  It probably also messes with things, additionally to
> signalling an error.  Of course, you will say "don't do that", but
> remember that files may be loaded for all kinds of reasons, so they
> should be harmless.

You can avoid the warning with judicious application of

  (when (fboundp 'set-message-beep)
    ...)

and

 (when (boundp 'w32-charset-info-alist)
  ...)

but making the loading harmless will likely need some more uglifying
of the code.

Perhaps these really-specific modules should just have protection guards:

(when (eq system-type 'windows-nt)
  ;;; rest of the file
  )
(provide 'xxx)

    Juanma





  reply	other threads:[~2010-09-11 21:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-08  9:33 bug#6997: Loading w32-fns under X11 signals an error Stefan Monnier
2010-09-11 21:41 ` Juanma Barranquero [this message]
2010-09-13  7:18 ` Eli Zaretskii
2010-09-13  9:27   ` Stefan Monnier
2010-09-13 11:41     ` Eli Zaretskii
2010-09-13 14:51       ` Stefan Monnier
2010-09-13 15:29         ` Eli Zaretskii
2010-09-14  9:32           ` Stefan Monnier
2010-09-14 11:59             ` Juanma Barranquero
2017-12-15  2:21 ` Glenn Morris

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

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

  git send-email \
    --in-reply-to='AANLkTimXkdxOqV==oBs--vDMd1DMiMkbbYYVLTE6s9Gw@mail.gmail.com' \
    --to=lekktu@gmail.com \
    --cc=6997@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.