Case-insenstive TAGS for FORTRAN etc

Stephen J. Turnbull stephen at xemacs.org
Mon May 10 07:58:56 EDT 2004


Moving discussion to xemacs-design.  Reply-To set.

>>>>> "Tim" == Tim Connors <tconnors+xemacs at astro.swin.edu.au> 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.




More information about the XEmacs-Beta mailing list