About starting and initializing an Emacs session
Questions tagged [start-up]
190 questions
14
votes
2 answers
Why does Emacs take longer to start on Windows than on Linux?
Configuration:
One system
OS Windows 10 as dual boot
OS Ubuntu 15.10 as dual boot
Emacs 25.0.1 with GUI
I have one dot-emacs file and everything in my .emacs.d folder (the packages also are located in .emacs.d). All of these files are located in…

ReneFroger
- 3,850
- 23
- 66
11
votes
3 answers
How does Emacs manage to start instantaneously with many el-files?
As every Emacs'er will know, I'm currently suffering from my extensive dot-Emacs configuration. All my packages are within the containers of use-package, and I bytecompiled all of my .el-files.
Even with that, Emacs starts in 6.4 seconds, and then…

ReneFroger
- 3,850
- 23
- 66
7
votes
1 answer
How to prevent Emacs from creating two windows on startup Windows 10?
When I start Emacs not from the command line on Windows 10 it creates two windows, not one. Is there any way to make the blue window go away? I usually need 4-5 instances of Emacs running so it clutters up my set up. And No, I, unfortunately, cannot…

A_P
- 672
- 4
- 21
6
votes
2 answers
How to load all .el files at start-up
Usually there are many .el files in the folders with the name lisp in the installation directory of Emacs.
At start-up, Emacs doesn't load all these files, in consequence a command like M-x calendar-print-day-of-year in only accessible after…

Name
- 7,849
- 4
- 41
- 87
6
votes
1 answer
Is it possible to disable the startup screen only when emacs opens a file?
Whenever I issue $ emacs, I am greeted by the startup screen. I like this.
However, when I issue $ emacs foo.txt, emacs opens foo.txt and the startup screen in a split screen. I do not like this.
Is it possible to disable the startup screen only…

Brian Fitzpatrick
- 2,325
- 1
- 20
- 42
4
votes
1 answer
How to detect if emacs starts with a file?
I would like to be able to implement the following logic.
(if (developer-opened-file-with-emacs)
(do nothing, get on with working as fast as possible)
(load fancy splash screen that may take a while))
What would be a good way to detect this…

ideasman42
- 8,786
- 1
- 32
- 114
4
votes
1 answer
Is `loadup.el` hard-coded, such that `-nl` (aka --no-loadup) is futile?
I would like to create my own startup.el, and it seems that loadup.el is what causes startup to do its thing -- i.e., (load "startup"). I see that an option for starting Emacs is -nl or --no-loadup; however, neither of those have any affect on OSX.…

lawlist
- 19,106
- 5
- 38
- 120
4
votes
2 answers
emacs -nw -q takes long time
emacs -nw -q or emacs -nw -Q takes more than 10 seconds to start in terminal, but the result of M-x emacs-init-time is 0.0 seconds, and the emacs takes shorter time (still more than 5s) than emacs -nw -q or emacs -nw -Q and the result M-x…

CodyChan
- 2,649
- 1
- 21
- 35
3
votes
3 answers
Customize startup screen text
I want to add a string to the startup screen. I found this question and customized the fancy-startup-text variable, like this
(add-to-list 'fancy-startup-text '("\nYou are running a customized Emacs configuration. See " :link
("here"
…

Ista
- 1,188
- 9
- 12
3
votes
1 answer
Set startup screen to *About GNU Emacs* page
When I start Emacs, it shows me the GNU Emacs buffer. I want to set it to the page one gets with the C-h C-a command with the nice Emacs logo instead. How can I do this.

user18630
- 31
- 1
3
votes
1 answer
How to auto-toggle NeoTree on startup?
I would like to have NeoTree automatically toggle-open upon Emacs start up. I have tried adding:
(neotree-mode t)
under my:
(require 'neotree)
line in ~/.spacemacs (and yes, I am using Spacemacs too, if that is somehow relevant) in order to get…

Josh Pinto
- 623
- 10
- 20
3
votes
1 answer
Turning off loading messages in Emacs minibuffer/GUI at startup
I would like to prevent Emacs from reporting on everyting that is being loaded at startup in the minibuffer. This is because it seems to pause when telling me which files are being loaded that I have specified myself in my init file.
I have…

n1k31t4
- 689
- 8
- 18
2
votes
1 answer
Emacs from an alias/function
uname -a Linux antixbox 4.9.235-antix.1-amd64-smp #1 SMP PREEMPT Mon
Sep 14 19:26:52 EEST 2020 x86_64 GNU/Linux
emacs --version GNU Emacs 27.1
echo $SHELL /usr/bin/zsh
I'm trying to get the following to work:
em() { emacs $1 -geometry "56x23"…

duke
- 21
- 1
2
votes
2 answers
Emacs startup and the elisp environment
Can anyone tell me what is going on when Emacs starts up? As I understand, Emacs has a "base," a "foundation" of code written in C, but then supposedly a great Lisp "program" takes flight. And from then on you are interacting with one big live Lisp…

147pm
- 2,959
- 1
- 18
- 42
2
votes
2 answers
Why do symbols become suddenly defined right after startup?
Below is an example of the situation described in the question's title, using the variable prolog-mode-version as test case.
If my Emacs init file consists of just the code shown below:
(defun show-pmv (hook-name)
(let ((pmv (if (boundp…

kjo
- 3,247
- 17
- 48