Skip to content
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

Emacs opens in scratch buffer in daemon mode #3244

Closed
Immortalin opened this issue Oct 3, 2015 · 9 comments
Closed

Emacs opens in scratch buffer in daemon mode #3244

Immortalin opened this issue Oct 3, 2015 · 9 comments

Comments

@Immortalin
Copy link
Contributor

Emacs always open in the scratch buffer instead of the default spacemacs buffer when ran in daemon mode and accessed using emacsclient via the command "emacslient -c".

@robbyoconnor
Copy link
Contributor

Did you read the guidelines which github linked? This is very insufficient.

SPC hds please.

@Immortalin
Copy link
Contributor Author

@robbyoconnor I can't find the guidelines. Can you link it?

@Immortalin
Copy link
Contributor Author

System Info

  • OS: gnu/linux
  • Emacs: 24.5.1
  • Spacemacs: 0.105.0
  • Spacemacs branch: develop (rev. 9e794df)
  • Distribution: spacemacs
  • Layers:
(shell :variables shell-default-shell 'term)

@TheBB
Copy link
Contributor

TheBB commented Oct 4, 2015

Isn't this standard Emacs behaviour?

@robbyoconnor
Copy link
Contributor

@Immortalin CONTRIBUTING.md -- it was linked when you opened this issue...we expect you to read it.

@TheBB
Copy link
Contributor

TheBB commented Oct 4, 2015

This sets the initial buffer for clients. Put this in your .spacemacs.

(setq initial-buffer-choice
      (lambda ()
        (get-buffer "*spacemacs*")))

@TheBB
Copy link
Contributor

TheBB commented Oct 4, 2015

I made a PR for this: #3257.

@Immortalin
Copy link
Contributor Author

@TheBB thanks!

@StreakyCobra
Copy link
Contributor

#3257 is in develop now, marking it as Fixed in develop then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants