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.

Filter by
Sorted by
Tagged with
2
votes
1answer
17 views

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

resizing frame by window manage under AnyDesk disassociates emacs buffers' dimensions

I'm trying a new (to me) remote desktop tool AnyDesk (v.5.5.4). I'm attaching to Ubuntu18 system at work from a Ubuntu19 system at home. When I resize an emacs frame with the mouse, the menu bar, ...
0
votes
1answer
19 views

Aquamacs: Display *Occur* in current frame

I find that if I run *Occur* on different virtual displays, Aquamacs will reuse whichever frame *Occur* ran in the previous time, often giving me the results I want to see on a display which I am not ...
1
vote
1answer
29 views

How to configure emacs to start in the middle of the screen, and not in the top left corner?

Currently have a GUI version of GNU Emacs v.26.3 (on MacOS Catalina, also have a similar version on Ubuntu 16.04), and because I'm just getting started with the editor, I have this question: how do I ...
0
votes
0answers
7 views

`make-frame`, when called in `window-setup-hook`, creates the new frame as workspace 0 in EXWM

The title. After initialization has finished, make-frame naturally creates new frames as higher numbered workspaces, but for some reason when called in window-setup-hook, it creates it as workspace 0 (...
3
votes
2answers
47 views

Reference a window with a designated name

I list the current windows with #+begin_src emacs-lisp :tangle yes (window-list) #+end_src #+RESULTS: | #<window 14 on 28.Windows.org> | #<window 3 on .emacs.d> | Then I tried to ...
0
votes
1answer
28 views

Portable way of setting the windows urgent hint?

I've seen links to X11 flag setting that sets the current windows urgent hint. Is there a portable way to do this in Emacs? Or does it need to be handled per-platform?
0
votes
0answers
19 views

Display minibuffer on all frames

The minibuffer is only displayed on the active window's frame. For instance, the following creates three frames. The minibuffer shows on the first frame (the initial frame created and, thus, the ...
2
votes
1answer
40 views

Using multiple tty emacsclient with “C-x 5” other frame commands

I'm using emacs in daemon mode on a server and connecting over ssh in a terminal console (tty) window (i.e. no GUI support). I'm invoking emacsclient using in the tty window (window here refers to OS ...
0
votes
1answer
33 views

Emacs 26.3: Weird frame title issue with KDE

I recently switched to CentOS 7.7, KDE 4.x, and Emacs 26.3. Previously, I was using GNOME and a much older version of Emacs. Before, whenever I opened Emacs, the titlebar of a lone Emacs window was ...
1
vote
1answer
38 views

ESS: display-buffer-alist reusable-frames does not work as expected

I'm trying to use the display-buffer-alist variable to control how Emacs displays spawned inferior shells (ess-r in particular). I'm using the display-buffer-alist value from ess doc: (setq display-...
0
votes
1answer
50 views

Linux command line to launch gnuemacs

I would like to launch Emacs by typing a command line in the terminal in Ubuntu linux. I want Emacs to open file a.txt in one frame and another file b.txt in another frame. I tried the command *emacs ...
0
votes
1answer
43 views

using display-frame-alist to force switch to buffer

Could someone please explain how to use default-frame-alist to make list-buffers switch to the resulting results buffer? list-buffers uses display-buffer so I am thinking that display-buffer-alist is ...
0
votes
0answers
68 views

How do I configure first emacs frame position on startup?

When coding I prefer to have my screen split vertically in two with my editor on the right and reference material or browser opened on the left. This saves me from physically switching workspaces or ...
0
votes
0answers
52 views

Always open buffer in a new frame instead of a window

I found this question which suggested that setting pop-up-frames to a non-nil value should enable this behaviour. However when I added (setq pop-up-frames t) to my emacs init only some of the buffers ...
1
vote
1answer
32 views

How to stop (aquamacs) emacs opening all new buffers in new (gui) window/emacs frame?

I've just upgraded my aquamacs installation and a bunch of packages, and now emacs is opening every new buffer in a new (gui) window (aka emacs frame). I don't like this. I want to have every buffer ...
2
votes
2answers
158 views

automatically open new buffer in new frame

I use tiling window manager and usually prefer it to handle emacs frames instead of using emacs windows. Is there a way I could force emacs to spawn new buffers in new frames automatically? Ideally ...
3
votes
1answer
72 views

How to set extra frames in size?

Whenever I open an info entry in emacs (C-h i) an additional frame pops up. On my system, it is too small and I'd love to have it in the top left corner, being wider and longer as it was created by ...
0
votes
1answer
29 views

ERC, opening query messages in the same frame

I use to have diferent frames for diferent tasks... I'd like to get new private message windows open in the same frame that the rest of the ERC stuff, not in the current focused frame. I'm searching ...
2
votes
0answers
44 views

emacs pinentry in minibuffer prompt blocks other frames?

I use Emacs in a terminal to read email using mu4e, mbsync. I have PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/machine imap.gmail.com login rudolf.sykora@gmail.com/ {...
2
votes
0answers
39 views

Frame number in frame title - how?

I want to use two frames. One on virtual desktop #1 and the other one on #2. I (have to) work on Windows so I would like to see a frame number in the frame title, since Windows lacks a permanently ...
0
votes
1answer
55 views

set-frame-size does not work on emacsclient

I have set up Emacs daemon on Windows 10. My Emacs version is GNU Emacs 25.3.1 I have some code in my init.el which resizes the frame size automatically when Emacs starts up. The code is ;; Select a ...
0
votes
0answers
54 views

How can I merge/collapse multiple frames into one single frame in Spacemacs?

Sometimes I have multiple open frames (not only windows) in Spacemacs, and would like to collapse all frames into one single frame. That's easier to keep track on open buffers. However, I cant' find ...
1
vote
1answer
34 views

How to set font-height for all future frames?

I've set the font-family and font-size in a few different ways before, one of which was: (custom-set-faces '(default ((t (:family "Liberation Mono" :height 150))))) However, I learned that if you ...
0
votes
0answers
35 views

Get coordinate of point reliably

I need to get the coordinate of point for childframe and currently my approach is this (copied from the manual): (let* ((pos (posn-at-point point window)) (x-y (posn-x-y pos)) (...
0
votes
0answers
26 views

Why can't OSX handle Emacs client frames

By using the latest Emacs version from 1, it seems that when running in daemon-mode and when opening a new client frame from the terminal or from a custom OSX app I wrote which opens a new frame when ...
1
vote
0answers
48 views

How to set posframe as active?

Is there some option to make frame active when i create it? I can switch to it with this code, but maybe there's a way to do this without select-frame func? (defun show-misc-posframe () (when (...
1
vote
2answers
429 views

switching from tmux + terminal emacs to Emacs only

I am thinking of switching from tmux + terminal emacs (emacs -nw) to just pure emacs. The only thing that is holding me back is tmux offer switching between sessions without switching the terminal ...
0
votes
0answers
62 views

Segmentation fault when creating new frames

I am reproducibly experiencing segmentation faults on Emacs 26.3 under Debian Buster when creating a new frame, which seems to be related to setting fonts for new frames. In order to illustrate I ...
0
votes
0answers
53 views

How to keep a high-level window configuration?

I use Emacs as a single maximized frame. The monitor is wide enough for two windows to sit together there, with a vertical split. I want this window configuration to be permanent, i.e.: I want it to ...
1
vote
1answer
201 views

How can I make emacsclient use an existing window in the current frame?

I'm on MS Windows, if that makes a difference. My desired behavior: There is only one frame visible at any time. Visiting a file should use an existing window in that frame. (This is the default ...
1
vote
0answers
16 views

Prevent menu-bar from expanding too much

The way I have things configured, some Emacs modes end up adding a lot of entries to the menu-bar. As a result, the Emacs frame increases in width. This results in various annoyances. For now, I've ...
0
votes
1answer
101 views

Bring Emacs frame to front when running emacsclient on WSL

Currently using Emacs on Windows Subsystem for Linux (WSL). I have this alias for emacsclient executable: alias e='emacsclient -n' Which I run very often when I am on the terminal (I use ConEmu or ...
3
votes
1answer
40 views

If frame is maximized?

Is it possible (using only emacs-lisp) to find out if the current frame is maximized? Not fullscreen, but maximized.
0
votes
0answers
48 views

Is frame background considered a face?

I would like to know if Emacs treats empty portions of the frame as faces. I want to know because I wonder if the background of an Emacs frame is drawn separately of other elements on the screen. ...
3
votes
0answers
190 views

Adding Purpose to Layout Of Emacs

The rigidity to which emacs adheres to its layout is annoying at times. How can i get a layout like this when I shift to the particular modes? +------------------+-----------+ | | ...
0
votes
2answers
48 views

How do I toggle between current frame size and maximized frame

When I open emacs, the frame size is set to: width 85 and height 40. Is there a keybinding to toggle between maximizing the frame, and going back to the previous frame size of 85 x 40
0
votes
0answers
29 views

How to solve non-persistence emacs frame title?

Some people had the same issue: frame title as buffer file resets to default after some time How to make frame-title-format persistent? I've tried to change frame-title-format value to: (setq frame-...
1
vote
1answer
51 views

How prevent `display-buffer` from opening a specific buffer in a new window if and only if it is shown in another frame

I want the *compilation* buffer to not pop up in my main frame when I have it in another frame already open. However if the buffer is not shown anywhere, I do want it to pop up in a new window of the ...
0
votes
1answer
45 views

How to find out if a file is visible for my shell script?

I want to implement a script that I can call from my file explorer to be able to open a new frame with the chosen file (emacsclient -nc $1), but only if the file does not already exist then I simply ...
1
vote
1answer
75 views

How to always show buffer in the new created frame?

My workflow is: I initialize emacs with a shortcut (in my ~/.i3/config I have a line like this bindcode $mod+49 exec emacsclient -c -n -q -a=''. I use i3wm.org) By default it goes to temp.org, in ....
1
vote
1answer
55 views

How can I automatically swap frame buffers if the buffer is already open?

I've seen the https://www.emacswiki.org/emacs/buffer-move.el script, but I'm trying to something a bit different. Suppose I have a frame with a buffer from file A.h in it and A.cpp in another frame ...
1
vote
0answers
51 views

Reading frame configuration from file

I'm just trying my hands on emacs lisp. So far I've had some luck, but I'm stuck trying to load my frames configuration into a list. Here's what I'm trying to do... I am saving frames configuration (...
2
votes
2answers
243 views

How to change emacs font size on the fly from commandline?

Using 1autorandr for multimonitor detection, the script below is runned each time I dock my machine. In order to use spacemacs on the 4k monitor I curently must hit M-x zoom-frm-in. What command ...
1
vote
1answer
31 views

emacsclient -c stopped working, server running, emacs works

I am encountering a very strange problem. I worked with emacsclient for a while but suddenly, after starting an emacsclient frame the frame disappears shortly after start when interacting with it. It ...
0
votes
0answers
36 views

How to automatically run a command when cursor is at bottom of visible frame?

The recenter command in emacs is recenter-top-bottom which I can invoke using Ctrl-l. How can I call this command automatically every time the cursor is on the fifth-last line in the visible frame? [...
1
vote
0answers
42 views

macOS-like look and behavior on Linux [closed]

I would like to get macOS-like look and behavior on Linux, e.g. global(app) menu, no border on the top of Emacs window etc. I don't care about fancy icons and themes, but these two features are key ...
2
votes
0answers
31 views

Restoring windows with Desktop when running Emacs inside a terminal? [duplicate]

Maybe a silly question: I'm using desktop for saving Emacs' sessions. I've set (setq desktop-restore-frames t) (desktop-save-mode 0) So windows and frames state is supposed to be saved, and I'm ...
0
votes
1answer
59 views

Is there any command like `other-frame` which behaves like windows's Alt-TAB?

Is there any command like other-frame which behaves like windows's Alt-TAB? And how to create this command? To clarify this behavior, I wrote python code which virtually emulate this behavior. Each ...
2
votes
1answer
391 views

Launch an emacsclient instance in a new terminal window

I am using Sway/wlroots and I decided to switch to using terminal emacs for the forseeable future as there is no transparency in the xwayland version of emacs. I previously bound emacs to run as a ...

1
2 3 4 5 6