]> git.eshelyaron.com Git - emacs.git/commit
Consolidate lisp/jsonrpc.el logging in single events buffer
authorJoão Távora <joaotavora@gmail.com>
Fri, 1 May 2020 12:24:56 +0000 (13:24 +0100)
committerJoão Távora <joaotavora@gmail.com>
Fri, 1 May 2020 15:59:05 +0000 (16:59 +0100)
commitb23daca20788ab6b54362c5bdb0470887de106fb
tree672edf2f68b801f7b4ea585d1a8f772e7e83415c
parent2a8784129daf270d0a20ce3531e488de51de7520
Consolidate lisp/jsonrpc.el logging in single events buffer

For inferior processes having useful stderr, it is no longer
cumbersome to switch between different buffers to correlate error
messages with transport-level JSONRPC messages.

The existing stderr and stdout buffers can still be found hidden away
from the normal buffer list.

An original idea of Tobias Rittweiler <trittweiler@gmail.com>.

* lisp/jsonrpc.el (initialize-instance jsonrpc-process-connection):
Setup after-change functions stderr buffer.  Hide stderr and stdout
buffers.
(jsonrpc--log-event): Don't output extra newline.  Tweak log format.
(Version): Bump to 1.0.10
lisp/jsonrpc.el