|
From: | martin rudalics |
Subject: | bug#10729: 24.0.93; On MS-Windows: emacsclientw.exe -n -c does create a new frame, but does not always display the requested file or the requested directory (24.0.92 does) |
Date: | Mon, 06 Feb 2012 18:57:05 +0100 |
> When you request a new frame with -c or -t, you're passing > instructions to server.el about how to display the buffer. But > server.el also obeys the setting of server-window. If you look at > server-switch-buffer, you'll see that, when the buffer is already > shown in a window, and server-window is nil, it simply does > > (select-window win) ; win is the window displaying test.txt > (set-buffer next-buffer) ; next-buffer is the one containing test.txt > > so no new frame is created. Just to make sure: Is the `set-buffer' needed because win's buffer might not be current? > That's not a bug. For some reason I still > have to investigate, the buffer shown in win is then replaced by > *scratch* (this is puzzling). When is it replaced? After exiting `server-switch-buffer'? martin
[Prev in Thread] | Current Thread | [Next in Thread] |