diff options
| author | Richard M. Stallman | 1994-04-21 06:24:36 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-04-21 06:24:36 +0000 |
| commit | f54877b282db437bc90b793b68923e72794493c7 (patch) | |
| tree | 3fee5052c50bd2ed63b7d48faeeaced400a42af4 | |
| parent | 3162a5cbd6e08152f1c07c40b3cc74bdd39849c4 (diff) | |
| download | emacs-f54877b282db437bc90b793b68923e72794493c7.tar.gz emacs-f54877b282db437bc90b793b68923e72794493c7.zip | |
(gdb, sdb, dbx, xdb, perldb): Set paragraph-start.
(gud-mode): Make paragraph-start buffer-local.
| -rw-r--r-- | lisp/gud.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/gud.el b/lisp/gud.el index debe6d2ca48..bf728b6c6a1 100644 --- a/lisp/gud.el +++ b/lisp/gud.el | |||
| @@ -255,6 +255,7 @@ and source-file directory for your debugger." | |||
| 255 | 255 | ||
| 256 | (local-set-key "\C-i" 'gud-gdb-complete-command) | 256 | (local-set-key "\C-i" 'gud-gdb-complete-command) |
| 257 | (setq comint-prompt-regexp "^(.*gdb[+]?) *") | 257 | (setq comint-prompt-regexp "^(.*gdb[+]?) *") |
| 258 | (setq paragraph-start comint-prompt-regexp) | ||
| 258 | (run-hooks 'gdb-mode-hook) | 259 | (run-hooks 'gdb-mode-hook) |
| 259 | ) | 260 | ) |
| 260 | 261 | ||
| @@ -420,6 +421,7 @@ and source-file directory for your debugger." | |||
| 420 | (gud-def gud-print "%e/" "\C-p" "Evaluate C expression at point.") | 421 | (gud-def gud-print "%e/" "\C-p" "Evaluate C expression at point.") |
| 421 | 422 | ||
| 422 | (setq comint-prompt-regexp "\\(^\\|\n\\)\\*") | 423 | (setq comint-prompt-regexp "\\(^\\|\n\\)\\*") |
| 424 | (setq paragraph-start comint-prompt-regexp) | ||
| 423 | (run-hooks 'sdb-mode-hook) | 425 | (run-hooks 'sdb-mode-hook) |
| 424 | ) | 426 | ) |
| 425 | 427 | ||
| @@ -558,6 +560,7 @@ and source-file directory for your debugger." | |||
| 558 | (gud-def gud-print "print %e" "\C-p" "Evaluate C expression at point.") | 560 | (gud-def gud-print "print %e" "\C-p" "Evaluate C expression at point.") |
| 559 | 561 | ||
| 560 | (setq comint-prompt-regexp "^[^)\n]*dbx) *") | 562 | (setq comint-prompt-regexp "^[^)\n]*dbx) *") |
| 563 | (setq paragraph-start comint-prompt-regexp) | ||
| 561 | (run-hooks 'dbx-mode-hook) | 564 | (run-hooks 'dbx-mode-hook) |
| 562 | ) | 565 | ) |
| 563 | 566 | ||
| @@ -658,6 +661,7 @@ directories if your program contains sources from more than one directory." | |||
| 658 | (gud-def gud-print "p %e" "\C-p" "Evaluate C expression at point.") | 661 | (gud-def gud-print "p %e" "\C-p" "Evaluate C expression at point.") |
| 659 | 662 | ||
| 660 | (setq comint-prompt-regexp "^>") | 663 | (setq comint-prompt-regexp "^>") |
| 664 | (setq paragraph-start comint-prompt-regexp) | ||
| 661 | (make-local-variable 'gud-xdb-accumulation) | 665 | (make-local-variable 'gud-xdb-accumulation) |
| 662 | (setq gud-xdb-accumulation "") | 666 | (setq gud-xdb-accumulation "") |
| 663 | (run-hooks 'xdb-mode-hook)) | 667 | (run-hooks 'xdb-mode-hook)) |
| @@ -757,6 +761,7 @@ and source-file directory for your debugger." | |||
| 757 | (gud-def gud-print "%e" "\C-p" "Evaluate perl expression at point.") | 761 | (gud-def gud-print "%e" "\C-p" "Evaluate perl expression at point.") |
| 758 | 762 | ||
| 759 | (setq comint-prompt-regexp "^ DB<[0-9]+> ") | 763 | (setq comint-prompt-regexp "^ DB<[0-9]+> ") |
| 764 | (setq paragraph-start comint-prompt-regexp) | ||
| 760 | (run-hooks 'perldb-mode-hook) | 765 | (run-hooks 'perldb-mode-hook) |
| 761 | ) | 766 | ) |
| 762 | 767 | ||
| @@ -871,6 +876,7 @@ comint mode, which see." | |||
| 871 | (make-local-variable 'gud-last-frame) | 876 | (make-local-variable 'gud-last-frame) |
| 872 | (setq gud-last-frame nil) | 877 | (setq gud-last-frame nil) |
| 873 | (make-local-variable 'comint-prompt-regexp) | 878 | (make-local-variable 'comint-prompt-regexp) |
| 879 | (make-local-variable 'paragraph-start) | ||
| 874 | (make-local-variable 'gud-delete-prompt-marker) | 880 | (make-local-variable 'gud-delete-prompt-marker) |
| 875 | (setq gud-delete-prompt-marker (make-marker)) | 881 | (setq gud-delete-prompt-marker (make-marker)) |
| 876 | (run-hooks 'gud-mode-hook) | 882 | (run-hooks 'gud-mode-hook) |