unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-devel@gnu.org
Subject: Re: `emacs -nw', `framep' returning `t', `display-graphic-p' returning `nil'
Date: Sun, 17 Dec 2017 19:02:31 +0100	[thread overview]
Message-ID: <87wp1l6xmw.fsf@Rainer.invalid> (raw)
In-Reply-To: a508c72a-05ba-4b83-a687-5e7b4134821f@default

Drew Adams writes:
> The problem exposed there is that, by default, library dired+.el
> binds key `M-S-o' (aka `M-O').  Apparently, when Emacs is used
> with some terminals, or in some terminal mode(s)?, that key
> sequence is sent by the arrow keys.  (On MS Windows, I don't
> see the problem using `emacs -nw', but I don't claim that's
> the case for all users.)

The windows console will use these Esc-O sequences for arrow keys when in
"application mode", otherwise it uses Esce-[ ("normal mode").  Note
that some of the function keys also use the Esc-O prefix, while on an
ANSI terminal that has multiple character sets it would switch to the
third shift layer IIRC.

> I was thinking that when `display-graphic-p' is non-nil the
> problem wouldn't exist.  But apparently at least one user has
> the problem even though `display-graphic-p' returns non-nil.

I would interpret that to mean the display is graphics capable, but the
selected frame still runs on a terminal emulation.  I think that might
happen if you connect from a terminal based emacsclient to an emacs
server that runs on a graphical display.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs




  parent reply	other threads:[~2017-12-17 18:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-17 17:10 `emacs -nw', `framep' returning `t', `display-graphic-p' returning `nil' Drew Adams
2017-12-17 17:34 ` Eli Zaretskii
2017-12-17 18:02 ` Achim Gratz [this message]
2017-12-17 20:10   ` Eli Zaretskii
2017-12-17 21:06     ` Achim Gratz
     [not found] <<a508c72a-05ba-4b83-a687-5e7b4134821f@default>
     [not found] ` <<836095qmvk.fsf@gnu.org>
2017-12-17 22:26   ` Drew Adams

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=87wp1l6xmw.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --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).