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: Re: Terminology in multi-tty primitives Date: Sun, 28 Dec 2008 21:18:19 +0200 Message-ID: References: <87zlihi05s.fsf@cyd.mit.edu> <878wq0j52s.fsf@cyd.mit.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1230491919 21945 80.91.229.12 (28 Dec 2008 19:18:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Dec 2008 19:18:39 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 28 20:19:46 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 1LH1Ao-00059R-Ry for ged-emacs-devel@m.gmane.org; Sun, 28 Dec 2008 20:19:39 +0100 Original-Received: from localhost ([127.0.0.1]:52868 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LH19b-00084U-B3 for ged-emacs-devel@m.gmane.org; Sun, 28 Dec 2008 14:18:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LH19W-00084P-RR for emacs-devel@gnu.org; Sun, 28 Dec 2008 14:18:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LH19W-00084C-7j for emacs-devel@gnu.org; Sun, 28 Dec 2008 14:18:18 -0500 Original-Received: from [199.232.76.173] (port=44492 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LH19W-000849-2e for emacs-devel@gnu.org; Sun, 28 Dec 2008 14:18:18 -0500 Original-Received: from mtaout4.012.net.il ([84.95.2.10]:51125) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LH19V-0001ph-N9 for emacs-devel@gnu.org; Sun, 28 Dec 2008 14:18:17 -0500 Original-Received: from conversion-daemon.i_mtaout4.012.net.il by i_mtaout4.012.net.il (HyperSendmail v2004.12) id <0KCL00H00PNXQ900@i_mtaout4.012.net.il> for emacs-devel@gnu.org; Sun, 28 Dec 2008 21:20:51 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.252.83]) by i_mtaout4.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KCL005WCPQQSJ10@i_mtaout4.012.net.il>; Sun, 28 Dec 2008 21:20:51 +0200 (IST) In-reply-to: <878wq0j52s.fsf@cyd.mit.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:107345 Archived-At: > From: Chong Yidong > Cc: emacs-devel@gnu.org > Date: Sat, 27 Dec 2008 23:28:59 -0500 > > > But there's no delete-tty or suspend-terminal. > > That seems consistent to me. The delete-terminal function does > something useful on both text and graphical terminals: for ttys, it > returns control of the tty to the shell; on X, it closes the X > connection. On the other hand, suspending only makes sense for > text-only terminals: it is used to temporarily return control to the > shell. There is no analogous operation on graphical displays. Thus, we > provide suspend-tty rather than suspend-terminal. I think you are wrong about suspend making no sense on GUI terminals: we have (in Emacs 23) suspend-frame that does work on GUI. Anyway, the examples I gave were just that: examples. Here's another example: we have make-frame-on-display, make-frame-on-tty, and make-terminal-frame; and then we have make-frame that can do all of the above. IMO, it's terribly confusing. But again, maybe I'm the only one who is confused. My confusion is exasperated by the fact that I cannot find any useful methodical way to describe all these functions with partially overlapping functionality in the ELisp manual. Suggestions welcome...