[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `xterm-mouse-mode' has a bogus Custom group
From: |
Eli Zaretskii |
Subject: |
Re: `xterm-mouse-mode' has a bogus Custom group |
Date: |
Wed, 13 Apr 2005 08:28:19 +0300 |
> Cc: address@hidden, address@hidden, address@hidden
> From: "Jan D." <address@hidden>
> Date: Wed, 13 Apr 2005 06:58:04 +0200
>
> > But how do you check whether configure was invoked with `--without-x'
> > from Lisp and from C?
>
> #ifndef HAVE_X_WINDOWS
Actually, I'd suggest
#ifdef HAVE_WINDOW_SYSTEM
because the latter will catch non-X windowed versions (e.g.,
MS-Windows) as well. Unless the code is in X-specific file, like
xfns.c, where non-X toolkits are a non-issue.
> You can check window-system in Lisp (it is nil), but it doesn't tell if
> the running Emacs was configured with --without-x, only that it is
> currently running without X. I.e. it could be emacs -nw, or simply
> running without an X display. Does it make any difference?
Yes, it makes a difference: Emacs compiled with --without-x cannot
invoke code that calls X-specific primitives, because that would
signal errors complaining about void functions. Emacs that does have
X support but runs with -nw will silently do nothing when such code is
invoked because (modulo bugs) these features are coded to do nothing
when the required graphic display facilities are not available.
- Re: `xterm-mouse-mode' has a bogus Custom group, (continued)
- Re: `xterm-mouse-mode' has a bogus Custom group, Richard Stallman, 2005/04/10
- Re: `xterm-mouse-mode' has a bogus Custom group, Luc Teirlinck, 2005/04/11
- Re: `xterm-mouse-mode' has a bogus Custom group, Luc Teirlinck, 2005/04/11
- Re: `xterm-mouse-mode' has a bogus Custom group, Richard Stallman, 2005/04/12
- Re: `xterm-mouse-mode' has a bogus Custom group, Luc Teirlinck, 2005/04/12
- Re: `xterm-mouse-mode' has a bogus Custom group, Jan D., 2005/04/13
- Re: `xterm-mouse-mode' has a bogus Custom group,
Eli Zaretskii <=
- Re: `xterm-mouse-mode' has a bogus Custom group, Luc Teirlinck, 2005/04/13
- Re: `xterm-mouse-mode' has a bogus Custom group, Eli Zaretskii, 2005/04/14
- Re: `xterm-mouse-mode' has a bogus Custom group, Kim F. Storm, 2005/04/14
- Re: `xterm-mouse-mode' has a bogus Custom group, Luc Teirlinck, 2005/04/14
- Re: `xterm-mouse-mode' has a bogus Custom group, Miles Bader, 2005/04/15
- Re: `xterm-mouse-mode' has a bogus Custom group, Ismail Donmez, 2005/04/15
- Re: `xterm-mouse-mode' has a bogus Custom group, Eli Zaretskii, 2005/04/15
- Re: `xterm-mouse-mode' has a bogus Custom group, Luc Teirlinck, 2005/04/15
- Re: `xterm-mouse-mode' has a bogus Custom group, Kim F. Storm, 2005/04/15
- Re: `xterm-mouse-mode' has a bogus Custom group, Richard Stallman, 2005/04/14