all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: weird key bindings...
Date: Mon, 29 May 2017 21:50:24 +0200	[thread overview]
Message-ID: <8760gjsarj.fsf@debian.uxu> (raw)
In-Reply-To: CAP_d_8Uf+HvhDVckKi5QFAyQGE_e9C5ew4t3G=j-1KFvywo9=g@mail.gmail.com

Yuri Khan <yuri.v.khan@gmail.com> 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




      parent reply	other threads:[~2017-05-29 19:50 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-28 14:54 weird key bindings Jean-Christophe Helary
2017-05-29  3:49 ` Jean-Christophe Helary
2017-05-29  5:54   ` Emanuel Berg
2017-05-29  6:24     ` Jean-Christophe Helary
2017-05-29  7:20       ` Emanuel Berg
     [not found]         ` <87inkkruwb.fsf-trKG1I58N/ZemkTcIkSAvQ@public.gmane.org>
2017-05-29  7:38           ` Jean-Christophe Helary
2017-05-29 15:34             ` Emanuel Berg
2017-05-29 14:37   ` Yuri Khan
2017-05-29 14:49     ` Jean-Christophe Helary
2017-05-29 15:21       ` Jean-Christophe Helary
2017-05-29 15:32         ` Jean-Christophe Helary
2017-05-29 15:48         ` Joost Kremers
2017-05-29 15:38       ` Yuri Khan
2017-05-29 16:02         ` Joost Kremers
2017-05-29 17:52         ` Eli Zaretskii
2017-05-29 19:31           ` Yuri Khan
2017-05-29 23:11             ` Jean-Christophe Helary
2017-05-29 23:21               ` Emanuel Berg
2017-05-29 23:29                 ` Jean-Christophe Helary
2017-05-30  1:09                   ` Emanuel Berg
2017-05-30  2:03                   ` Robert Thorpe
2017-05-30  2:17                     ` Jean-Christophe Helary
2017-05-30  2:39                       ` Emanuel Berg
2017-05-30  3:08                         ` Jean-Christophe Helary
2017-05-30  6:01               ` Eli Zaretskii
2017-05-30  9:32               ` Yuri Khan
2017-05-30 12:02                 ` Jean-Christophe Helary
2017-05-30 12:43                   ` Emanuel Berg
2017-05-30 12:54                     ` Jean-Christophe Helary
2017-05-30 14:54                       ` Emanuel Berg
2017-05-29 19:50         ` Emanuel Berg [this message]

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=8760gjsarj.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@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 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.