[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TTY frames parameters
From: |
Alan Mackenzie |
Subject: |
Re: TTY frames parameters |
Date: |
Sun, 24 Aug 2008 21:54:35 +0000 |
User-agent: |
Mutt/1.5.9i |
Hi, Eli,
On Sun, Aug 24, 2008 at 11:39:37PM +0300, Eli Zaretskii wrote:
> 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?
What does the frame parameter tty mean? I couldn't find it described in
the Elisp manual. Surely _that_ is 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"
On Emacs 22, there doesn't seem to be a frame-parameter called tty. On
Emacs 23, (running as emacs -Q on a Linux tty), I get the same symptoms
as you do.
> 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.
--
Alan Mackenzie (Nuremberg, Germany).