I've recently built with mingw, and comint/shell mode doesn't seem to
respond to C-c C-c.  I've also tried to invoke the signal using the menu, no
luck.  I then tried to invoke using M-x comint-interrupt-subjob, still no
luck.

I thought maybe it was the bash.exe, but I tried interrupting a process with
CTRL-c in bash, no problems.

I then tried to run emacs with --no-init and just a minimal shell
configuration:

Here's that config:

(defun my-bash-shell-setup ()
 "My shell-setup hook"
 ;(setq comint-scroll-show-maximum-output 'this)
 ;; (setq comint-process-echoes t) ;; reported that this is no longer
needed
 ;(setq explicit-bash.exe-args '( "-i"))
 (setq comint-completion-addsuffix t
       ;w32-quote-process-args ?\"
       comint-input-ignoredups t
       comint-eol-on-send t
       ;comint-scroll-to-bottom-on-output 'this
       comint-scroll-to-bottom-on-input 'this
       comint-input-ring-size 150
       comint-input-ring-file-name "~/.bash_history"
       comint-input-ring-separator "\n")


 (comint-read-input-ring)
 (define-key comint-mode-map [delete] 'delete-char)
 (define-key shell-mode-map "\C-d"
   '(lambda ()
      (interactive)
      (comint-simple-send (get-buffer-process (current-buffer)) "logout")))


 (make-variable-buffer-local 'comint-completion-addsuffix)
 (highlight-lines-matching-regexp "^test.*started\.$" 'hi-blue-b)
 (highlight-lines-matching-regexp "CategoryCache.loadOneOrAllCattegories"
'hi-blue-b))

(setq explicit-shell-args '("--login" "-i"))
(setq explicit-bash.exe-args '("--login" "-i"))
(setq shell-file-name (concat devtools-dir "/cygwin/bin/bash.exe")) ;;needed
for inferior shells
(setq explicit-shell-file-name (concat devtools-dir "/cygwin/bin/bash.exe"))

(setenv "BASH_ENV" "$HOME/.bash_profile_for_emacs")
(add-hook 'shell-mode-hook 'my-bash-shell-setup)


;;end of my shell config



In GNU Emacs 22.0.91.1 (i386-mingw-nt5.1.2600)
of 2006-12-01 on WIT-MTDBOON001
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -I../../include'

Important settings:
 value of $LC_ALL: nil
 value of $LC_COLLATE: nil
 value of $LC_CTYPE: nil
 value of $LC_MESSAGES: nil
 value of $LC_MONETARY: nil
 value of $LC_NUMERIC: nil
 value of $LC_TIME: nil
 value of $LANG: ENU
 locale-coding-system: cp1252
 default-enable-multibyte-characters: t

Major mode: Shell

Minor modes in effect:
 hi-lock-mode: t
 shell-dirtrack-mode: t
 encoded-kbd-mode: t
 tooltip-mode: t
 mouse-wheel-mode: t
 file-name-shadow-mode: t
 global-font-lock-mode: t
 font-lock-mode: t
 blink-cursor-mode: t
 unify-8859-on-encoding-mode: t
 utf-translate-cjk-mode: t
 auto-compression-mode: t
 line-number-mode: t

Recent input:
<up> C-s M-y C-s <up> <up> C-x C-f d m b - m i n <tab>
<return> C-s C-s <down> C-x h <C-end> <down-mouse-1>
<mouse-movement> <mouse-movement> <drag-mouse-1> M-x
e v <tab> r <tab> <return> C-x b d m b - s h <tab>
<return> M-x e v e <backspace> a l - c r u <backspace>
<backspace> u r <tab> <return> M-x b a s h <return>
a n t SPC r e c o m p i l e <return> C-c C-c c c c
c <backspace> <backspace> <backspace> <backspace> M-x
r e p o r t <tab> <return>

Recent messages:
Quit
Mark saved where search started [2 times]
Mark set [3 times]
Loading shell...done
Loading hi-lock...done
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done
Loading dabbrev...done
dabbrev-expand: No dynamic expansion for `comint-inter' found
_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to