Timeline for Can I merge the buffers opened in one emacs process into the other emacs process?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 22, 2018 at 1:00 | comment | added | phils |
n.b. I briefly but mistakenly suggested that desktop-change-dir could be used to select a directory to read from. Don't do that! It actually kills existing buffers and then reads the new desktop, which is not what you want.
|
|
Mar 22, 2018 at 0:53 | comment | added | phils |
That said, if you're only talking about file-visiting buffers and you don't care about losing undo history, then you can simply re-visit the files of one instance in the other, and you could use the desktop.el library to do it for you. In one instance you could M-x desktop-save and in the other you could M-x desktop-read . If you're not saving to the default location, you may need to customize desktop-path for the instance in which you're going to read the desktop file.
|
|
Mar 22, 2018 at 0:44 | comment | added | phils | Correct. At least to the very best of my knowledge -- I'm not an expert on the internals of Emacs, but I can't envisage any way that could work. | |
Mar 22, 2018 at 0:42 | comment | added | Tim |
Thanks. Do you mean there is no way to merge the buffers in the two emacs processes created by emacs -nw ?
|
|
Mar 22, 2018 at 0:37 | history | answered | phils | CC BY-SA 3.0 |