Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [start-up]

About starting and initializing an Emacs session

20 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
402 views

Startup Emacs Daemon With Elfeed (RSS Feed Reader) Buffer

What I would like to accomplish is this: Allow emacs daemon to start with my start up applications like normal When I open an emacs frame I would like only the first one to start with my rss news ...
3
votes
0answers
76 views

Emacs Trunk: How to prevent creation of home directories in `load-path`

In the Emacs Trunk build -- i.e., built --with-ns, I have the following entries that get added automatically to my load-path when launching without any user configuration: "." "./Applications" "./...
2
votes
0answers
257 views

How to diagnose emacs hanging and 100% cpu on startup?

How can I diagnose this issue? I've tried using strace and I see the following that seems to be stuck in a loop: recvfrom(5, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., ...
2
votes
0answers
819 views

Extremely slow startup on Windows - How to debug?

I have a serious problem with an extremely slow spacemacs startup (emacs-init-time = ~200s). (The server works, but this is so slow I cannot debug some other problems that I am trying to fix) My ...
2
votes
2answers
255 views

How to open multiple files in multiple windows at startup

In earlier versions of emacs one could use emacs -nw file1 file2 file3 and see three files (and no buffer list) at startup. For recent versions this no longer works. Is it possible to add some code to ...
1
vote
0answers
55 views

Emacs slow when launching GUI

I have a weird problem. When I launch emacs GUI by double clicking the icon, or using open -a emacs in the terminal, or calling the application from alfred/spotlight it takes 4-8 seconds to launch. ...
1
vote
1answer
40 views

starting emacs from the commandline and setting line wrap to 60 - howto?

I'm new with Emacs and come from Joe. There I started editing mail from the command line by joe -rmargin 60 because I don't want to generally set the right margin to 60. I can't find a similar ...
1
vote
0answers
56 views

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 ...
1
vote
0answers
174 views

Emacs times out trying to read from /dev/tty on startup?

After several years of being annoyed of Emacs on Ubuntu (not Mac via brew) having a ~2-3 second delay before displaying file contents at startup I finally decided to debug this. I ran strace -r emacs ...
1
vote
0answers
43 views

If I move frame during Emacs startup, it moves back at the end of startup

I have a fairly long startup for Emacs 24.4 on Microsoft Windows 7. I try to move the frame where I want it during startup, but it snaps back after all the startup code is done running. I don't appear ...
0
votes
0answers
14 views

When I click on a file on the spacemacs start screen, it automatically enters a newline

This only happens when I open a file with a mouseclick on the spacemacs start-screen. Very odd, it does not even work when I press enter instead or when I open the file in another way. The reason ...
0
votes
1answer
81 views

emacs (v24.3.1): command line '--' before the file name

I have a RHEL 7 box, and I've installed emacs onto it (v24.3.1). This version of Emacs seems to be broken. You used to be able to edit by entering a command like this: emacs -- somefilename.txt and ...
0
votes
0answers
52 views

Running a single Emacs instance

I'd like to set in my dot-emacs a function to detect if an Emacs instance is already running, possibly exiting Emacs informing user. To do this I should query the OS for running processes. However (...
0
votes
0answers
322 views

Error when initializing Emacs

This is what I get when starting Emacs from terminal with emacs --debug-init. I don't know the reason why emacs suddenly started to not working. Debugger entered--Lisp error: (wrong-type-argument ...
0
votes
0answers
75 views

What's the value of default-directory during startup?

I'm looking through startup.el, and normal-top-level-add-subdirs-to-load-path references the default-directory variable. What's the value of that variable during startup? I searched for calls to ...
0
votes
0answers
96 views

How can I make the initial frame invisible?

Using the following command line causes Emacs to briefly display the initial frame, then hide it: emacs -Q --eval "(setq initial-frame-alist '((visibility . nil)))" This is consistent with the ...
0
votes
0answers
164 views

Troubleshooting a blank window

I've run into a bit of an issue that I'm having trouble resolving. I use quite a few packages, one of which is ESS. The latest update to ESS seems to run into issues when trying to install. All I ...
0
votes
0answers
61 views

Starting Emacs on OSX stuck

When lots of application running, emacs doesn't start. Icon appears on dock but application doesn't show up. If I quit some apps and retry to start emacs, it works flawlessly. Is the any chance to ...
0
votes
0answers
80 views

Stop Emacs from adding all subdirs to default-directory

I'm having trouble stopping Emacs from loading all packages in my default-directory. When I call c-h v load-packages I get a listing of all subdirectories inside my elpa directory, which I want to ...
0
votes
3answers
71 views

use-package can't load package at startup

When I start Emacs I get the error message Error (use-package): Cannot load counsel But when I open init.el in a buffer and run eval-buffer everything works fine. What I'm doing wrong? My Emacs ...