Top "Emacs" questions

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

How to replace a character with a newline in Emacs?

I am trying to replace a character - say ; - with a new line using replace-string and/or replace-regexp in …

emacs replace
How to open Emacs inside Bash

I'm using Ubuntu 11.10 (Oneiric Ocelot). When I type the command "emacs" in the terminal, it opens Emacs as a separate …

bash emacs
Where does this come from: -*- coding: utf-8 -*-

Python recognizes the following as instruction which defines file's encoding: # -*- coding: utf-8 -*- I definitely saw this …

python file text encoding emacs
Updating packages in Emacs

I have the following setup for packages (not sure if there is a better recommended one): (require 'package) (setq package-archives …

emacs elpa
How to select or highlight a block in Emacs?

I want to select or highlight a block in emacs without using mouse but doing it from the keyboard like …

emacs selection highlight
How to launch GUI Emacs from command line in OSX?

How do I launch GUI Emacs from the command line in OSX? I have downloaded and installed Emacs from http://…

macos emacs command-line
Where can I find my .emacs file for Emacs running on Windows?

I tried looking for the .emacs file for my Windows installation for Emacs, but I could not find it. Does …

windows emacs winapi path customization
Go to a specific line in a file - Notepad++

So I'm learning Emacs after over two years of using notepad++ as my default editor. I'm still hung up on …

emacs notepad++ line-numbers
How do I change read/write mode for a file using Emacs?

If a file is set to read only mode, how do I change it to write mode and vice versa …

emacs file file-permissions
Change Emacs syntax highlighting colors

I'm running Emacs, editing files in C++ mode and PHP mode. I love syntax highlighting as a concept, but the …

emacs syntax-highlighting colors font-lock-mode