Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
13 views

Disable mouse drag to select

I often run into an issue where I will click in a Emacs frame to make it active and accidentally slide my cursor so that it changes from a click to a drag. This means that some text is highlighted ...
1
vote
0answers
20 views

Docking a matplotlib window-manager window to an Emacs window

Short version: I want a way to "dock" a matplotlib window-manager window into an Emacs window (similar to the image below), while still keeping the functionality (e.g. zooming) offered by matplotlib. ...
3
votes
0answers
68 views

How to make emacs work well with tiling window managers?

Under some conditions Emacs will try to resize a frame if its not fullscreen or maximized. (specifically default-text-scale, but I don't think its the only one). This sends window-manager window (...
1
vote
0answers
17 views

Possible to save winner history winner-ring-alist in savehist or desktop-save to save across sessions

I added in the following command to my .emacs but it doesn't seem to work: (add-to-list 'savehist-additional-variables 'winner-ring-alist) Is there a way to get the winner-undo history to save ...
0
votes
2answers
59 views

Why doesn't set-background-color work in my init file?

I have an init file for Emacs located at /home/username/.emacs.d/init.el and it has the command (set-background-color "honeydew"). However, when I open Emacs the color has obviously not changed from ...
1
vote
1answer
20 views

full-frame helm?

Is it possible to run something like helm-recentf or helm-mini in a way that the helm window occupies the entire frame when it's running, and then disappears afterwards (like the helm windows normally ...
3
votes
2answers
87 views

Set a title to an Emacs instance running in a terminal

On Ubuntu, I usually open more than one Emacs instances in the same time (for frontend and back development). These instances always by default take the name "Terminal" as a title as shown on this ...
2
votes
1answer
35 views

Distinct frame size for internal and external monitors

It's possible to add a line to one's .emacs (add-to-list 'default-frame-alist '(fullscreen . maximized)) that will make make-frame-command (C-x 5 2) spawn maximized windows. It's also possible to ...
0
votes
0answers
53 views

org-capture frame with no splits

I want to be able to launch a new emacsclient and issue org-capture in it. I have created this simple function: (defun make-orgcapture-frame () "Create a new frame and run org-capture." (...
0
votes
1answer
188 views

Gui won't start, throws an “Args out of range: 0, 100”

The only response I got is this: Weird behavior: GUI won't start, but terminal emacs will But he doesn't clarify on the solution. I have the same problem, my .Xdefaults and/or .Xresources causes ...
4
votes
2answers
157 views

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 ...
2
votes
0answers
19 views

How to get desktop-read to ignore/modify frame size?

I'm using (desktop-save-mode 1) to save a session which I then reload, but logging in remotely from a different machine with a different resolution display. Something stored in the desktop winds up ...
1
vote
2answers
69 views

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 ...
1
vote
1answer
40 views

Modifying internal-border-width messes up UI

When I am modifying the internal-border-width of the selected frame the "resizing" happens but for example the minibuffer and the modeline are not visible anymore. They are there but offscreen: As ...
1
vote
1answer
27 views

How to save and restore frame zoom settings

Due to DPI differences, every time I switch between working on my laptop screen vs external display, I need to adjust frame zoom levels (SPC z f in spacemacs). I would love to be able to persist the ...
1
vote
1answer
35 views

How to make the background color of `x-show-tip` defined in `pos-tip.el` transparent?

I found the flycheck-pos-tip package uses a function defined in pos-tip-show which uses a built-in function: x-show-tip. I want to change the background color of x-show-tip to be transparent. There ...
1
vote
0answers
58 views

Switch to last window

I am trying to use the code from this answer: Is there a generic toggle-previous-window function? (defun switch-to-last-window () (interactive) (let ((win (get-mru-window t t t))) (unless win ...
2
votes
2answers
99 views

make frames and open specific buffers in succession

im trying to launch emacs with specific named frames and want each frame to have a specific buffer opened in a specific frame (ie have the frame named FM opned a dired buffer at `~/~) this is my ...
1
vote
1answer
37 views

In-sync editing the same file in two frames

For a lecture, I'll have a setup with two frames (one on my notebooks's screen, the other on the projector) showing the same file. When editing the file in the "master" frame I need the "slave" frame ...
6
votes
2answers
73 views

Simultaenously viewing two different Info areas

I'd like to have two emacs frames simultaneously open, with the first frame showing the Info(elisp tutorial) and the second frame showing the Info(elisp manual). After setting the first frame and ...
2
votes
2answers
33 views

Mirror a frame to a projector screen

When using an external monitor/projector with Emacs, I use the Extend option (rather than Duplicate). Then I duplicate my work frame with C-x 5 2, that is make-frame-command, and I move the duplicate ...
2
votes
1answer
62 views

extra frame in (visible-frame-list) when started in daemon mode, is causing problems

When I start emacs (emacs), and then eval (visible-frame-list), I get a list with one frame, the one that is visable. However if I start emacs as a daemon (emacs --daemon), and then eval (visible-...
3
votes
1answer
47 views

Have compilation errors / grep match reuse current frame/window without ever splitting it?

I have searched in a number of places (1, 2, 3, 4) even looked at the e-lisp source files and could not figure out how to do, so I ask. Context I have bound next-error to a key. I'm in some source ...
0
votes
0answers
37 views

ace-window: How can I switch to a frame I can't see?

Windows 10, Emacs 25.1 When I want to switch between windows I user M-x ace-window and then select number. Nice. But I also want to switch to a frame that isn't visible. I can guess what number to ...
4
votes
2answers
113 views

Minimize emacs on Windows with Meta-Space, n?

I'd like to minimize emacs on Windows, when I press the Alt-Space, then n keys, just like with other Windows programs (because Alt-Space opens the program's menu that includes the 'Mi_n_imize' option, ...
1
vote
0answers
42 views

Show the current command line the frame title in a GDB session

I sometimes run multiple instances of Emacs, each running a GDB session. These GDB sessions are often running different versions of the same program, or the same program with different arguments, so I'...
0
votes
0answers
58 views

Emacs client doesn't connect to running server on Windows

I have fresh new installation of emacs altogether with spacemacs. I set env vars for alternate editor and server file. My server file after starting emacs looks like: 127.0.0.1:64518 11948 'M.P$#NT[...
-1
votes
0answers
72 views

full screen on windows 10

This gnu emacs 25.3.1 is installed on windows 10 pro laptop. I like it to open in full screen. Current windows Display settings: Change Size of Text, Apps and Other items: 125% Recommended ...
0
votes
1answer
68 views

Emacs Dired `C-x C-j` opens a new frame instead of a new window

I am using Aquamacs 3.3 GNU Emacs 25.1.1 and Dired+. Sometimes the key sequence C-x C-j opens the Dired buffer in a new frame instead of a new tab in the running frame. I want the behaviour that the ...
1
vote
1answer
141 views

How to make frame-title-format persistent?

When I set the title for a frame to current buffers filename via (setq-default frame-title-format '("%b")) the title often falls back to "emacs@" system-name, when the frame is inactive. I'd expect ...
0
votes
0answers
29 views

Disable pixelwise frame resizing on Windows

It seems like emacs on Windows (Windows 10) ignores the value of frame-resize-pixelwise. I notice that even when the value is off (set to nil), I can resize the frame by 1 pixel increments. Is this a ...
-1
votes
0answers
25 views

How to prevent ediff from resizing frame out of visible region of the screen?

How can I prevent ediff from resizing the Emacs frame, or how can I limit the size of the frame when I start an ediff session? I have an IMac connected to a wide screen monitor. When I start an ...
0
votes
1answer
128 views

What causes Emacs to maximize on startup?

I have just move to MS Windows 10, and installed emacs. Emacs starts with the frame maximized. I don't want that. I tried the -geometry option. First an initial frame is evident. Then a smaller ...
4
votes
5answers
575 views

Open the same file in two frames

With long files, I like to have two buffers that display the same file but at different positions. However, since I have two physical displays, I'd like to have two Emacs buffer, each on its own ...
1
vote
1answer
104 views

How do I focus Emacs from elisp in macOS?

I want to focus emacs by running some elisp. I have tried using do-applescript and the following snippet to focus Emacs: if application "Emacs" is running then tell application "System Events" to ...
2
votes
0answers
42 views

Launching GUI emacslient destroys terminal frame resizing capabilities

Whenever I launch a GUI session as $ emacsclient -c all the emacsclient sessions I've created with $ emacsclient -nw -c lose several settings. The problem only occurs right after launching a GUI ...
4
votes
1answer
75 views

How can I prevent Magit-status command from grabbing the frame focus?

when executing magit-status and quickly focus out emacs, after the magit buffer pops up, emacs grabs the focus back. This is quite inconvenient. Is there a way to prevent that focus changing? The ...
2
votes
0answers
69 views

Setting primary frame across displays on MacOS

I am working with 2 emacs frames, one on my laptop monitor (1) and the other on a larger external display (2). Whenever I switch between applications, e.g. between shell and Emacs, the Emacs cursor ...
2
votes
1answer
287 views

Prevent Helm from opening in a new frame

I recently updated Helm from MELPA to version helm-20180305.1056 and helm-core-20180306.2241. Now sometimes when I use Helm it opens in a new frame. I think this happens when I have 2x1 or 2x2 window ...
0
votes
1answer
67 views

How to get rid of strange tab in “emacs-mac” frame

On macOS High Sierra I have install the "emacs-mac" Emacs port via homebrew. The Emacs version now is 25.3.3. When starting up Emacs I get this strange tab in my Emacs frame: I have set the ...
3
votes
1answer
65 views

Frame specific narrowing

I'm using make-frame-on-display for collaborative editing with a colleague. Everything seems to work OK, but to avoid confusion we tend not to edit the exact part of the same file at the same time. ...
1
vote
1answer
450 views

Pop up new frame (with only one window and frame) to show specific buffers

I'm trying to add functionality to my spacemacs config. I want to show allAlchemist buffers in another frame. For example Alchemist Test Report or Alchemist Mix. So when I use M-RET t b, spacemacs ...
3
votes
2answers
455 views

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 ...
3
votes
1answer
97 views

Jump between two frames, code improvement

I often have got multiple emacs frame in various desktop, but only two of them are visible. I often need to jump between those two frames, but since other frames are opened I can't use C-x 5 o, ...
1
vote
1answer
30 views

Going to bookmark in other window and frame

I work with two screens (screen 1 and screen 2) and each screen has got an emacs frame (respectively frame 1 and frame 2). Sometime I have a bookmark in a window in screen 1, the cursor is in screen 2 ...
0
votes
0answers
53 views

`(ns-next-frame)` and MacOS virtual desktops (Mission Control?)

I use (ns-next-frame) to cycle focus between Emacs frames. However, if I place Emacs frames in separate virtual desktops, I would like focus to cycle only among frames on the current desktop. That is,...
0
votes
2answers
238 views

Newbie: Simple setup for dired in sidebar?

Simple question from a new Emacs user: I'd like to have my editing window have a sidebar (or a divided window, or a frame--I'm not sure of the terminology or the options here) that has a dired (or ...
3
votes
1answer
102 views

switch to dedicated window instead of duplicating the buffer

I can make a buffer dedicated to a frame using the following snippet I got from other posts (defun toggle-window-dedicated () "Toggle whether the current active window is dedicated or not" (...
1
vote
2answers
104 views

Automatically switch to new help frame

Now that emacs supports frames in terminal mode, I'm finding that the help commands open in a new frame. Is there a way to automatically switch to the new frame after it is created? I have seen the ...
4
votes
2answers
298 views

How can I kill all unmodified buffers / files and delete their related frames?

How can I close all unmodified buffers? Usually after a day of work - I've got a ton of buffers / frames open. Right now I have to navigate to each frame and close it - which then prompts me if the ...