Case-insenstive TAGS for FORTRAN etc

"Stephen J. Turnbull" <[email protected]> Mon, 10 May 2004 20:58:56 +0900
Newsgroups gmane.emacs.xemacs.beta,gmane.emacs.xemacs.design
Organization The XEmacs Project
Message-ID <[email protected]>
Moving discussion to xemacs-design.  Reply-To set.

>>>>> "Tim" == Tim Connors <[email protected]> writes:

    Tim> I don't suppose there is an option (or is it feasible to add
    Tim> an option) to do case insensetive lookups on (find-tag), is
    Tim> there?

try adding

(defvar tags-are-case-insensitive t)

to etags.el, search for all occurances of 'case-fold-search', replace
the binding `nil' with the binding `tags-are-case-insensitive' (I
think they're all let-bindings), and M-x byte-compile-and-load-file
RET RET.

If that works for you, let us know and we can consider the (slightly)
harder problem of arranging that tags are case-insensitive exactly
when they should be (probably a buffer-local and an addition to the
mode; main issue is what do you do with mixed-mode programming, where
a C program calls a FORTRAN subroutine or something like
that?---ignore it, probably...).


-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
            Computer screens simply ooze buckets of yang.
    To balance this, place some women around the corners of the room.
                                        -- Kaz Cooke, Dumb Feng Shui


-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.