From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: TTY frames parameters Date: Sun, 24 Aug 2008 23:39:37 +0300 Message-ID: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1219610398 19818 80.91.229.12 (24 Aug 2008 20:39:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Aug 2008 20:39:58 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 24 22:40:52 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KXMOD-00044y-Ed for ged-emacs-devel@m.gmane.org; Sun, 24 Aug 2008 22:40:45 +0200 Original-Received: from localhost ([127.0.0.1]:60839 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXMNF-0007rS-AV for ged-emacs-devel@m.gmane.org; Sun, 24 Aug 2008 16:39:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXMNA-0007r6-SL for emacs-devel@gnu.org; Sun, 24 Aug 2008 16:39:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXMNA-0007qu-7C for emacs-devel@gnu.org; Sun, 24 Aug 2008 16:39:40 -0400 Original-Received: from [199.232.76.173] (port=52707 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXMNA-0007qr-1h for emacs-devel@gnu.org; Sun, 24 Aug 2008 16:39:40 -0400 Original-Received: from mtaout6.012.net.il ([84.95.2.16]:44196) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KXMN9-0006iH-J4 for emacs-devel@gnu.org; Sun, 24 Aug 2008 16:39:39 -0400 Original-Received: from HOME-C4E4A596F7 ([84.229.211.50]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K64001M4HEWWP90@i-mtaout6.012.net.il> for emacs-devel@gnu.org; Sun, 24 Aug 2008 23:40:09 +0300 (IDT) X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:102917 Archived-At: 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.