Artificial intelligent assistant

tmux と emacsclient を併用すると、片一方の pane に client がとられてしまう emacsclient tmux 1. `emacs --daemon` 2. `tmux` 3. pane 4. pane `emacsclient` -> 5. pane `emacsclient` -> Waiting for Emacs... ( 4 pane client client shell ) 5 pane `emacsclient` 4 pane

emacsclient frame( terminal frame) emacsclient

**emacs/lib-src/emacsclient.c**


/* Nonzero means don't open a new frame. Inverse of --create-frame. */
int current_frame = 1;
:
static void
decode_options (int argc, char **argv)
{
:
switch (opt)
{
:
case 't':
tty = 1;
current_frame = 0;
break;
:

int
main (int argc, char **argv)
{
:
if (current_frame)
send_to_emacs (emacs_socket, "-current-frame ");
:


**emacs/lisp/server.el**


(cl-defun server-process-filter (proc string)
:
;; -current-frame: Don't create frames.
(`"-current-frame" (setq use-current-frame t))


frame `-nw/-t/-tty`

> **emacsclient(1)**
>
>
> -nw, -t, --tty
>
> open a new Emacs frame on the current terminal
>

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 9e5273233cd2cbacfeb735315fadcedb