From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: Emacs (in console) on 2 screens. Date: Sat, 12 May 2007 01:08:53 +0200 Organization: Informatimago Message-ID: <87wszfc60q.fsf@voyager.informatimago.com> References: <1178889336.828294.160920@l77g2000hsb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1178926368 32112 80.91.229.12 (11 May 2007 23:32:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 May 2007 23:32:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 12 01:32:47 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HmebM-0003AK-UO for geh-help-gnu-emacs@m.gmane.org; Sat, 12 May 2007 01:32:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hmeip-0001Yw-RK for geh-help-gnu-emacs@m.gmane.org; Fri, 11 May 2007 19:40:27 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!newsserver.news.garr.it!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-X-Trace: individual.net 7jJu13+kIbwdvAj/oF3aHArhQvJCuhN5EVum4F1gn93tLzxuCM Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux) Cancel-Lock: sha1:Ar9qFp9jasDqGSb3GRHr8M4RTN8= Original-Xref: shelby.stanford.edu gnu.emacs.help:148317 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:43909 Archived-At: Martin writes: > Hi, > > I am using emacs (not XEmacs!) in a console. > Since I have 2 screens (Xinerama, Gnome, Debian) I want to use emacs > on both screens. > Up til now I always use two independent consoles with two indendent > emacs sessions. > But since they are independent I always have problems when I open a > file in both emacs sessions: > Emacs notices that somebody else is changing the file and asks me if I > want to steal the file. > Is there an easy way to get the console stretch over the 2 screens or > a way to tell the emacs-sessions that they should react as if they > would be seperated views, not seperated applications? If you use X (eg with Gnome), then just use make-frame to make a new X window and move it over to the other screen. If each monitor is managed by different X servers, then you can use make-frame-on-display (works well when the different X servers are on different computers too! ;-)) Technically, a X server running on the video-card of a PC is running on the "console" of that computer, but we usually don't call it "console", reserving the term for the character terminal emulation running in the other virtual consoles. So if you're running emacs on the linux console terminal, in character mode, then you will need to use the multi-tty branch of emacs, which allows to hook the same emacs instance to two terminals like make-frame-on-display does with two X servers. -- __Pascal Bourguignon__ http://www.informatimago.com/ This is a signature virus. Add me to your signature and help me to live.