-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to disable spacemacs buffer on startup #6899
Comments
For everyone who are confused, the key point is to not switch buffer if Emacs is called with filename arguments. |
+1 on that @TheBB - I like the home buffer if I'm starting without arguments. |
Edit file ~/.emacs.d/core/core-spacemacs.el (setq inhibit-startup-screen t)
(spacemacs-buffer/goto-buffer) to (setq inhibit-startup-screen nil)
;; (setq inhibit-startup-screen t)
;; (spacemacs-buffer/goto-buffer) |
Any update on this? So far the code from @padde is the only way I can avoid a brief flashing of the big |
What about this? (defun dotspacemacs/user-config ()
(kill-buffer "*spacemacs*")) |
This worked #6899 (comment) Thanks @ginhton P.S. Remember to restart the daemon if a daemon is in use! |
add this at
|
@ginhton this worked, thanks! But has a warning:
And when start emacs with --debug-init, this warn disappeared |
@tasmo's comment seem to do it for me - would love a built in option |
I'm thinking, an spacemacs varibale should be provied that spacemacs buffer shoulnd't be created during startup, this will descrease the time of startup of spacemacs. |
This snippet makes
|
Mic92's suggestion doesn't seem to be working for me. The Spacemacs buffer is still shown on startup. The variables value after starting says:
Windows 1903#### System Info :computer: - OS: windows-nt - Emacs: 26.3 - Spacemacs: 0.300.0 - Spacemacs branch: develop (rev. 7f92a4388) - Graphic display: t - Distribution: spacemacs - Editing style: vim - Completion: helm - Layers: ```elisp (autohotkey auto-completion command-log emacs-lisp git github helm imenu-list markdown multiple-cursors org (shell :variables shell-default-shell 'shell shell-default-height 30 shell-default-position 'bottom) spell-checking syntax-checking treemacs version-control) ``` - System configuration features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS LCMS2 |
Are you running emacs in daemon/server mode by chance? |
That first test wasn't with a running as a daemon/server setup. But now when starting: |
Redefining the following 2 functions in your
That being said, they are the 3 functions that would need to be investigated to disable this functionality via a variable. |
Thanks @russell .... That worked for me like a champ! |
Thanks @russell, this also worked for me :) |
@russell solution gives me a warning... |
In my case I solved it by inserting the definitions in the init.el file, otherwise I got an error during the startup:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
I would like to have just a scratch buffer on startup, and it seems this cannot be achieved easily at the moment. Currently I am using the following workaround:
However, it would be nice to be able to disable it altogether with a proper configuration option. This way I wouldn't have to wait for the spacemacs buffer to be built and displayed, just to discard it immediately.
The text was updated successfully, but these errors were encountered: