unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: TTY frames parameters
Date: Sun, 24 Aug 2008 21:54:35 +0000	[thread overview]
Message-ID: <20080824215435.GA5236@muc.de> (raw)
In-Reply-To: <uvdxq171y.fsf@gnu.org>

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




  reply	other threads:[~2008-08-24 21:54 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 [this message]
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

  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=20080824215435.GA5236@muc.de \
    --to=acm@muc.de \
    --cc=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).