changeset 21804:7f5f52632d41

(fortran-mode-map): Bind M-^. Use \M-, not \e elsewhere.
author Dave Love <fx@gnu.org>
date Tue, 28 Apr 1998 17:54:11 +0000
parents 8b04da31eb63
children aafa93c1a5ce
files lisp/progmodes/fortran.el
diffstat 1 files changed, 9 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/fortran.el	Tue Apr 28 17:46:50 1998 +0000
+++ b/lisp/progmodes/fortran.el	Tue Apr 28 17:54:11 1998 +0000
@@ -393,18 +393,20 @@
   (setq fortran-mode-map (make-sparse-keymap))
   (define-key fortran-mode-map ";" 'fortran-abbrev-start)
   (define-key fortran-mode-map "\C-c;" 'fortran-comment-region)
-  (define-key fortran-mode-map "\e\C-a" 'beginning-of-fortran-subprogram)
-  (define-key fortran-mode-map "\e\C-e" 'end-of-fortran-subprogram)
-  (define-key fortran-mode-map "\e;" 'fortran-indent-comment)
-  (define-key fortran-mode-map "\e\C-h" 'mark-fortran-subprogram)
-  (define-key fortran-mode-map "\e\n" 'fortran-split-line)
+  (define-key fortran-mode-map "\M-\C-a" 'beginning-of-fortran-subprogram)
+  (define-key fortran-mode-map "\M-\C-e" 'end-of-fortran-subprogram)
+  (define-key fortran-mode-map "\M-;" 'fortran-indent-comment)
+  (define-key fortran-mode-map "\M-\C-h" 'mark-fortran-subprogram)
+  (define-key fortran-mode-map "\M-\n" 'fortran-split-line)
   (define-key fortran-mode-map "\n" 'fortran-indent-new-line)
-  (define-key fortran-mode-map "\e\C-q" 'fortran-indent-subprogram)
+  (define-key fortran-mode-map "\M-\C-q" 'fortran-indent-subprogram)
   (define-key fortran-mode-map "\C-c\C-w" 'fortran-window-create-momentarily)
   (define-key fortran-mode-map "\C-c\C-r" 'fortran-column-ruler)
   (define-key fortran-mode-map "\C-c\C-p" 'fortran-previous-statement)
   (define-key fortran-mode-map "\C-c\C-n" 'fortran-next-statement)
-  (define-key fortran-mode-map "\C-c\C-d" 'fortran-join-line)
+  (define-key fortran-mode-map "\C-c\C-d" 'fortran-join-line) ; like f90
+  (define-key fortran-mode-map
+    "\M-^" 'fortran-join-line) ; basically a delete-indentation equivalent
   (define-key fortran-mode-map "\C-xnd" 'fortran-narrow-to-subprogram)
   ;(define-key fortran-mode-map "\t" 'fortran-indent-line)
   (define-key fortran-mode-map "0" 'fortran-electric-line-number)