bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10729: 24.0.93; On MS-Windows: emacsclientw.exe -n -c does create a


From: Juanma Barranquero
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, 6 Feb 2012 22:11:24 +0100

On Mon, Feb 6, 2012 at 18:57, martin rudalics <address@hidden> wrote:

> Just to make sure: Is the `set-buffer' needed because win's buffer might
> not be current?

I don't really know why the set-buffer is required, because that code
only runs when (get-buffer-window next-buffer 0) has returned a window
(and server-window is nil, but that's irrelevant), and the call to
(select-window win) makes next-buffer the current-buffer. Perhaps
because it can be in another frame?

> When is it replaced?  After exiting `server-switch-buffer'?

When running it with edebug, yes. I haven't yet tested without edebug
(but it happens if you're not debugging, so the effect is real).

    Juanma





reply via email to

[Prev in Thread] Current Thread [Next in Thread]