Linked Questions

0 votes
2 answers
182 views

Why does Emacs hold on to a not common sense meaning of the words: frame and window?

Below voluminously explained the context of the question stated in the question title: I have started to use Emacs very intensively some days ago and are still bumping into doing things the wrong way. ...
Claudio's user avatar
  • 450
1 vote
1 answer
711 views

How to define display-buffer-alist, to keep every buffer in the frame it is currently?

I work with different Emacs frames on the same desktop. When I run compile Emacs splits the current frame and creates a clone of the buffer *compilation*, although the compilation buffer is already ...
ceving's user avatar
  • 1,358
2 votes
2 answers
397 views

Key binding to run Clojure code in running cider REPL and specified namespace

I have cider working just fine in Emacs with my Clojure code. I am following a tutorial that uses Cursive as the IDE; in the tutorial they were able to define a key binding to a line of code in a ...
Anders Kitson's user avatar
1 vote
2 answers
656 views

Don't replace my buffers with *warnings* or *message* buffers?

Current behavior: Emacs replaces one of my buffers with *warnings* or *messages* if I have multiple buffers open. However Emacs creates a new buffer and displays *warnings* or *messages* if I have ...
Inspired_Blue's user avatar
0 votes
0 answers
676 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 ...
fossegrim's user avatar
3 votes
1 answer
311 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 ...
Jan's user avatar
  • 373
2 votes
1 answer
727 views

Open search result in the same window

Say I run ag or grep via M-x and display a window with search results. Say I then use my enter key to open a result. How can I force emacs to open this result in the same window as the search results ...
Abraham P's user avatar
  • 201
1 vote
3 answers
3k views

how do I customize spacemacs default buffer

I would like to make some change on spacemacs's default buffer *spacemacs*,like move recently files and projects to left and show my TODO list in the right or bottom from another file
Fangxing's user avatar
  • 143
0 votes
0 answers
174 views

open the shell buffer in the same frame as compilation buffer -- C compilation

I'm regularly compiling some C programs and one thing is annoying : after I've compiled, I'm opening a shell with M-x shell ./foo, but the shell open in place of the source code's window. I would ...
loukios's user avatar
  • 825
1 vote
4 answers
2k views

From eshell or ansi-term can I open a file in the same window without a new instance of Emacs?

I'm wondering if anyone knows of a clever way in Emacs when in a shell, can I directly open a file without having to open it in another Emacs instance.
Csharpest's user avatar
0 votes
0 answers
26 views

Kill buffer when closing a frame only if that's the only frame showing that buffer? [duplicate]

How can I kill a buffer when closing a frame only if that's the only frame showing that buffer? Is there a way to check if the buffer in the selected frame is not in any other frame?
stacko's user avatar
  • 1,597
0 votes
0 answers
220 views

next-error and multiple frames

I have a multi monitor setup and I typically have two Emacs frames, each filling a monitor. I use display-buffer-reuse-window (reusable-frames . T) as my only customisation. One thing bugs me in my ...
fommil's user avatar
  • 1,780
1 vote
1 answer
487 views

In non-terminal Emacs, how do I make new frame open within the same OS window?

Basically, I would like GUI emacs to replicate the terminal behavior, where a new frame is opened within the same (OS) window. This would work similar to vim's tabs, which are just a way to move ...
iDontKnowBetter's user avatar
0 votes
1 answer
282 views

How can I arrange several frames at fixed, relative positions?

When compiling a TeX document I would like to have two buffers containing the LaTeX output and TeX-error-overview in separate frames which are positioned relative to the current frame (the error ...
Lenar Hoyt's user avatar
  • 1,173
2 votes
1 answer
2k views

How to get the buffer's visible width?

I'm trying to write something that will disable a certain mode (fci-mode) if a buffer's visible width is under a certain amount. I know about the (window-width) function, however, that doesn't change ...
Lee H's user avatar
  • 2,727

15 30 50 per page