From: Eli Zaretskii <eliz@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: TTY frames parameters
Date: Sat, 30 Aug 2008 15:20:53 +0300 [thread overview]
Message-ID: <uvdxi8ziy.fsf@gnu.org> (raw)
In-Reply-To: <uvdxq171y.fsf@gnu.org>
> Date: Sun, 24 Aug 2008 23:39:37 +0300
> From: Eli Zaretskii <eliz@gnu.org>
>
> 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.
next prev parent reply other threads:[~2008-08-30 12:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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=uvdxi8ziy.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 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).