When running Emacs as a daemon, function find-file automatically selects and uses a preexisting buffer that is visiting the same file.

My problem is, when using the same buffer in multiple frames within the Emacs daemon, the frames will lag significantly (slow response, delayed input, etc.). This problem also occurs when using indirect buffers.

Is there a way to tell Emacs to open a file in a new buffer instead of reusing a preexisting buffer?

  • 1
    Are you sure you don't mean window instead of frame (or perhaps instead of buffer)? – Drew Jun 11 at 14:00

When running Emacs as daemon, the different frames that might be open have access to the buffers on memory. a file will not be open twice to prevent conflicts (any changes should be consistent.

Try running M-x ibuffer usually C-x b and choose a buffer to open in window rather than C-x C-f

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.