home *** CD-ROM | disk | FTP | other *** search
- From dmm0t@rincewind.mech.virginia.edu Fri Jul 16 23:17:10 1993
- Path: paperboy.osf.org!bloom-beacon.mit.edu!biosci!uwm.edu!ux1.cso.uiuc.edu!howland.reston.ans.net!darwin.sura.net!news-feed-2.peachnet.edu!concert!uvaarpa!murdoch!rincewind.mech.virginia.edu!dmm0t
- From: dmm0t@rincewind.mech.virginia.edu (David Meyer)
- Newsgroups: gnu.emacs.sources
- Subject: patches to perldb.el for emacs-19
- Message-ID: <CA7uq9.30J@murdoch.acc.Virginia.EDU>
- Date: 15 Jul 93 17:18:07 GMT
- Sender: usenet@murdoch.acc.Virginia.EDU
- Organization: University of Virginia
- Lines: 97
-
-
- Here are my patches to perldb.el (the perl debugger mode that comes
- with perl 4.0xx). Basically, all I've done is to hack perldb.el to
- use comint.el stuff rather than the old shell.el stuff (i.e. change
- shell-mode-map to comint-mode-map).
-
- I've been using my patched version without problem, but if anyone sees
- something I've missed, please post or send e-mail.
-
- Thanks,
- Dave
-
-
- *** /Users/dmm0t/perldb.el Thu Jul 15 13:06:59 1993
- --- perldb.el Tue Jul 6 22:24:41 1993
- ***************
- *** 65,71 ****
-
- (if perldb-mode-map
- nil
- ! (setq perldb-mode-map (copy-keymap shell-mode-map))
- (define-key perldb-mode-map "\C-l" 'perldb-refresh))
-
- (define-key ctl-x-map " " 'perldb-break)
- --- 65,71 ----
-
- (if perldb-mode-map
- nil
- ! (setq perldb-mode-map (copy-keymap comint-mode-map))
- (define-key perldb-mode-map "\C-l" 'perldb-refresh))
-
- (define-key ctl-x-map " " 'perldb-break)
- ***************
- *** 122,131 ****
- (setq mode-name "Inferior Perl")
- (setq mode-line-process '(": %s"))
- (use-local-map perldb-mode-map)
- ! (make-local-variable 'last-input-start)
- ! (setq last-input-start (make-marker))
- ! (make-local-variable 'last-input-end)
- ! (setq last-input-end (make-marker))
- (make-local-variable 'perldb-last-frame)
- (setq perldb-last-frame nil)
- (make-local-variable 'perldb-last-frame-displayed-p)
- --- 122,131 ----
- (setq mode-name "Inferior Perl")
- (setq mode-line-process '(": %s"))
- (use-local-map perldb-mode-map)
- ! (make-local-variable 'comint-last-input-start)
- ! (setq comint-last-input-start (make-marker))
- ! (make-local-variable 'comint-last-input-end)
- ! (setq comint-last-input-end (make-marker))
- (make-local-variable 'perldb-last-frame)
- (setq perldb-last-frame nil)
- (make-local-variable 'perldb-last-frame-displayed-p)
- ***************
- *** 134,142 ****
- (setq perldb-delete-prompt-marker nil)
- (make-local-variable 'perldb-filter-accumulator)
- (setq perldb-filter-accumulator nil)
- ! (make-local-variable 'shell-prompt-pattern)
- ! (setq shell-prompt-pattern perldb-prompt-pattern)
- ! (run-hooks 'shell-mode-hook 'perldb-mode-hook))
-
- (defvar current-perldb-buffer nil)
-
- --- 134,142 ----
- (setq perldb-delete-prompt-marker nil)
- (make-local-variable 'perldb-filter-accumulator)
- (setq perldb-filter-accumulator nil)
- ! (make-local-variable 'comint-prompt-regexp)
- ! (setq comint-prompt-regexp perldb-prompt-pattern)
- ! (run-hooks 'comint-mode-hook 'perldb-mode-hook))
-
- (defvar current-perldb-buffer nil)
-
- ***************
- *** 189,195 ****
- (setq default-directory dir)
- (or (bolp) (newline))
- (insert "Current directory is " default-directory "\n")
- ! (apply 'make-shell
- (concat "perldb-" file) perldb-command-name nil "-d" path "-emacs"
- (parse-args args))
- (perldb-mode)
- --- 189,195 ----
- (setq default-directory dir)
- (or (bolp) (newline))
- (insert "Current directory is " default-directory "\n")
- ! (apply 'make-comint
- (concat "perldb-" file) perldb-command-name nil "-d" path "-emacs"
- (parse-args args))
- (perldb-mode)
- --
- David M. Meyer Mechanical & Aerospace Engineering
- dmm0t@rincewind.mech.virginia.edu University of Virginia
- NeXTmail ok
-
-