Форум — Development «Тупой» автокомплит в emacs 0 0 Как emacs заставить скрывать нижнее окно с вариантами автокомплита после выбора варианта актокомплита(или, хотя бы, через время)? Ссылка
C-x 1?:) А вообще ИМХО лучше юзать M-/, а не C-M-/ так и окна никакого выскакивать не будет. CrazyPit ★★★ (14.02.06 02:23:56 MSK) Показать ответ Ссылка
Ответ на: комментарий от CrazyPit 14.02.06 02:23:56 MSK А как сделать дописывание слова(при однозначности варанта дополнения) при M-/? anonymous (14.02.06 15:34:26 MSK) Показать ответ Ссылка
Ответ на: комментарий от anonymous 14.02.06 15:34:26 MSK (defun indent-or-complete () ;; "Complete if point is at end of a word, otherwise indent line." ;;{{{ (interactive) (if (and (not (bolp)) (string-match "\\sw\\|\\s_" (char-to-string (char-before))) (or (eobp) (looking-at "[ \t\n]"))) (progn (when (eobp) (insert "\n") (goto-char (1- (point)))) (dabbrev-expand nil)) (if (and (bolp) (not (eolp))) (progn (indent-for-tab-command) (beginning-of-line)) (indent-for-tab-command)))) ;;}}} (global-set-key [tab] 'indent-or-complete) EM (14.02.06 18:16:08 MSK) Показать ответ Ссылка
Ответ на: комментарий от EM 14.02.06 18:16:08 MSK (defun indent-or-complete () ;; "Complete if point is at end of a word, otherwise indent line." ;;{{{ (interactive) (if (and (not (bolp)) (string-match "\\sw\\|\\s_" (char-to-string (char-before))) (or (eobp) (looking-at "[ \t\n]"))) (progn (when (eobp) (insert "\n") (goto-char (1- (point)))) (dabbrev-expand nil)) (if (and (bolp) (not (eolp))) (progn (indent-for-tab-command) (beginning-of-line)) (indent-for-tab-command)))) ;;}}} (global-set-key [tab] 'indent-or-complete) EM (14.02.06 18:25:52 MSK) Показать ответ Ссылка
Ответ на: комментарий от EM 14.02.06 18:25:52 MSK Не работает дополнение имени каталога при C-X C-F: Пишешь folder-(чтобы дополнить до folder-1)Tab, и: 'No dynamic expansion for /folder- found.' anonymous (14.02.06 23:02:44 MSK) Ссылка