When I open a file with emacsclient without invoking -c, Emacs visits the file in a new buffer in the background while leaving my current window configuration in place. I'd like to change this, e.g. to open the file in whichever buffer is currently active.

  • I always use emacsclient -a '' to open files in an existing emacs frame (created for the first time using emacsclient -a '' -c) and files always open in one of the visible windows, never as hidden buffers. Can you verify if you see the same behavior after you move the init.el and/or .emacs files to something like init.elbkp/.emacsbkp? – Kaushal Modi May 23 '15 at 12:35
  • 1
    If you need server-start in init.el, you will need to create a new init.el with the minimal required code for your server setup after you move the original file to a backup file. – Kaushal Modi May 23 '15 at 12:39
  • Ahh, thank you for explaining that this is the default behavior. I did a bisecting debug and found that I had not configured my saveplace package correctly. – Michael A. May 23 '15 at 22:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.