(setq major-mode 'emacs-lisp-mode)
(setq mode-name "Emacs-Lisp")
(lisp-mode-variables nil)
+ (setq imenu-case-fold-search nil)
(run-hooks 'emacs-lisp-mode-hook))
(defvar lisp-mode-map ()
(setq major-mode 'lisp-mode)
(setq mode-name "Lisp")
(lisp-mode-variables t)
+ (setq imenu-case-fold-search t)
(set-syntax-table lisp-mode-syntax-table)
(run-hooks 'lisp-mode-hook))
;; ACorreir@pervasive-sw.com (Alfred Correira)
;;; Change log:
-;; $Log: generic-mode.el,v $
+;; $Log: generic.el,v $
+;; Revision 1.1 1997/06/15 07:01:26 rms
+;; Initial revision
+;;
;; Revision 1.6 1996/11/01 17:27:47 peter
;; Changed the function generic-function-name to return a string instead
;; of a symbol. Generic-mode now uses this for the mode's name
;; Support for [KEYWORD] constructs found in INF, INI and Samba files
(defun generic-bracket-support ()
(setq imenu-generic-expression
- '((nil "^\\[\\(.*\\)\\]" 1))))
+ '((nil "^\\[\\(.*\\)\\]" 1))
+ imenu-case-fold-search t))
;; This generic mode is always defined
(define-generic-mode 'default-generic-mode (list ?#) nil nil nil nil)
(make-local-variable 'imenu-generic-expression)
(setq imenu-generic-expression ada-imenu-generic-expression)
+ (setq imenu-case-fold-search t)
(if (ada-xemacs) nil ; XEmacs uses properties
(make-local-variable 'font-lock-defaults)
(setq parse-sexp-ignore-comments t)
(make-local-variable 'imenu-generic-expression)
(setq imenu-generic-expression c-imenu-generic-expression)
+ (setq imenu-case-fold-search nil)
(run-hooks 'c-mode-hook))
(defun c-outline-level ()
c-class-key c-C-class-key
c-baseclass-key nil
c-comment-start-regexp c-C++-comment-start-regexp
- imenu-generic-expression cc-imenu-c-generic-expression)
+ imenu-generic-expression cc-imenu-c-generic-expression
+ imenu-case-fold-search nil)
(run-hooks 'c-mode-common-hook)
(run-hooks 'c-mode-hook)
(c-update-modeline))
c-class-key c-C++-class-key
c-access-key c-C++-access-key
c-recognize-knr-p nil
- imenu-generic-expression cc-imenu-c++-generic-expression)
+ imenu-generic-expression cc-imenu-c++-generic-expression
+ imenu-case-fold-search nil)
(run-hooks 'c-mode-common-hook)
(run-hooks 'c++-mode-hook)
(c-update-modeline))
c-access-key c-Java-access-key
;defun-prompt-regexp c-Java-defun-prompt-regexp
imenu-generic-expression cc-imenu-java-generic-expression
+ imenu-case-fold-search nil
)
(c-set-style "java")
(run-hooks 'c-mode-common-hook)
(set (make-local-variable 'parse-sexp-ignore-comments) t)
(make-local-variable 'imenu-generic-expression)
(setq imenu-generic-expression c++-imenu-generic-expression)
+ (setq imenu-case-fold-search nil)
(run-hooks 'c++-mode-hook)
(if c++-electric-colon
(define-key c++-mode-map ":" 'electric-c++-terminator)))
(setq comment-start-skip "\\$[ \t]*![ \t]*")
(if (boundp 'imenu-generic-expression)
- (setq imenu-generic-expression dcl-imenu-generic-expression))
+ (progn (setq imenu-generic-expression dcl-imenu-generic-expression)
+ (setq imenu-case-fold-search t)))
(setq imenu-create-index-function 'dcl-imenu-create-index-function)
(make-local-variable 'dcl-comment-line-regexp)
(setq font-lock-defaults '(f90-font-lock-keywords nil t))
;; Tell imenu how to handle f90.
+ (setq imenu-case-fold-search t)
(make-local-variable 'imenu-generic-expression)
(setq imenu-generic-expression f90-imenu-generic-expression))
(run-hooks 'f90-mode-hook)
(setq font-lock-defaults '(octave-font-lock-keywords nil nil))
(make-local-variable 'imenu-generic-expression)
- (setq imenu-generic-expression octave-mode-imenu-generic-expression)
+ (setq imenu-generic-expression octave-mode-imenu-generic-expression
+ imenu-case-fold-search nil)
(octave-add-octave-menu)
(octave-initialize-completions)
;; Imenu support
(make-local-variable 'imenu-generic-expression)
(setq imenu-generic-expression pascal-imenu-generic-expression)
+ (setq imenu-case-fold-search t)
(run-hooks 'pascal-mode-hook))
\f
;; Tell imenu how to handle Perl.
(make-local-variable 'imenu-generic-expression)
(setq imenu-generic-expression perl-imenu-generic-expression)
+ (setq imenu-case-fold-search nil)
(run-hooks 'perl-mode-hook))
\f
;; This is used by indent-for-comment
(set lisp-indent-function 'scheme-indent-function)
(setq mode-line-process '("" scheme-mode-line-process))
(make-local-variable 'imenu-generic-expression)
- (setq imenu-generic-expression scheme-imenu-generic-expression))
+ (setq imenu-generic-expression scheme-imenu-generic-expression)
+ (setq imenu-case-fold-search t))
(defvar scheme-mode-line-process "")
(run-hooks 'scheme-mode-hook)
(run-hooks 'dsssl-mode-hook)
(scheme-mode-variables)
- (setq imenu-generic-expression dsssl-imenu-generic-expression))
+ (setq imenu-generic-expression dsssl-imenu-generic-expression)
+ (setq imenu-case-fold-search nil))
;; Extra syntax for DSSSL. This isn't separated from Scheme, but
;; shouldn't cause much trouble in scheme-mode.
sh-shell-variables nil
sh-shell-variables-initialized nil
imenu-generic-expression (sh-feature sh-imenu-generic-expression)
+ imenu-case-fold-search nil
shell (sh-feature sh-variables))
(set-syntax-table (sh-feature sh-mode-syntax-table))
(while shell
(bibtex-beginning-of-entry)))
(setq imenu-generic-expression
(list (list nil bibtex-reference-head bibtex-key-in-head)))
+ (setq imenu-case-fold-search t)
(run-hooks 'bibtex-mode-hook))
(defun bibtex-submit-bug-report ()
(setq words-include-escapes t)
(make-local-variable 'imenu-generic-expression)
(setq imenu-generic-expression texinfo-imenu-generic-expression)
+ (setq imenu-case-fold-search nil)
(make-local-variable 'font-lock-defaults)
(setq font-lock-defaults '(texinfo-font-lock-keywords t))
(make-local-variable 'outline-regexp)