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: Does display-buffer display the buffer or not? Date: Fri, 24 Dec 2010 13:44:15 +0200 Message-ID: <83hbe3e6pc.fsf@gnu.org> References: <87r5d7bn8s.fsf@member.fsf.org> <4D14688E.4090606@gmx.at> <8739pnbhce.fsf@member.fsf.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1293192335 29749 80.91.229.12 (24 Dec 2010 12:05:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Dec 2010 12:05:35 +0000 (UTC) Cc: rudalics@gmx.at, lennart.borgman@gmail.com, emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 24 13:05:28 2010 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.69) (envelope-from ) id 1PW6Ok-0003SO-Ph for ged-emacs-devel@m.gmane.org; Fri, 24 Dec 2010 13:05:26 +0100 Original-Received: from localhost ([127.0.0.1]:41804 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PW6De-0001gr-5z for ged-emacs-devel@m.gmane.org; Fri, 24 Dec 2010 06:53:58 -0500 Original-Received: from [140.186.70.92] (port=43259 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PW66F-0007rW-M4 for emacs-devel@gnu.org; Fri, 24 Dec 2010 06:46:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PW66B-0004eS-4A for emacs-devel@gnu.org; Fri, 24 Dec 2010 06:46:18 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:46179) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PW66A-0004db-Te for emacs-devel@gnu.org; Fri, 24 Dec 2010 06:46:15 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LDX00500KJELU00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Fri, 24 Dec 2010 13:46:13 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.167.122]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LDX005YGKOZDW40@a-mtaout21.012.net.il>; Fri, 24 Dec 2010 13:46:13 +0200 (IST) In-reply-to: <8739pnbhce.fsf@member.fsf.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:133944 Archived-At: > From: Tassilo Horn > Date: Fri, 24 Dec 2010 11:22:41 +0100 > Cc: Lennart Borgman , > Emacs-Devel devel > > > I never investigated whether this occurs in practice and what happens, > > for example, on non-graphic displays. > > In ttys it also creates a new frame with that buffer. You cannot see > that there is a new frame You should be able to see that, by looking at the far left edge of the mode line: there, to the left of the buffer name, you will see the frame name, which is normally F1, F2, etc. When a new frame is displayed, you get Fn with n one more than the last one you saw. Usually, you will see F2 where before that you saw F1. > Hm, is it sensible to have multiple frames on one tty? You can only see > one at a time anyway... You don't use Emacs on a TTY too much, do you? ;-) Of course, it's sensible. Emacs still maintains separate faces, separate buffer lists, etc. for each frame, even though only one is visible at a time. So you could use each frame for a separate related groups of tasks, e.g. develop code in one, read email in another, etc. We have set-frame-name and select-frame-by-name to make this kind of workflow easier, btw.