diff options
| author | Lute Kamstra | 2005-04-03 20:52:46 +0000 |
|---|---|---|
| committer | Lute Kamstra | 2005-04-03 20:52:46 +0000 |
| commit | 0c0a9c995ce3f99e0bfe7c25936fe825960cfadf (patch) | |
| tree | 2756e50630ea67dc34aebbf7d31b823156978347 /lisp | |
| parent | c85465f9a0436638d485d19f8227d14580270c08 (diff) | |
| download | emacs-0c0a9c995ce3f99e0bfe7c25936fe825960cfadf.tar.gz emacs-0c0a9c995ce3f99e0bfe7c25936fe825960cfadf.zip | |
Specify :group for all generic modes.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/generic-x.el | 99 |
2 files changed, 68 insertions, 33 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fe2032adb52..3a400ce3e8b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -8,6 +8,8 @@ | |||
| 8 | keywords for defcustom. | 8 | keywords for defcustom. |
| 9 | (default-generic-mode): Specify :group. | 9 | (default-generic-mode): Specify :group. |
| 10 | 10 | ||
| 11 | * generic-x.el: Specify :group for all generic modes. | ||
| 12 | |||
| 11 | * desktop.el (desktop-no-desktop-file-hook) | 13 | * desktop.el (desktop-no-desktop-file-hook) |
| 12 | (desktop-after-read-hook): Fix docstring. | 14 | (desktop-after-read-hook): Fix docstring. |
| 13 | 15 | ||
diff --git a/lisp/generic-x.el b/lisp/generic-x.el index d39edbb7ef6..019456aae6b 100644 --- a/lisp/generic-x.el +++ b/lisp/generic-x.el | |||
| @@ -170,7 +170,8 @@ generic-x to enable the specified modes." | |||
| 170 | '((nil "^\\([-A-Za-z0-9_]+\\)" 1) | 170 | '((nil "^\\([-A-Za-z0-9_]+\\)" 1) |
| 171 | ("*Directories*" "^\\s-*<Directory\\s-*\\([^>]+\\)>" 1) | 171 | ("*Directories*" "^\\s-*<Directory\\s-*\\([^>]+\\)>" 1) |
| 172 | ("*Locations*" "^\\s-*<Location\\s-*\\([^>]+\\)>" 1)))))) | 172 | ("*Locations*" "^\\s-*<Location\\s-*\\([^>]+\\)>" 1)))))) |
| 173 | "Generic mode for Apache or HTTPD configuration files.")) | 173 | "Generic mode for Apache or HTTPD configuration files." |
| 174 | :group 'generic-x)) | ||
| 174 | 175 | ||
| 175 | (when (memq 'apache-log-generic-mode generic-extras-enable-list) | 176 | (when (memq 'apache-log-generic-mode generic-extras-enable-list) |
| 176 | 177 | ||
| @@ -183,7 +184,8 @@ generic-x to enable the specified modes." | |||
| 183 | (2 font-lock-variable-name-face))) | 184 | (2 font-lock-variable-name-face))) |
| 184 | '("access_log\\'") | 185 | '("access_log\\'") |
| 185 | nil | 186 | nil |
| 186 | "Mode for Apache log files")) | 187 | "Mode for Apache log files" |
| 188 | :group 'generic-x)) | ||
| 187 | 189 | ||
| 188 | ;;; Samba | 190 | ;;; Samba |
| 189 | (when (memq 'samba-generic-mode generic-extras-enable-list) | 191 | (when (memq 'samba-generic-mode generic-extras-enable-list) |
| @@ -197,7 +199,8 @@ generic-x to enable the specified modes." | |||
| 197 | (2 font-lock-type-face))) | 199 | (2 font-lock-type-face))) |
| 198 | '("smb\\.conf\\'") | 200 | '("smb\\.conf\\'") |
| 199 | '(generic-bracket-support) | 201 | '(generic-bracket-support) |
| 200 | "Generic mode for Samba configuration files.")) | 202 | "Generic mode for Samba configuration files." |
| 203 | :group 'generic-x)) | ||
| 201 | 204 | ||
| 202 | ;;; Fvwm | 205 | ;;; Fvwm |
| 203 | ;; This is pretty basic. Also, modes for other window managers could | 206 | ;; This is pretty basic. Also, modes for other window managers could |
| @@ -222,7 +225,8 @@ generic-x to enable the specified modes." | |||
| 222 | nil | 225 | nil |
| 223 | '("\\.fvwmrc\\'" "\\.fvwm2rc\\'") | 226 | '("\\.fvwmrc\\'" "\\.fvwm2rc\\'") |
| 224 | nil | 227 | nil |
| 225 | "Generic mode for FVWM configuration files.")) | 228 | "Generic mode for FVWM configuration files." |
| 229 | :group 'generic-x)) | ||
| 226 | 230 | ||
| 227 | ;;; X Resource | 231 | ;;; X Resource |
| 228 | ;; I'm pretty sure I've seen an actual mode to do this, but I don't | 232 | ;; I'm pretty sure I've seen an actual mode to do this, but I don't |
| @@ -235,7 +239,8 @@ generic-x to enable the specified modes." | |||
| 235 | '(("^\\([^:\n]+:\\)" 1 font-lock-variable-name-face)) | 239 | '(("^\\([^:\n]+:\\)" 1 font-lock-variable-name-face)) |
| 236 | '("\\.Xdefaults\\'" "\\.Xresources\\'" "\\.Xenvironment\\'" "\\.ad\\'") | 240 | '("\\.Xdefaults\\'" "\\.Xresources\\'" "\\.Xenvironment\\'" "\\.ad\\'") |
| 237 | nil | 241 | nil |
| 238 | "Generic mode for X Resource configuration files.")) | 242 | "Generic mode for X Resource configuration files." |
| 243 | :group 'generic-x)) | ||
| 239 | 244 | ||
| 240 | ;;; Hosts | 245 | ;;; Hosts |
| 241 | (when (memq 'hosts-generic-mode generic-extras-enable-list) | 246 | (when (memq 'hosts-generic-mode generic-extras-enable-list) |
| @@ -246,7 +251,8 @@ generic-x to enable the specified modes." | |||
| 246 | '(("\\([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\\)" 1 font-lock-constant-face)) | 251 | '(("\\([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\\)" 1 font-lock-constant-face)) |
| 247 | '("[hH][oO][sS][tT][sS]\\'") | 252 | '("[hH][oO][sS][tT][sS]\\'") |
| 248 | nil | 253 | nil |
| 249 | "Generic mode for HOSTS files.")) | 254 | "Generic mode for HOSTS files." |
| 255 | :group 'generic-x)) | ||
| 250 | 256 | ||
| 251 | ;;; Windows INF files | 257 | ;;; Windows INF files |
| 252 | (when (memq 'inf-generic-mode generic-extras-enable-list) | 258 | (when (memq 'inf-generic-mode generic-extras-enable-list) |
| @@ -257,7 +263,8 @@ generic-x to enable the specified modes." | |||
| 257 | '(("^\\(\\[.*\\]\\)" 1 font-lock-constant-face)) | 263 | '(("^\\(\\[.*\\]\\)" 1 font-lock-constant-face)) |
| 258 | '("\\.[iI][nN][fF]\\'") | 264 | '("\\.[iI][nN][fF]\\'") |
| 259 | '(generic-bracket-support) | 265 | '(generic-bracket-support) |
| 260 | "Generic mode for MS-Windows INF files.")) | 266 | "Generic mode for MS-Windows INF files." |
| 267 | :group 'generic-x)) | ||
| 261 | 268 | ||
| 262 | ;;; Windows INI files | 269 | ;;; Windows INI files |
| 263 | ;; Should define escape character as well! | 270 | ;; Should define escape character as well! |
| @@ -277,7 +284,8 @@ generic-x to enable the specified modes." | |||
| 277 | (setq imenu-generic-expression | 284 | (setq imenu-generic-expression |
| 278 | '((nil "^\\[\\(.*\\)\\]" 1) | 285 | '((nil "^\\[\\(.*\\)\\]" 1) |
| 279 | ("*Variables*" "^\\s-*\\([^=]+\\)\\s-*=" 1)))))) | 286 | ("*Variables*" "^\\s-*\\([^=]+\\)\\s-*=" 1)))))) |
| 280 | "Generic mode for MS-Windows INI files.")) | 287 | "Generic mode for MS-Windows INI files." |
| 288 | :group 'generic-x)) | ||
| 281 | 289 | ||
| 282 | ;;; Windows REG files | 290 | ;;; Windows REG files |
| 283 | ;;; Unfortunately, Windows 95 and Windows NT have different REG file syntax! | 291 | ;;; Unfortunately, Windows 95 and Windows NT have different REG file syntax! |
| @@ -294,7 +302,8 @@ generic-x to enable the specified modes." | |||
| 294 | (lambda () | 302 | (lambda () |
| 295 | (setq imenu-generic-expression | 303 | (setq imenu-generic-expression |
| 296 | '((nil "^\\s-*\\(.*\\)\\s-*=" 1)))))) | 304 | '((nil "^\\s-*\\(.*\\)\\s-*=" 1)))))) |
| 297 | "Generic mode for MS-Windows Registry files.")) | 305 | "Generic mode for MS-Windows Registry files." |
| 306 | :group 'generic-x)) | ||
| 298 | 307 | ||
| 299 | ;;; DOS/Windows BAT files | 308 | ;;; DOS/Windows BAT files |
| 300 | (when (memq 'bat-generic-mode generic-extras-enable-list) | 309 | (when (memq 'bat-generic-mode generic-extras-enable-list) |
| @@ -368,7 +377,8 @@ generic-x to enable the specified modes." | |||
| 368 | "\\`[cC][oO][nN][fF][iI][gG]\\." | 377 | "\\`[cC][oO][nN][fF][iI][gG]\\." |
| 369 | "\\`[aA][uU][tT][oO][eE][xX][eE][cC]\\.") | 378 | "\\`[aA][uU][tT][oO][eE][xX][eE][cC]\\.") |
| 370 | '(generic-bat-mode-setup-function) | 379 | '(generic-bat-mode-setup-function) |
| 371 | "Generic mode for MS-Windows BAT files.") | 380 | "Generic mode for MS-Windows BAT files." |
| 381 | :group 'generic-x) | ||
| 372 | 382 | ||
| 373 | (defvar bat-generic-mode-syntax-table nil | 383 | (defvar bat-generic-mode-syntax-table nil |
| 374 | "Syntax table in use in bat-generic-mode buffers.") | 384 | "Syntax table in use in bat-generic-mode buffers.") |
| @@ -446,7 +456,8 @@ generic-x to enable the specified modes." | |||
| 446 | (lambda () | 456 | (lambda () |
| 447 | (setq imenu-generic-expression | 457 | (setq imenu-generic-expression |
| 448 | '((nil "\\s-/\\([^/]+\\)/[i, \t\n]" 1)))))) | 458 | '((nil "\\s-/\\([^/]+\\)/[i, \t\n]" 1)))))) |
| 449 | "Mode for Mailagent rules files.")) | 459 | "Mode for Mailagent rules files." |
| 460 | :group 'generic-x)) | ||
| 450 | 461 | ||
| 451 | ;; Solaris/Sys V prototype files | 462 | ;; Solaris/Sys V prototype files |
| 452 | (when (memq 'prototype-generic-mode generic-extras-enable-list) | 463 | (when (memq 'prototype-generic-mode generic-extras-enable-list) |
| @@ -469,7 +480,8 @@ generic-x to enable the specified modes." | |||
| 469 | (2 font-lock-variable-name-face))) | 480 | (2 font-lock-variable-name-face))) |
| 470 | '("prototype\\'") | 481 | '("prototype\\'") |
| 471 | nil | 482 | nil |
| 472 | "Mode for Sys V prototype files.")) | 483 | "Mode for Sys V prototype files." |
| 484 | :group 'generic-x)) | ||
| 473 | 485 | ||
| 474 | ;; Solaris/Sys V pkginfo files | 486 | ;; Solaris/Sys V pkginfo files |
| 475 | (when (memq 'pkginfo-generic-mode generic-extras-enable-list) | 487 | (when (memq 'pkginfo-generic-mode generic-extras-enable-list) |
| @@ -482,7 +494,8 @@ generic-x to enable the specified modes." | |||
| 482 | (2 font-lock-variable-name-face))) | 494 | (2 font-lock-variable-name-face))) |
| 483 | '("pkginfo\\'") | 495 | '("pkginfo\\'") |
| 484 | nil | 496 | nil |
| 485 | "Mode for Sys V pkginfo files.")) | 497 | "Mode for Sys V pkginfo files." |
| 498 | :group 'generic-x)) | ||
| 486 | 499 | ||
| 487 | ;; Javascript mode | 500 | ;; Javascript mode |
| 488 | ;; Includes extra keywords from Armando Singer [asinger@MAIL.COLGATE.EDU] | 501 | ;; Includes extra keywords from Armando Singer [asinger@MAIL.COLGATE.EDU] |
| @@ -559,7 +572,8 @@ generic-x to enable the specified modes." | |||
| 559 | (setq imenu-generic-expression | 572 | (setq imenu-generic-expression |
| 560 | '((nil "^function\\s-+\\([A-Za-z0-9_]+\\)" 1) | 573 | '((nil "^function\\s-+\\([A-Za-z0-9_]+\\)" 1) |
| 561 | ("*Variables*" "^var\\s-+\\([A-Za-z0-9_]+\\)" 1)))))) | 574 | ("*Variables*" "^var\\s-+\\([A-Za-z0-9_]+\\)" 1)))))) |
| 562 | "Mode for JavaScript files.") | 575 | "Mode for JavaScript files." |
| 576 | :group 'generic-x) | ||
| 563 | 577 | ||
| 564 | ;; VRML files | 578 | ;; VRML files |
| 565 | (define-generic-mode vrml-generic-mode | 579 | (define-generic-mode vrml-generic-mode |
| @@ -610,7 +624,8 @@ generic-x to enable the specified modes." | |||
| 610 | ("*Definitions*" | 624 | ("*Definitions*" |
| 611 | "DEF\\s-+\\([-A-Za-z0-9_]+\\)\\s-+\\([A-Za-z0-9]+\\)\\s-*{" | 625 | "DEF\\s-+\\([-A-Za-z0-9_]+\\)\\s-+\\([A-Za-z0-9]+\\)\\s-*{" |
| 612 | 1)))))) | 626 | 1)))))) |
| 613 | "Generic Mode for VRML files.") | 627 | "Generic Mode for VRML files." |
| 628 | :group 'generic-x) | ||
| 614 | 629 | ||
| 615 | ;; Java Manifests | 630 | ;; Java Manifests |
| 616 | (define-generic-mode java-manifest-generic-mode | 631 | (define-generic-mode java-manifest-generic-mode |
| @@ -629,7 +644,8 @@ generic-x to enable the specified modes." | |||
| 629 | (2 font-lock-constant-face))) | 644 | (2 font-lock-constant-face))) |
| 630 | '("[mM][aA][nN][iI][fF][eE][sS][tT]\\.[mM][fF]\\'") | 645 | '("[mM][aA][nN][iI][fF][eE][sS][tT]\\.[mM][fF]\\'") |
| 631 | nil | 646 | nil |
| 632 | "Mode for Java Manifest files") | 647 | "Mode for Java Manifest files" |
| 648 | :group 'generic-x) | ||
| 633 | 649 | ||
| 634 | ;; Java properties files | 650 | ;; Java properties files |
| 635 | (define-generic-mode java-properties-generic-mode | 651 | (define-generic-mode java-properties-generic-mode |
| @@ -659,7 +675,8 @@ generic-x to enable the specified modes." | |||
| 659 | (lambda () | 675 | (lambda () |
| 660 | (setq imenu-generic-expression | 676 | (setq imenu-generic-expression |
| 661 | '((nil "^\\([^#! \t\n\r=:]+\\)" 1)))))) | 677 | '((nil "^\\([^#! \t\n\r=:]+\\)" 1)))))) |
| 662 | "Mode for Java properties files.") | 678 | "Mode for Java properties files." |
| 679 | :group 'generic-x) | ||
| 663 | 680 | ||
| 664 | ;; C shell alias definitions | 681 | ;; C shell alias definitions |
| 665 | (when (memq 'alias-generic-mode generic-extras-enable-list) | 682 | (when (memq 'alias-generic-mode generic-extras-enable-list) |
| @@ -677,7 +694,8 @@ generic-x to enable the specified modes." | |||
| 677 | (lambda () | 694 | (lambda () |
| 678 | (setq imenu-generic-expression | 695 | (setq imenu-generic-expression |
| 679 | '((nil "^\\(alias\\|unalias\\)\\s-+\\([-a-zA-Z0-9_]+\\)" 2)))))) | 696 | '((nil "^\\(alias\\|unalias\\)\\s-+\\([-a-zA-Z0-9_]+\\)" 2)))))) |
| 680 | "Mode for C Shell alias files.")) | 697 | "Mode for C Shell alias files." |
| 698 | :group 'generic-x)) | ||
| 681 | 699 | ||
| 682 | ;;; Windows RC files | 700 | ;;; Windows RC files |
| 683 | ;; Contributed by ACorreir@pervasive-sw.com (Alfred Correira) | 701 | ;; Contributed by ACorreir@pervasive-sw.com (Alfred Correira) |
| @@ -769,7 +787,8 @@ generic-x to enable the specified modes." | |||
| 769 | (2 font-lock-variable-name-face nil t)))) | 787 | (2 font-lock-variable-name-face nil t)))) |
| 770 | '("\\.[rR][cC]$") | 788 | '("\\.[rR][cC]$") |
| 771 | nil | 789 | nil |
| 772 | "Generic mode for MS-Windows Resource files.")) | 790 | "Generic mode for MS-Windows Resource files." |
| 791 | :group 'generic-x)) | ||
| 773 | 792 | ||
| 774 | ;; InstallShield RUL files | 793 | ;; InstallShield RUL files |
| 775 | ;; Contributed by Alfred.Correira@Pervasive.Com | 794 | ;; Contributed by Alfred.Correira@Pervasive.Com |
| @@ -1389,7 +1408,8 @@ generic-x to enable the specified modes." | |||
| 1389 | font-lock-variable-name-face "[^_]" "[^_]"))) ; is this face the best choice? | 1408 | font-lock-variable-name-face "[^_]" "[^_]"))) ; is this face the best choice? |
| 1390 | '("\\.[rR][uU][lL]$") | 1409 | '("\\.[rR][uU][lL]$") |
| 1391 | '(generic-rul-mode-setup-function) | 1410 | '(generic-rul-mode-setup-function) |
| 1392 | "Generic mode for InstallShield RUL files.") | 1411 | "Generic mode for InstallShield RUL files." |
| 1412 | :group 'generic-x) | ||
| 1393 | 1413 | ||
| 1394 | (define-skeleton rul-if | 1414 | (define-skeleton rul-if |
| 1395 | "Insert an if statement." | 1415 | "Insert an if statement." |
| @@ -1437,7 +1457,8 @@ generic-x to enable the specified modes." | |||
| 1437 | (2 font-lock-variable-name-face))) | 1457 | (2 font-lock-variable-name-face))) |
| 1438 | '("\\.mailrc\\'") | 1458 | '("\\.mailrc\\'") |
| 1439 | nil | 1459 | nil |
| 1440 | "Mode for mailrc files.") | 1460 | "Mode for mailrc files." |
| 1461 | :group 'generic-x) | ||
| 1441 | 1462 | ||
| 1442 | ;; Inetd.conf | 1463 | ;; Inetd.conf |
| 1443 | (when (memq 'inetd-conf-generic-mode generic-extras-enable-list) | 1464 | (when (memq 'inetd-conf-generic-mode generic-extras-enable-list) |
| @@ -1457,7 +1478,8 @@ generic-x to enable the specified modes." | |||
| 1457 | (function | 1478 | (function |
| 1458 | (lambda () | 1479 | (lambda () |
| 1459 | (setq imenu-generic-expression | 1480 | (setq imenu-generic-expression |
| 1460 | '((nil "^\\([-A-Za-z0-9_]+\\)" 1)))))))) | 1481 | '((nil "^\\([-A-Za-z0-9_]+\\)" 1)))))) |
| 1482 | :group 'generic-x)) | ||
| 1461 | 1483 | ||
| 1462 | ;; Services | 1484 | ;; Services |
| 1463 | (when (memq 'etc-services-generic-mode generic-extras-enable-list) | 1485 | (when (memq 'etc-services-generic-mode generic-extras-enable-list) |
| @@ -1475,7 +1497,8 @@ generic-x to enable the specified modes." | |||
| 1475 | (function | 1497 | (function |
| 1476 | (lambda () | 1498 | (lambda () |
| 1477 | (setq imenu-generic-expression | 1499 | (setq imenu-generic-expression |
| 1478 | '((nil "^\\([-A-Za-z0-9_]+\\)" 1)))))))) | 1500 | '((nil "^\\([-A-Za-z0-9_]+\\)" 1)))))) |
| 1501 | :group 'generic-x)) | ||
| 1479 | 1502 | ||
| 1480 | ;; Password and Group files | 1503 | ;; Password and Group files |
| 1481 | (when (memq 'etc-passwd-generic-mode generic-extras-enable-list) | 1504 | (when (memq 'etc-passwd-generic-mode generic-extras-enable-list) |
| @@ -1517,7 +1540,8 @@ generic-x to enable the specified modes." | |||
| 1517 | (function | 1540 | (function |
| 1518 | (lambda () | 1541 | (lambda () |
| 1519 | (setq imenu-generic-expression | 1542 | (setq imenu-generic-expression |
| 1520 | '((nil "^\\([-A-Za-z0-9_]+\\):" 1)))))))) | 1543 | '((nil "^\\([-A-Za-z0-9_]+\\):" 1)))))) |
| 1544 | :group 'generic-x)) | ||
| 1521 | 1545 | ||
| 1522 | ;; Fstab | 1546 | ;; Fstab |
| 1523 | (when (memq 'etc-fstab-generic-mode generic-extras-enable-list) | 1547 | (when (memq 'etc-fstab-generic-mode generic-extras-enable-list) |
| @@ -1567,7 +1591,8 @@ generic-x to enable the specified modes." | |||
| 1567 | (function | 1591 | (function |
| 1568 | (lambda () | 1592 | (lambda () |
| 1569 | (setq imenu-generic-expression | 1593 | (setq imenu-generic-expression |
| 1570 | '((nil "^\\([/-A-Za-z0-9_]+\\)\\s-+" 1)))))))) | 1594 | '((nil "^\\([/-A-Za-z0-9_]+\\)\\s-+" 1)))))) |
| 1595 | :group 'generic-x)) | ||
| 1571 | 1596 | ||
| 1572 | ;; From Jacques Duthen <jacques.duthen@sncf.fr> | 1597 | ;; From Jacques Duthen <jacques.duthen@sncf.fr> |
| 1573 | (eval-when-compile | 1598 | (eval-when-compile |
| @@ -1609,7 +1634,8 @@ generic-x to enable the specified modes." | |||
| 1609 | nil ;; no auto-mode-alist | 1634 | nil ;; no auto-mode-alist |
| 1610 | ;; '(show-tabs-generic-mode-hook-fun) | 1635 | ;; '(show-tabs-generic-mode-hook-fun) |
| 1611 | nil | 1636 | nil |
| 1612 | "Generic mode to show tabs and trailing spaces") | 1637 | "Generic mode to show tabs and trailing spaces" |
| 1638 | :group 'generic-x) | ||
| 1613 | 1639 | ||
| 1614 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 1640 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 1615 | ;; DNS modes | 1641 | ;; DNS modes |
| @@ -1630,7 +1656,8 @@ generic-x to enable the specified modes." | |||
| 1630 | ;; List of additional automode-alist expressions | 1656 | ;; List of additional automode-alist expressions |
| 1631 | '("/etc/named.boot\\'") | 1657 | '("/etc/named.boot\\'") |
| 1632 | ;; List of set up functions to call | 1658 | ;; List of set up functions to call |
| 1633 | nil) | 1659 | nil |
| 1660 | :group 'generic-x) | ||
| 1634 | 1661 | ||
| 1635 | (define-generic-mode named-database-generic-mode | 1662 | (define-generic-mode named-database-generic-mode |
| 1636 | ;; List of comment characters | 1663 | ;; List of comment characters |
| @@ -1643,7 +1670,8 @@ generic-x to enable the specified modes." | |||
| 1643 | ;; List of additional automode-alist expressions | 1670 | ;; List of additional automode-alist expressions |
| 1644 | nil | 1671 | nil |
| 1645 | ;; List of set up functions to call | 1672 | ;; List of set up functions to call |
| 1646 | nil) | 1673 | nil |
| 1674 | :group 'generic-x) | ||
| 1647 | 1675 | ||
| 1648 | (defvar named-database-time-string "%Y%m%d%H" | 1676 | (defvar named-database-time-string "%Y%m%d%H" |
| 1649 | "Timestring for named serial numbers.") | 1677 | "Timestring for named serial numbers.") |
| @@ -1663,7 +1691,8 @@ generic-x to enable the specified modes." | |||
| 1663 | ;; List of additional automode-alist expressions | 1691 | ;; List of additional automode-alist expressions |
| 1664 | '("/etc/resolv[e]?.conf\\'") | 1692 | '("/etc/resolv[e]?.conf\\'") |
| 1665 | ;; List of set up functions to call | 1693 | ;; List of set up functions to call |
| 1666 | nil) | 1694 | nil |
| 1695 | :group 'generic-x) | ||
| 1667 | 1696 | ||
| 1668 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 1697 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 1669 | ;; Modes for spice and common electrical engineering circuit netlist formats | 1698 | ;; Modes for spice and common electrical engineering circuit netlist formats |
| @@ -1705,7 +1734,8 @@ generic-x to enable the specified modes." | |||
| 1705 | (function | 1734 | (function |
| 1706 | (lambda() | 1735 | (lambda() |
| 1707 | (setq font-lock-defaults '(generic-font-lock-keywords nil t))))) | 1736 | (setq font-lock-defaults '(generic-font-lock-keywords nil t))))) |
| 1708 | "Generic mode for SPICE circuit netlist files.") | 1737 | "Generic mode for SPICE circuit netlist files." |
| 1738 | :group 'generic-x) | ||
| 1709 | 1739 | ||
| 1710 | (define-generic-mode ibis-generic-mode | 1740 | (define-generic-mode ibis-generic-mode |
| 1711 | '(?|) | 1741 | '(?|) |
| @@ -1714,7 +1744,8 @@ generic-x to enable the specified modes." | |||
| 1714 | ("\\(\\(_\\|\\w\\)+\\)\\s-*=" 1 font-lock-variable-name-face)) | 1744 | ("\\(\\(_\\|\\w\\)+\\)\\s-*=" 1 font-lock-variable-name-face)) |
| 1715 | '("\\.[iI][bB][sS]\\'") | 1745 | '("\\.[iI][bB][sS]\\'") |
| 1716 | '(generic-bracket-support) | 1746 | '(generic-bracket-support) |
| 1717 | "Generic mode for IBIS circuit netlist files.") | 1747 | "Generic mode for IBIS circuit netlist files." |
| 1748 | :group 'generic-x) | ||
| 1718 | 1749 | ||
| 1719 | (define-generic-mode astap-generic-mode | 1750 | (define-generic-mode astap-generic-mode |
| 1720 | nil | 1751 | nil |
| @@ -1749,7 +1780,8 @@ generic-x to enable the specified modes." | |||
| 1749 | (function | 1780 | (function |
| 1750 | (lambda() | 1781 | (lambda() |
| 1751 | (setq font-lock-defaults '(generic-font-lock-keywords nil t))))) | 1782 | (setq font-lock-defaults '(generic-font-lock-keywords nil t))))) |
| 1752 | "Generic mode for ASTAP circuit netlist files.") | 1783 | "Generic mode for ASTAP circuit netlist files." |
| 1784 | :group 'generic-x) | ||
| 1753 | 1785 | ||
| 1754 | (define-generic-mode etc-modules-conf-generic-mode | 1786 | (define-generic-mode etc-modules-conf-generic-mode |
| 1755 | ;; List of comment characters | 1787 | ;; List of comment characters |
| @@ -1791,7 +1823,8 @@ generic-x to enable the specified modes." | |||
| 1791 | ;; List of additional automode-alist expressions | 1823 | ;; List of additional automode-alist expressions |
| 1792 | '("/etc/modules.conf" "/etc/conf.modules") | 1824 | '("/etc/modules.conf" "/etc/conf.modules") |
| 1793 | ;; List of set up functions to call | 1825 | ;; List of set up functions to call |
| 1794 | nil) | 1826 | nil |
| 1827 | :group 'generic-x) | ||
| 1795 | 1828 | ||
| 1796 | (provide 'generic-x) | 1829 | (provide 'generic-x) |
| 1797 | 1830 | ||