* Emacs Spanning Dual Monitors
@ 2008-05-08 16:57 Lex Fridman
2008-05-09 0:29 ` Kevin Rodgers
0 siblings, 1 reply; 6+ messages in thread
From: Lex Fridman @ 2008-05-08 16:57 UTC (permalink / raw)
To: Help-gnu-emacs
Hi,
I'm using Ubuntu (Gnome). Also I'm using the word "frame" to denote an
instance of an emacs program and "window" as sub-divisions of that frame. I
believe this is the standard language that people use for Emacs.
Is it possible to span one emacs frame across dual monitors such that if I
were to split the frame into two windows, the right border of the left
window will "snap" to the right edge of the left monitor. In other words, is
it possible to tile windows in emacs across two monitors, such that each of
the two windows fits exactly to its respective monitor.
I can do this manually by simply stretching the Emacs frame across the two
monitors and then adjusting the window separator to fall exactly between the
two monitors, however, this kind of "manual" solution is not what Emacs
customization is all about! Any ideas?
Thanks in advance.
Lex
--
View this message in context: http://www.nabble.com/Emacs-Spanning-Dual-Monitors-tp17129296p17129296.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Emacs Spanning Dual Monitors
2008-05-08 16:57 Emacs Spanning Dual Monitors Lex Fridman
@ 2008-05-09 0:29 ` Kevin Rodgers
2008-05-09 1:02 ` Lex Fridman
[not found] ` <mailman.11352.1210294967.18990.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 6+ messages in thread
From: Kevin Rodgers @ 2008-05-09 0:29 UTC (permalink / raw)
To: help-gnu-emacs
Lex Fridman wrote:
> Hi,
>
> I'm using Ubuntu (Gnome). Also I'm using the word "frame" to denote an
> instance of an emacs program and "window" as sub-divisions of that frame. I
> believe this is the standard language that people use for Emacs.
Actually, an Emacs frame corresponds to a display system window -- a
single emacs OS process can display multiple frames.
> Is it possible to span one emacs frame across dual monitors such that if I
> were to split the frame into two windows, the right border of the left
> window will "snap" to the right edge of the left monitor. In other words, is
> it possible to tile windows in emacs across two monitors, such that each of
> the two windows fits exactly to its respective monitor.
>
> I can do this manually by simply stretching the Emacs frame across the two
> monitors and then adjusting the window separator to fall exactly between the
> two monitors, however, this kind of "manual" solution is not what Emacs
> customization is all about! Any ideas?
Would 2 frames (instead of 2 windows in a single frame) also satisfy
your needs?
--
Kevin Rodgers
Denver, Colorado, USA
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Emacs Spanning Dual Monitors
2008-05-09 0:29 ` Kevin Rodgers
@ 2008-05-09 1:02 ` Lex Fridman
2008-05-10 19:36 ` Phil Sung
[not found] ` <mailman.11352.1210294967.18990.help-gnu-emacs@gnu.org>
1 sibling, 1 reply; 6+ messages in thread
From: Lex Fridman @ 2008-05-09 1:02 UTC (permalink / raw)
To: Help-gnu-emacs
Kevin Rodgers-2 wrote:
>
> Would 2 frames (instead of 2 windows in a single frame) also satisfy
> your needs?
>
No because then if you split each frame in two (thus having four total
frames open), you would switch between each pair of subwindows with "C-x o"
and between the two frames with alt-Tab. I would like to be able to use "C-x
o" across all four.
--
View this message in context: http://www.nabble.com/Emacs-Spanning-Dual-Monitors-tp17129296p17139609.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Emacs Spanning Dual Monitors
[not found] ` <mailman.11352.1210294967.18990.help-gnu-emacs@gnu.org>
@ 2008-05-09 7:25 ` Niels Giesen
2008-05-10 19:57 ` Lex Fridman
0 siblings, 1 reply; 6+ messages in thread
From: Niels Giesen @ 2008-05-09 7:25 UTC (permalink / raw)
To: help-gnu-emacs
Lex Fridman <lexfridman@gmail.com> writes:
> Kevin Rodgers-2 wrote:
>>
>> Would 2 frames (instead of 2 windows in a single frame) also satisfy
>> your needs?
>>
>
> No because then if you split each frame in two (thus having four total
> frames open), you would switch between each pair of subwindows with "C-x o"
> and between the two frames with alt-Tab. I would like to be able to use "C-x
> o" across all four.
Use C-x 5 o (M-x other-frame) to select another frame. This shortcircuits any
window managers ALT-TAB rings.
On the subject of using a single frame, you can use a prefix argument to specify
the width of the left buffer in columns. I think you have to find out your width
yourself. So if your left screen has room for 138 columns, and your right one
178, do C-u 138 C-x 3 from your initial single-window frame. (Just type M-:
(window-width) RET to find out the proper width when you have adjusted
manually).
If there is a way to find out columns able to be fit into
a monitor screen from within emacs, you are able to automise this further.
Also, note the functions `window-configuration-to-register' and
`frame-configuration-to-register'.
> --
> View this message in context: http://www.nabble.com/Emacs-Spanning-Dual-Monitors-tp17129296p17139609.html
> Sent from the Emacs - Help mailing list archive at Nabble.com.
>
>
>
Regards,
Niels
--
http://niels.kicks-ass.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Emacs Spanning Dual Monitors
2008-05-09 1:02 ` Lex Fridman
@ 2008-05-10 19:36 ` Phil Sung
0 siblings, 0 replies; 6+ messages in thread
From: Phil Sung @ 2008-05-10 19:36 UTC (permalink / raw)
To: Lex Fridman; +Cc: Help-gnu-emacs
On Thu, May 8, 2008 at 9:02 PM, Lex Fridman <lexfridman@gmail.com> wrote:
> No because then if you split each frame in two (thus having four total
> frames open), you would switch between each pair of subwindows with "C-x o"
> and between the two frames with alt-Tab. I would like to be able to use "C-x
> o" across all four.
Does using two frames and binding C-x o to 'next-multiframe-window do
what you want?
--Phil
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Emacs Spanning Dual Monitors
2008-05-09 7:25 ` Niels Giesen
@ 2008-05-10 19:57 ` Lex Fridman
0 siblings, 0 replies; 6+ messages in thread
From: Lex Fridman @ 2008-05-10 19:57 UTC (permalink / raw)
To: Help-gnu-emacs
Niels Giesen wrote:
>
> Use C-x 5 o (M-x other-frame) to select another frame. This shortcircuits
> any window managers ALT-TAB rings.
>
Excellent idea. Although I knew of this solution, it didn't occur to me that
this is really what I was looking for: a way to switch between frames
outside the Alt-Tab interface which goes through all windows.
Niels Giesen wrote:
>
> On the subject of using a single frame, you can use a prefix argument to
> specify the width of the left buffer in columns. I think you have to find
> out your width yourself. So if your left screen has room for 138 columns,
> and your right one 178, do C-u 138 C-x 3 from your initial single-window
> frame. (Just type M-: (window-width) RET to find out the proper width when
> you have adjusted
> manually).
>
Very precise description. A great alternative solution.
--
View this message in context: http://www.nabble.com/Emacs-Spanning-Dual-Monitors-tp17129296p17166969.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-05-10 19:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-08 16:57 Emacs Spanning Dual Monitors Lex Fridman
2008-05-09 0:29 ` Kevin Rodgers
2008-05-09 1:02 ` Lex Fridman
2008-05-10 19:36 ` Phil Sung
[not found] ` <mailman.11352.1210294967.18990.help-gnu-emacs@gnu.org>
2008-05-09 7:25 ` Niels Giesen
2008-05-10 19:57 ` Lex Fridman
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.