Why is there an additional new line in the Emac circuit?

I run the ypsilon schema using the Emacs 23 schematic mode. When I enter an expression in the interpreter, it adds an extra line to the new line (see below). I have never seen this happen for any other translator. I know ypsilon does not do this because it looks great in the shell shell shell-mode(although shell-mode has the same wrong behavior). What function in circuit or comint mode can add this extra line of new line?

It looks like:

> (+ 1 2)
3

> ;; extra newline above

Must be:

> (+ 1 2)
3
> ;; no extra newline above
+3
source share
2 answers

. comint-send-input no-newline. true ( ), Return , comint-send-input. . , , .

(defun comint-send-input-no-newline ()
  (interactive)
  (comint-send-input t nil))
+3

, - , SLIME. , /. SLIME-, Scheme.

0

Source: https://habr.com/ru/post/1710733/


All Articles