GNU bug report logs -
#62116
RFE: eglot: support window.showDocument LSP RPC
Previous Next
Full log
Message #79 received at 62116 <at> debbugs.gnu.org (full text, mbox):
>> Even when takeFous is nil, shouldn't we still at least raise the frame?
>> Otherwise Emacs might not show the document.
>
> I don't understand. Can you show this problem. , I think display-buffer
> ensures the buffer is displayed. It doesn't guarantee that it is
> visible in the context of the windowing system, but that's another
> matter.
I was worried about the case when there are two frames: frame A is in
focus, and frame B is minimized but contains the target buffer. But
you're right. display-buffer does raise frame B and keeps the focus in
frame A.
> I pushed a version with the above adjustments to master, as we're
> converging anyway and it's easier than trading patches.
The pushed version is good, but there is one minor problematic detail.
It returns "success" even before it tries to find-file the requested
URI. So if it cannot open the file, because the user does not have the
required permissions, it is too late to send an error to the server.
This bug report was last modified 1 year and 291 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.