help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird key bindings...


From: Emanuel Berg
Subject: Re: weird key bindings...
Date: Mon, 29 May 2017 21:50:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Yuri Khan <address@hidden> writes:

> Interesting. It’s not just you and it’s not your Mac.
> I see this on GTK+3/GNU/Linux [...]
>
> $ emacs -Q -nw

There is a variable `window-system'. I suppose it
reports nil following -nw. Without it, well, here is
what the help says:

    Documentation:
    Name of window system through which the selected frame is displayed.
    The value is a symbol:
     nil for a termcap frame (a character-only terminal),
     'x' for an Emacs frame that is really an X window,
     'w32' for an Emacs frame that is a window on MS-Windows display,
     'ns' for an Emacs frame on a GNUstep or Macintosh Cocoa display,
     'pc' for a direct-write MS-DOS frame.

So perhaps the mode checks that variable and sets up
the keys differently if there is a window system or
not. Note the reference to "Macintosh Cocoa".

So browse the code for that, or `display-graphic-p' as
it apparently is the modern version.

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

[Prev in Thread] Current Thread [Next in Thread]