emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TTY frames parameters


From: Eli Zaretskii
Subject: Re: TTY frames parameters
Date: Sat, 30 Aug 2008 15:20:53 +0300

> Date: Sun, 24 Aug 2008 23:39:37 +0300
> From: Eli Zaretskii <address@hidden>
> 
> 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.

Since no one responded, I made a change in dispnew.c to have a non-nil
cdr in `tty's association on the initial frame as well.  Please holler
if I did something wrong.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]