Here's my intended use case:
Emacs Instance 1: I have an emacs instance containing open buffers of the project I'm working on. All directly related.
Emacs Instance 2: I'm in the Windows explorer, and I'm looking at a bunch of local files (for reference) that are not directly related to my project. I'd like to double click on these files and have all of the files open on Emacs Instance 2. This way, these reference files don't clutter up my other instance, and all referenced files are grouped together in a single frame (think Notepad++, when you double click a file, it uses the same instance and creates a tab for all open files).
The flow would be something along the lines of
- Emacs is already open with a buffer list of just buffers related to project ("Emacs Instance 1")
- Open up a file manager (repository, Windows Explorer, or Mac OS X Finder), browse to a file, and double click
- Check for instance of "Emacs Instance 2". If not available, then create a new instance and open the file there. If it is, then open the buffer on this existing instance.
Is the above behavior possible?
Note: I call out a separate instance of Emacs because as far as I can tell, that's the only way to keep the buffer list filtered. If there's a way to use the same instance, but keep the buffer list filtered to that specific frame, that works just as well for me!