Questions tagged [dot-emacs]

.emacs (dot-emacs where the initial period causes problems) is the name of the main configuration file of the emacs text editor.

.emacs (dot-emacs when the initial period causes problems) is the name of the main configuration, initialization, and customization file of the GNU text editor. In absence of .emacs GNU Emacs version 23 and higher uses .emacs.d/init.el as initialization file.

The contents of the Emacs initialization file is read and execute by Emacs at startup, and changing it is the most common way of customizing an Emacs environment. The configuration and customization directives in the .emacs file frequently invoke further packages so that the main file doesn't become impractically long: these are conventionally stored in the .emacs.d directory. In addition to hand-editing the file, changes to it can be made with emacs' M-x customize facility.

See also:

218 questions
1
vote
4 answers

In Emacs how to switch to other buffer?

The problem is following: I want to automate the way my emacs starts. It has to be split in two buffers and the slime-repl has to be started in the smallest (bottom) buffer. Plus, I want my file to be opened in the bigger (upper) buffer. In my…
avp
  • 4,895
  • 4
  • 28
  • 40
1
vote
1 answer

gtags very slow in Emacs

I am using gnu global in emacs, everything is ok, but command "gtags-find-tag" search is too slow that cannot bear. only this command is very slow, the others like "gtags-find-rtag" is normal I think. I delete other config such as cedet, so that…
user1424963
  • 53
  • 2
  • 9
1
vote
1 answer

rebind org-mode movements to hyper/function key?

On OSX I am accustomed to using shift-arrow to highlight regions, and option-arrow to navigate through my text word-by-word, i.e. by whole words at a time. This works very nicely in Aquamacs Emacs org-mode EXCEPT: 1. when I hold down shift and…
incandescentman
  • 6,168
  • 3
  • 46
  • 86
1
vote
1 answer

How to run the Clojure REPL from Emacs after setting up .emacs.d folder

I'm new to Emacs so its all a bit new to me. I got a hang of the basics of Emacs like navigation,etc. I was trying to install a Clojure REPL in Emacs, i cloned a .emacs repo and replaced .emacs with it. I opened up Emacs again, i'm at a loss as to…
1
vote
1 answer

Any way to make ido-find-file switch to another recently opened file if there is no match in current directory?

Emacs ido is very nice and it makes my work more efficient. But I feel rather annoyed that it always take it upon herself to change directory when she thinks there is no match in current directory for the string I input. While in most cases I would…
Hongxu Chen
  • 5,240
  • 2
  • 45
  • 85
1
vote
1 answer

Automatically display whitespaces using Aquamacs 2.4 (OSX Mountain Lion)

Aquamacs 2.4 for OSX has been designed to use Preferences.el and customizations.el instead of ~/.emacs Preferences.el (require 'whitespace) ;; This is for files previously created and then opened with Aquamacs. (global-whitespace-mode t) ;; This…
lawlist
  • 13,099
  • 3
  • 49
  • 158
1
vote
1 answer

Separate GUI & CLI themes for Emacs?

To avoid the white background, I changed the default emacs background color to "dark gray" -- it's perfect for working in the GUI at night . . . however, emacs is also my default editor for terminals, and is basically unreadable with the new…
1
vote
2 answers

Emacs - kill suggestions buffers with timeout

I know this solution is posted, but I cannot find it. I had in my .emacs code to kill suggestions buffers automatically after n seconds (mine was set to 5). This allowed me to not have to switch to that pane and kill it or have 90 auto-complete or…
JohnML
  • 73
  • 1
  • 5
1
vote
2 answers

How to silent disabled commands?

I want to silent disabled commands in Emacs. Possibly unbind them altogether. When I slip on a disabled-command binding (e.g. a in Dired) — which I am not allowing because I don't want to use it — I'd like it to fail silently, instead of having me…
Nikana Reklawyks
  • 3,233
  • 3
  • 33
  • 49
1
vote
2 answers

gdb within emacs on Windows

I'm running Emacs 22.3 in Windows. Earlier today I had gdb working within Emacs just fine. I was installing QT4 and during the installation it asked me to uninstall MSYS which I quickly clicked through not thinking about things. I think I had gdb…
Stephen Burke
  • 882
  • 3
  • 10
  • 25
1
vote
0 answers

Profile modular dotemacs

My emacs is modular (and uses ~20 loads in init.el). I want to speed up my start time. I know of http://www.emacswiki.org/emacs/ProfileDotEmacs, but that isn't allowing me to dive into my config deeper. How can I profile it to a finer level?
fread2281
  • 1,136
  • 1
  • 11
  • 31
1
vote
1 answer

Setting default-directory in .emacs

I don't really know what to say. I've been working on customizing my emacs, and I noticed that it isn't actually loading my .emacs on startup. According the(http://www.gnu.org/software/emacs/manual/html_node/emacs/Find-Init.html#Find-Init), emacs…
Sean Allred
  • 3,558
  • 3
  • 32
  • 71
1
vote
2 answers

How to make emacs cursor under Windows act like it used to under X?

This is with (emacs-version) "GNU Emacs 23.3.1 (i386-mingw-nt6.1.7601) of 2011-03-10 on 3249CTO" I suddenly noticed that the cursor is like a standard Windows caret, and the sort of editing I'm trying to do is making it hard for me to spot. I am…
wades
  • 927
  • 9
  • 24
1
vote
1 answer

auto-insert-mode define on full path

I'm looking for a way to tell auto-insert-mode to use different templates regarding on the file path (not only on the file extension). I want all .org files created under a directory */meetings to have a defined template. The following setting does…
skizo
  • 267
  • 1
  • 3
  • 15
1
vote
1 answer

Emacs: Mode doesn't load on startup

I'm using Emacs under Win64. I want to load a mode called gas-mode.el on startup. What I wrote: C-x C-f c:/Program Files (x86)/emacs-23.1/.emacs (autoload 'gas-mode "c:/Program Files (x86)/emacs-23.1/lips/gas-mode.el") (setq auto-mode-alist …
fridojet
  • 1,276
  • 3
  • 15
  • 29