are the graphical system-level “windows” of Emacs. It initially contains one window and normally also contains a menu bar, tool bar, and echo area.
Questions tagged [frames]
370 questions
93
votes
6 answers
How to maximize my Emacs frame on start-up?
Is there a way to maximize my window on start-up?
Currently, I hit Control++Up on my keyboard but it is very bothersome to do that every time.
I am using Emacs 24.4 on Ubuntu 12.04.

programking
- 7,064
- 9
- 41
- 62
44
votes
2 answers
What's the difference between a buffer, a file, a window, and a frame?
When posing questions on this site, people sometimes talk about "windows" when they mean "frames," and "buffers" or "files" when they mean "windows." So:
Q: What is the difference between a buffer, a file, a window, and a frame?
(I'm posing this…

Dan
- 32,584
- 6
- 98
- 168
30
votes
6 answers
Switching between window layouts
When I configure a custom layout and then just need to temporary look into one file fullscreen and once I want that layout back - I need manually to reflow it.
I would like a plugin/elisp code to save my layouts and to be able to switch between…

lukas.pukenis
- 677
- 6
- 11
28
votes
2 answers
How to change the frame title from `emacs@host` to visited file name
I am using Emacs 24.5.1 on OpenSUSE Tumbleweed, with Gnome 3.16, and the title of the GTK window with Emacs in it is always emacs@hostname. How can I change it to the name of the current file I'm editing?

Sean
- 383
- 3
- 5
27
votes
3 answers
How can I print an Emacs frame?
The function ps-print-buffer-with-faces prints an Emacs buffer. Is
there a way to print a frame with more than one buffer in it? I would
like to print an Emacs calc frame both with the RPN stack and the
trail buffer.

The Dude
- 463
- 3
- 6
21
votes
2 answers
Display list of words along bottom of frame?
I'd like to display 3 lists of words on separate lines horizontally along the bottom (although top would work too) of every emacs frame I have open. I've thought of 6 ways to do this, and they all have issues:
My first thought was to add a line to…

Joseph Garvin
- 2,061
- 8
- 21
21
votes
4 answers
Different themes for terminal and graphical frames when using Emacs daemon
I'm trying to achieve the following behavior in Emacs24:
I like to use a different theme (solarized-dark vs. solarized-light) depending on whether I connect to the running
server with a terminal frame
% emacsclient -t
or with a gtk frame
%…

andreas-h
- 1,559
- 13
- 22
18
votes
2 answers
Can you activate/(bring to front) emacs using native elisp? (e.g when working in another program)
I want to force emacs to be activated, be bought to frond and 'steal' focus in certain circumstances. E.g when I finish a org-Pomodoro or during an important appointment reminder.
Now, I'm looking for a 'native' way to do so, just to reduce external…

Leo Ufimtsev
- 4,488
- 3
- 22
- 45
17
votes
2 answers
Moving the mode line and minibuffer to the top
Is there any way I can move the mode line and the minibuffer from the bottom to the top of the screen?
The minibuffer is covered by the previous question How to display the content of minibuffer in the middle of the emacs frame?, so this question is…

Mongus Pong
- 537
- 4
- 14
17
votes
2 answers
How to toggle fullscreen in Emacs GUI mode (`Full Screen` option is greyed out in Kubuntu)?
This is such a basic question but I am really at a loss (a google search only revealed solutions for OS X).
Until recently, I primarily used terminal mode (which I can make full-screen using my desktop environment's full-screen shortcut for the…

iceman
- 1,078
- 1
- 9
- 19
17
votes
3 answers
Quick way to close all but one window, and then revert to previous window setup?
I want to close all my windows but the current one and maximize the frame so I can quickly see everything in the buffer in that one window, and then revert to my previous window setup. How would I go about doing this?

Andrew
- 541
- 6
- 17
17
votes
1 answer
Never create frame in ediff
In general, I dislike frames. Right now, I'm using
(setq ediff-window-setup-function #'ediff-setup-windows-plain)
To ensure that ediff does not create a frame when it starts.
However, certain commands, like ediff-show-registry still open up new…

PythonNut
- 10,243
- 2
- 29
- 75
16
votes
4 answers
Run a Function Only Once, Though a Hook Many Times
The context
I'm using the after-make-frame-functions hook to load properly the themes in an emacs client/server configuration. Specifically this is the code snippet that I use to make that (based in this SO answer):
(if (daemonp)
(add-hook…

joe di castro
- 370
- 3
- 12
16
votes
1 answer
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 work) and a 'test-result' frame (in which I see…

Renan Ranelli
- 1,379
- 10
- 17
14
votes
2 answers
"Pop" a window into a frame
Often, I my windows get automatically split until I arbitrarily decide that the current frame does not have enough real-estate for them all. When this occurs, I manually delete a window, create a frame, and switch to that deleted window. How can I…

PythonNut
- 10,243
- 2
- 29
- 75