all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: emacs-devel@gnu.org
Subject: TTY frames parameters
Date: Sun, 24 Aug 2008 23:39:37 +0300	[thread overview]
Message-ID: <uvdxq171y.fsf@gnu.org> (raw)

There's a strange subtle difference between the first tty frame
created on a default terminal and all the other frames: the first one
has its `tty' association with nil cdr, while the rest have
"/dev/tty".  Is that a bug?

To reproduce:

  emacs -Q -nw
  M-: (frame-parameter (selected-frame) 'tty) RET => nil
  C-x 5 b foo
  M-: (frame-parameter (selected-frame) 'tty) RET => "/dev/tty"

You will also see that in the initial frame, (frame-parameters)
returns an alist that contains `(tty)', not `(tty . "/dev/tty")' as in
the other frames.





             reply	other threads:[~2008-08-24 20:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-24 20:39 Eli Zaretskii [this message]
2008-08-24 21:54 ` TTY frames parameters Alan Mackenzie
2008-08-25  3:13   ` Eli Zaretskii
2008-08-30 12:20 ` Eli Zaretskii
2008-08-31  6:12   ` Stefan Monnier

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=uvdxq171y.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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 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.