unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Pascal Bourguignon <pjb@informatimago.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs (in console) on 2 screens.
Date: Sat, 12 May 2007 01:08:53 +0200	[thread overview]
Message-ID: <87wszfc60q.fsf@voyager.informatimago.com> (raw)
In-Reply-To: 1178889336.828294.160920@l77g2000hsb.googlegroups.com

Martin <m.gercke@gmail.com> 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.

  parent reply	other threads:[~2007-05-11 23:08 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-11 13:15 Emacs (in console) on 2 screens Martin
2007-05-11 14:14 ` weber
2007-05-11 14:29   ` Martin
2007-05-11 16:31     ` Chris McMahan
2007-05-11 19:11       ` Maciej Katafiasz
2007-05-12  9:06         ` George Katsitadze
2007-05-12 10:47           ` Maciej Katafiasz
2007-05-12 11:43             ` George Katsitadze
     [not found]       ` <mailman.531.1178911370.32220.help-gnu-emacs@gnu.org>
2007-05-14  9:50         ` Martin
2007-05-17  8:54           ` Tim X
2007-05-11 21:42     ` David Kastrup
2007-05-12 10:18     ` Xavier Maillard
     [not found]     ` <mailman.557.1178969934.32220.help-gnu-emacs@gnu.org>
2007-05-12 12:29       ` David Kastrup
2007-05-12 12:36         ` Maciej Katafiasz
     [not found]         ` <mailman.561.1178973861.32220.help-gnu-emacs@gnu.org>
2007-05-12 12:43           ` David Kastrup
2007-05-14  9:49           ` Martin
2007-05-11 22:04 ` Peter Dyballa
2007-05-11 23:08 ` Pascal Bourguignon [this message]
2007-05-12  9:30 ` Martin Barth
2007-05-12 10:11 ` Sven Bretfeld

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=87wszfc60q.fsf@voyager.informatimago.com \
    --to=pjb@informatimago.com \
    --cc=help-gnu-emacs@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.
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).