이맥스는 텍스트 모드에서 중단 점을 표시하지 않습니다. 제안을 here과 here으로 통합하려고했으나 실패했습니다 (나는 리스프 프로그래머가 아닙니다). Emacs : 텍스트 터미널에서 강조 표시 중단 점을 활성화하는 방법 (emacs -nw)
내가 시도 : 는(require 'gdb-mi)
(setq default-text-properties '(foo 1111))
(defun set_breakpt_cmds()
"set breakpoint and indicate on editor"
(interactive)
(gud-break)
(gdb-put-breakpoint-icon "false" (get-text-property 1 'foo)))
(global-set-key (kbd "<f12>") 'set_breakpt_cmds)
결과 오류가
Wrong number of arguments: (lambda (arg) "Set breakpoint at current line." (interactive "p") (if (not gud-running) (gud-call "dbstop \ at %l in %f" arg))), 0
주 : 비슷한 문제는 this입니다 (this 다음). 그러나 거기에 해결책이 .emacs
파일에서 수정 프로그램을 호출 할 수 있기 때문에 나를 맞지 않습니다. 이렇게하면 새로운 리눅스 박스를 설치할 때 이맥스 설정을 복제하는 것이 더 쉽습니다.
감사
나를위한'text mode'는 임의의 텍스트 (예 : 확장자 .txt)가 포함 된 파일을 편집 할 때 사용되는 주요 모드입니다. '텍스트 단말기 내부'라고 생각합니다. – Stefan