unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* TTY frames parameters
@ 2008-08-24 20:39 Eli Zaretskii
  2008-08-24 21:54 ` Alan Mackenzie
  2008-08-30 12:20 ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: Eli Zaretskii @ 2008-08-24 20:39 UTC (permalink / raw)
  To: emacs-devel

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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-08-31  6:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-24 20:39 TTY frames parameters Eli Zaretskii
2008-08-24 21:54 ` Alan Mackenzie
2008-08-25  3:13   ` Eli Zaretskii
2008-08-30 12:20 ` Eli Zaretskii
2008-08-31  6:12   ` Stefan Monnier

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).