Mercurial > hg > xemacs-beta
comparison lisp/modes/ksh-mode.el @ 151:59463afc5666 r20-3b2
Import from CVS: tag r20-3b2
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:37:19 +0200 |
parents | 360340f9fd5f |
children | 28f395d8dc7a |
comparison
equal
deleted
inserted
replaced
150:8ebb1c0f0f6f | 151:59463afc5666 |
---|---|
22 ;; $Source: /afs/informatik.uni-tuebingen.de/local/web/xemacs/xemacs-cvs/XEmacs/xemacs/lisp/modes/Attic/ksh-mode.el,v $ -- | 22 ;; $Source: /afs/informatik.uni-tuebingen.de/local/web/xemacs/xemacs-cvs/XEmacs/xemacs/lisp/modes/Attic/ksh-mode.el,v $ -- |
23 ;; | 23 ;; |
24 ;; LCD Archive Entry: | 24 ;; LCD Archive Entry: |
25 ;; ksh-mode|Gary F. Ellison|Gary.F.Ellison@ATT.COM | 25 ;; ksh-mode|Gary F. Ellison|Gary.F.Ellison@ATT.COM |
26 ;; |Mode for editing sh/ksh/bash scripts | 26 ;; |Mode for editing sh/ksh/bash scripts |
27 ;; |$Date: 1997/03/08 23:26:25 $|$Revision: 1.2 $|~/modes/ksh-mode.el.Z| | 27 ;; |$Date: 1997/05/23 01:36:24 $|$Revision: 1.3 $|~/modes/ksh-mode.el.Z| |
28 | 28 |
29 ;; Author: Gary F. Ellison <Gary.F.Ellison@ATT.COM> | 29 ;; Author: Gary F. Ellison <Gary.F.Ellison@ATT.COM> |
30 ;; AT&T Laboratories | 30 ;; AT&T Laboratories |
31 ;; 6200 East Broad Street | 31 ;; 6200 East Broad Street |
32 ;; Columbus, Ohio 43213 USA | 32 ;; Columbus, Ohio 43213 USA |
33 ;; | 33 ;; |
34 ;; Maintainer: Gary F. Ellison <Gary.F.Ellison@ATT.COM> | 34 ;; Maintainer: Gary F. Ellison <Gary.F.Ellison@ATT.COM> |
35 ;; Created: Fri Jun 19 | 35 ;; Created: Fri Jun 19 |
36 ;; $Revision: 1.2 $ | 36 ;; $Revision: 1.3 $ |
37 ;; Keywords: shell, korn, bourne, sh, ksh, bash | 37 ;; Keywords: shell, korn, bourne, sh, ksh, bash |
38 ;; | 38 ;; |
39 ;; Delta On $Date: 1997/03/08 23:26:25 $ | 39 ;; Delta On $Date: 1997/05/23 01:36:24 $ |
40 ;; Last Modified By: Gary Ellison | 40 ;; Last Modified By: Gary Ellison |
41 ;; Last Modified On: Mon Sep 11 12:26:47 1995 | 41 ;; Last Modified On: Mon Sep 11 12:26:47 1995 |
42 ;; Update Count : 35 | 42 ;; Update Count : 35 |
43 ;; Status : Highly Functional | 43 ;; Status : Highly Functional |
44 ;; | 44 ;; |
229 ;; 19-Jun-1992 Gary Ellison | 229 ;; 19-Jun-1992 Gary Ellison |
230 ;; Last Modified: Fri Jun 19 10:03:07 1992 #1 (Gary Ellison) | 230 ;; Last Modified: Fri Jun 19 10:03:07 1992 #1 (Gary Ellison) |
231 ;; Conception of this mode. | 231 ;; Conception of this mode. |
232 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 232 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
233 | 233 |
234 (defconst ksh-mode-version "$Revision: 1.2 $" | 234 (defconst ksh-mode-version "$Revision: 1.3 $" |
235 "*Version numbers of this version of ksh-mode") | 235 "*Version numbers of this version of ksh-mode") |
236 | 236 |
237 ;; | 237 ;; |
238 ;; Variables controlling indentation style | 238 ;; Variables controlling indentation style |
239 ;; | 239 ;; |
429 (modify-syntax-entry ?\' "\"" ksh-mode-syntax-table) | 429 (modify-syntax-entry ?\' "\"" ksh-mode-syntax-table) |
430 (modify-syntax-entry ?` "\"" ksh-mode-syntax-table) | 430 (modify-syntax-entry ?` "\"" ksh-mode-syntax-table) |
431 (modify-syntax-entry ?\n ">" ksh-mode-syntax-table) | 431 (modify-syntax-entry ?\n ">" ksh-mode-syntax-table) |
432 (modify-syntax-entry ?\f ">" ksh-mode-syntax-table) | 432 (modify-syntax-entry ?\f ">" ksh-mode-syntax-table) |
433 (modify-syntax-entry ?# "<" ksh-mode-syntax-table) | 433 (modify-syntax-entry ?# "<" ksh-mode-syntax-table) |
434 (modify-syntax-entry ?_ "w" ksh-mode-syntax-table) | 434 (modify-syntax-entry ?_ "_" ksh-mode-syntax-table) |
435 (modify-syntax-entry ?< "." ksh-mode-syntax-table) | 435 (modify-syntax-entry ?< "." ksh-mode-syntax-table) |
436 (modify-syntax-entry ?> "." ksh-mode-syntax-table) | 436 (modify-syntax-entry ?> "." ksh-mode-syntax-table) |
437 (modify-syntax-entry ?& "." ksh-mode-syntax-table) | 437 (modify-syntax-entry ?& "." ksh-mode-syntax-table) |
438 (modify-syntax-entry ?| "." ksh-mode-syntax-table) | 438 (modify-syntax-entry ?| "." ksh-mode-syntax-table) |
439 (modify-syntax-entry ?$ "\\" ksh-mode-syntax-table) | 439 (modify-syntax-entry ?$ "\\" ksh-mode-syntax-table) |
466 ) | 466 ) |
467 | 467 |
468 | 468 |
469 ;;;###autoload | 469 ;;;###autoload |
470 (defun ksh-mode () | 470 (defun ksh-mode () |
471 "ksh-mode $Revision: 1.2 $ - Major mode for editing (Bourne, Korn or Bourne again) | 471 "ksh-mode $Revision: 1.3 $ - Major mode for editing (Bourne, Korn or Bourne again) |
472 shell scripts. | 472 shell scripts. |
473 Special key bindings and commands: | 473 Special key bindings and commands: |
474 \\{ksh-mode-map} | 474 \\{ksh-mode-map} |
475 Variables controlling indentation style: | 475 Variables controlling indentation style: |
476 ksh-indent | 476 ksh-indent |