Questions tagged [window]

In Emacs, a window is one part of a frame, displaying one buffer. For questions about operating system windows, see the tag 'frame.

Filter by
Sorted by
Tagged with
4
votes
1answer
2k views

Customizing the layout of gdb-many-windows

I really like all of the information that is available to me when I run GUD/GDB with gdb-many-windows, but I would like to be able to move the windows around some. Specifically I would like to use ...
2
votes
2answers
132 views

How to modify bindings to match ECB window numbers?

ECB windows display their number: W-0, W-1, etc. Is there a way to define bindings so that I can get to these windows using bindings such as C-c . w 0, C-c . w 1, rather than using C-c . g d to go ...
11
votes
3answers
532 views

Defining the window pointed by “other-window”

In emacs, more often than i like, I end up with 4 windows or more. I'll use that example: +--------|-----------+ | | | | 1 | 2 | | | | +--------+-----...
3
votes
3answers
205 views

Inserting org-style links from external program

I have written this function to insert an org-style link to a file: (defun jay/insert-file-link (fname) "Insert link to file (called by Midnight Commander)." (interactive "s") (insert "[[") (...
19
votes
4answers
8k views

How to setup default windows at startup?

Every time I open up Emacs I tend to set up 3 windows by doing C-x 3 (split-window-right) and then C-x2 (split-window-below). After that I have to switch to each window to open the files I want to ...
3
votes
5answers
634 views

How to get a major mode to open full screen

I'd like magit to default to a large buffer instead of one that is half the size of the available space. Even better would be a way to wrap the call to a major mode to make this happen when opening ...
13
votes
1answer
1k views

How to control in which window a buffer is displayed?

Q: how can I control which window org-deadline uses to display the calendar? org-deadline temporarily pops up the calendar buffer in a window when setting a deadline, and then closes it again after ...
4
votes
1answer
585 views

Make helm window the only window

Sometimes when I am using helm, I want to make the helm completion buffer as big as possible. I know that helm-enlarge-window will make the window grow by 1 line, but this is awkward and still doesn't ...
5
votes
3answers
526 views

Cycle between windows in all frames

I currently use the following custom command to navigate between windows and frames: (defun nispio/other-window (&optional arg) "With prefix argument, select the next frame. Otherwise, select ...
8
votes
2answers
398 views

Split Window at outermost border

I'm looking for a way to add a new full-height window split to an existing (splitted) window configuration. Because I don't know how to explain it properly I'll just post some ASCII graphics showing ...
15
votes
5answers
9k views

How to Change size of split screen emacs windows?

If I have Emacs split horizontally and on top I'm editing elisp code and on the bottom I am in the shell. By default, Emacs makes the two windows equal in size, but I'd like the shell buffer smaller. ...
4
votes
3answers
117 views

Inconsistent point when inserting into a buffer that is visible in another frame

While working on a sort of "background processing" function, I noticed that my logs would print backwards if the buffer was in another frame. I cannot seem to figure out why it is happening. I am not ...
3
votes
2answers
269 views

Preserve window arrangement for secondary windows

I often keep a "short" secondary window below my main window with an arrangement like so: +---------+ | | | | | top | | | | | | | +---------+ | | | ...
16
votes
1answer
1k views

How can I block a frame from being split?

Currently I work with ruby and rspec. I really like the idea of having a separate frame in another monitor showing me the compilation buffer. My current setup uses a 'code' frame (in which I do actual ...
16
votes
1answer
2k views

Switch window split orientation, fastest way

Say you have two buffers open like so: ------------------------------------ | | buffer 1 | buffer 2 | | | ------...
23
votes
1answer
6k views

Synchronized scrolling in two windows

Is there a way to reflect the navigation commands in the current window in another visible window. I have two related LaTeX files displayed in two windows and would like to scroll through them ...
21
votes
4answers
3k views

Hide *compilation* window

It is annoying to see the compilation window appear when it is successful. How to remove that automatically? I want to see it though if it is not successful.

1
4 5 6 7
8