Questions tagged [frames]

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.

375 questions
92
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,194
  • 10
  • 42
  • 63
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,558
  • 3
  • 23
  • 46
10
votes
2 answers

How to set emacs frame size by pixels

I can resize the emacs frame to whatever size by mouse, is there a way that the frame size be set in init.el by pixels? Or anything similar in the window manager?
godblessfq
  • 1,217
  • 9
  • 22
7
votes
2 answers

How quick switch between frames?

windows 10, emacs 26.1 I open 4 frames. How I can quick switch between them? I need smt like this: C-1 -> switch to frame#1 C-2 -> switch to frame#2 and so on. I use ace-window but it not very compfortable because: 1. Create frame#1 2. split it…
a_subscriber
  • 4,062
  • 1
  • 18
  • 56
7
votes
3 answers

Show file names with the full path in the frame title

I want to set the frame title as follows: When the current buffer is visiting a file, show the full path name and the Emacs version. When the current buffer has no file, then show the buffer name and the Emacs version. In my init.el, I…
a_subscriber
  • 4,062
  • 1
  • 18
  • 56
7
votes
1 answer

How do I create a borderless frame?

That is, how can I (from Lisp) create a frame similar to the one that x_create_tip_frame (called by x-show-tip in the C sources) creates when x-gtk-use-system-tooltips is nil? My original guess was that the relevant part of the C code was this…
Clément
  • 3,985
  • 1
  • 23
  • 39
6
votes
4 answers

Switch to a neighboring frame?

How can I move focus from currently focused frame to a neighboring frame-- e.g. right next frame-- via a keyboard shortcut? I'd like to cycle through frames in "z" direction. If I had frames a to h like below on my desktop a b c d e f g …
stacko
  • 1,597
  • 1
  • 11
  • 19
5
votes
4 answers

Resize/move frame/window

Are there emacs commands which will let me resize/move the frames/windows? By frame/window I mean the GUI object that X/Windows/whateverAppleCallsIt to contain the interface to emacs. Sorry, emacs language conflicts with OS-GUI language.
5
votes
3 answers

something like delete-frame but that would also delete the last frame -- like alt+f4

I would like a more handy shortcut to basically the system's alt-f4 to close the current emacs window. delete-frame is not far from that, but it refuses to close the last frame: Attempt to delete the sole visible or iconified frame. How could I get…
Emmanuel Touzery
  • 961
  • 1
  • 8
  • 17
4
votes
2 answers

How to prevent window split in a single frame

I'm in emacs 24.something on a Windows platform. I have an agenda generated by org that I would like to keep on continuous display. I use multiple frames, and multiple windows per frame, for my other work. What I would like is a single frame with a…
4
votes
1 answer

Run command in new frame

I'm managing workspaces by creating new frames, but running C-x 5 C-h couldn't find anything like "run command in new frame", basically what I'd like to do is to run some REPL or shell in new frame. Is it possible?
4lex1v
  • 603
  • 3
  • 12
4
votes
2 answers

How to swap buffers between two frames?

There are at least a couple of packages dedicated to moving buffers around within a frame (buffer-move and transpose-frame are the ones I'm aware of), but I don't seem to be able to find anything to swap buffers between two frames. Does anyone have…
Turn
  • 153
  • 7
4
votes
1 answer

How can I switch to the most recent frame with other-frame?

The function other-frame cycles through the open frames in a fixed order. This can be pretty inconvenient for example when the compiling log of LaTeX comes to the front, I want to switch back to my .tex document and I have plenty of other frame…
Lenar Hoyt
  • 1,173
  • 7
  • 25
4
votes
1 answer

From File Manager, open file in specific instance of Emacs

Here's my intended use case: Emacs Instance 1: I have an emacs instance containing open buffers of the project I'm working on. All directly related. Emacs Instance 2: I'm in the Windows explorer, and I'm looking at a bunch of local files (for…
cheezy
  • 297
  • 2
  • 7
3
votes
2 answers

Offsetting successive frames

In my init.el I have the below setting for the initial frame position: (setq default-frame-alist '((top . 80) (left . 300) (width . 85) (height . 45))) When I open a file in a new frame, it overlaps the previous frame. How do I set the position…
Saurabh
  • 213
  • 1
  • 10
1
2 3 4 5