Linked Questions

41
votes
1answer
3k views

What is the difference between a function and a command?

When posting questions and answers here, people sometimes use the terms "function" and "command" interchangeably. In other cases, people only use one of the two terms to discuss specific pieces of ...
14
votes
3answers
2k views

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 ...
9
votes
3answers
2k views

How do I outline/hide/show text when writing prose?

I want to use Emacs to write prose (specifically, fiction). I have used Scrivener and Ulysses in the past but I am not happy with them. I want to try Emacs, but don't know how to replicate the ...
1
vote
3answers
2k 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
1
vote
4answers
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.
2
votes
1answer
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 ...
2
votes
1answer
515 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 ...
1
vote
1answer
431 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 ...
1
vote
1answer
431 views

How can I disable the resize grip?

After updating my system my emacs windows have a resize grip in the bottom right corner. Is there a way to get rid of it? The grip does not appear on any other windows. I'm running Ubuntu 14.04.
2
votes
1answer
151 views

Switch to another buffer, then back to the first

I want to save a buffer somewhere temporary so I can later say bring up that buffer I was using. Is there an equivalent to minimizing a window/buffer? I know you can kill the buffer to go to the ...
1
vote
2answers
232 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 ...
0
votes
1answer
244 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 ...
3
votes
1answer
182 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
210 views

How well does evil work with all emacs modes?

I heard about Evil-mode, but will it work in all windows? I mean, emacs is more than text editor, and every specialised window has it's own hotkeys. Are there hotkey conflicts between Evil-mode and ...
0
votes
0answers
254 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 ...

15 30 50 per page