Questions tagged [init-file]
for questions about initialization files `.emacs` or `init.el. DO NOT USE this tag if you assume answers require tweaking initialization files because many solutions do not involve directly manipulating initialization files.
858 questions
3 votes
0 answers
55 views
Package loading broke suddenly
Today, all of a sudden (possibly because of a system Emacs version update to 30.1?), loading packages broke for me. Specifically, my .emacs looks like this: (require 'package) (setq package-user-dir &...
1 vote
1 answer
49 views
Change kill-buffer keybinding
I keep fat-fingering C-x k, though I also don't want to have to be prompted every time I kill a buffer. I mostly want this inside VTerm windows. I tried this in my .emacs file (if (fboundp 'keymap-...
0 votes
1 answer
80 views
(reftex-get-bibfile-list) returns "reftex-get-bibfile-list: \bibliography statement missing or .bib files not found" though RefTeX works correctly
I would like to invoke (reftex-get-bibfile-list) to get .bib files involving with the current latex file via the following function in .emacs: (defun print-bibfile () (interactive) (if (reftex-get-...
0 votes
1 answer
139 views
Minimal settings to use XDG config directory for *everything*
I'm trying to configure Emacs to use XDG directories, and to detect when it's not doing that I've cleaned out ~/.emacs.d and changed its owner to root. After configuring (setq user-emacs-directory &...
0 votes
0 answers
43 views
Emacs loading through ~/.emacs.el [duplicate]
How do I change the initial file start up from ~/.emacs.el to ~/.emacs.d/init.el? The manual says you can use any of these files for start up but how do I go about changing the prioritization? It also ...
3 votes
1 answer
287 views
Why does the Emacs UI I see in System Crafters videos look different from what I see with vanilla Emacs?
I just downloaded emacs on my mac but the UI looks way different from the System Crafters videos I'm watching on YouTube. Why is this?
1 vote
0 answers
57 views
Autocomplete with company in emacs
I have a list of words I want to autocomplete in C:/Hunspell/autocompleteemacs.txt and the following contents of the .emacs file: (setq ispell-program-name "C:/Hunspell/bin/hunspell.exe") ;...
0 votes
1 answer
83 views
use-package question: where should defvar, defconst go if setq-s move to :custom?
Trying to clean up init files using use-package. Currently, I have defvar, defconst, define, and setq under :config. If I move setq to :custom section, where should defvar, defconst, and defun go? ...