From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2e892980ce1447ff,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-03-17 13:51:23 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!swrinde!hookup!ames!newsfeed.gsfc.nasa.gov!news!sal714 From: sal714@rs710.gsfc.nasa.gov (Stephen A. Leake) Newsgroups: comp.lang.ada Subject: bug in ada-xref.el Date: 17 Mar 1995 20:53:50 GMT Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Distribution: world Message-ID: NNTP-Posting-Host: rs710.gsfc.nasa.gov Date: 1995-03-17T20:53:50+00:00 List-Id: I've found and patched at bug in ada-xref.el (part of the ada-mode for gnu emacs distribution). The bug prevented going to the declaration of an identifier that contained digits as part of the name (ie A2). Here's the diff output: $ diff ada-xref.el ada-xref.el.orig 409,410c409,410 < (skip-chars-backward " a-zA-Z_0-9") < (looking-at "[a-zA-Z_0-9]+") --- > (skip-chars-backward " a-zA-Z_") > (looking-at "[a-zA-Z_]+") I'm also e-mailing Markus Heritsch (listed as the author). As a general emacs style question; it would seem to be appropriate to define a function (maybe ada-identifier-syntax?) to return this string to be used wherever a regexp that matches an identifier is needed. This does not seem to be a popular idea with gnuemacs code; any comments? I realize this string does not enforce not starting with a digit, nor ending with an underscore. This is because it is only used to parse gnatf output, which does enforce those restrictions. - Stephe -- Stephen Leake, NASA Goddard Space Flight Center email: Stephen.Leake@gsfc.nasa.gov