2017-11-16 6 views

답변

1

이게 당신이 찾고 있는게 있니?

clone-indirect-buffer-other-windowsimple.el에서 대화식 컴파일 리스프 함수이다.

C-x 4 c. 다른 창에서 clone-indirect-buffer하지만 디스플레이처럼

(clone-indirect-buffer-other-window NEWNAME DISPLAY-FLAG &optional NORECORD)

.

해당 명령의 기능에 대한 자세한 내용은 C-h f clone-indirect-buffer을 참조하십시오.


확인, 당신은 별도의 프레임 아닌 별도의 이맥스 에 오픈합니다. 이를 위해 자신의 clone-indirect-buffer-other-frame을 정의 할 수 있지만 clone-indirect-buffer을 호출 할 때 pop-up-framest으로 바인딩하면 clone-indirect-buffer-other-windowpop-up-windows과 같은 방식으로 바인딩됩니다.

(defun clone-indirect-buffer-other-frame (newname display-flag &optional norecord) 
    "Like `clone-indirect-buffer' but display in another window." 
    (interactive 
    (progn 
    (if (get major-mode 'no-clone-indirect) 
    (error "Cannot indirectly clone a buffer in %s mode" mode-name)) 
    (list (if current-prefix-arg 
      (read-buffer "Name of indirect buffer: " (current-buffer))) 
     t))) 
    ;; (let ((pop-up-windows t)) 
    (let ((pop-up-frames t)) ; <========== 
    (clone-indirect-buffer newname display-flag norecord)))