Top "Emacs" questions

GNU Emacs is an extensible, customizable, self-documenting text editor, which can be extended with Lisp code.

How do I set the size of Emacs' window?

I'm trying to detect the size of the screen I'm starting emacs on, and adjust the size and position the …

emacs elisp
How do I create an empty file in emacs?

How can I create an empty file from emacs, ideally from within a dired buffer? For example, I've just opened …

file emacs elisp dired
Evil Mode best practice?

I've been using Vim as my primary editor for years and tried Emacs several times during that time. Then I …

emacs editor emacs23 evil-mode
Using Emacs to recursively find and replace in text files not already open

As a follow-up to this question, it's trying to find out how to do something like this which should be …

emacs editor
Unable to hide welcome screen in Emacs

I want to hide the welcome screen. My .emacs file: (setq c-basic-offset 4) ; indents 4 chars (setq tab-width 4) ; and 4 char wide for …

emacs
Open a file with su/sudo inside Emacs

Suppose I want to open a file in an existing Emacs session using su or sudo, without dropping down to …

emacs file-permissions sudo
How do I get to the menu in Emacs in console mode?

If you launch emacs using the -nw flag to force a console session (rather than an X session if you …

emacs
What is the best way to open remote files with emacs and ssh

I connect to the remote machine with ssh [email protected]. When I need to open a file in the remote machine …

emacs ssh
Setting Emacs 24 color theme from .emacs

I have the following code in my .emacs: (if (null window-system) (progn (require 'color-theme) (color-theme-initialize) (color-theme-simple-1))) When I open Emacs …

emacs dot-emacs emacs24
How can I delete the current line in Emacs?

What is the emacs equivalent of vi's dd? I want to delete the current line. Tried CTRL + k but it …

emacs