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,e6bc4f8f623bcf72 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-20 01:20:17 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Ada-mode 3.6 Date: Mon, 20 Oct 2003 08:20:16 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <3f8f6122_1@news.tm.net.my> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1066638016 13255 134.91.1.34 (20 Oct 2003 08:20:16 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Mon, 20 Oct 2003 08:20:16 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:1188 Date: 2003-10-20T08:20:16+00:00 List-Id: Adrian Hoe wrote: : I installed it to xemacs 21.1.14 on Sparc/Solaris 9. Every time I : "first" open .adb and .ads files, xemacs gives me "No such face: : font-lock_constant-face". And I can't save the modified .adb and .ads : files. Sometimes, xemacs will give the above error and other time it : will give "Symbol's function definition is void: : delete-trailing-whitespace". : : On my SuSE 8.2 Linux box, the xemacs 21.4 April 2001 will not have : problem when opening .adb and .ads files. But, it will give "Symbol's : function definition is void: delete-trailing-whitespace" when trying to : save a modified .ads and .adb file. These might have to do with differing versions of emacs; (is ada-mode made with XEmacs in mind? I think it isn't) "delete-trailing-whitespace is an interactive compiled Lisp function in `simple'\ . (delete-trailing-whitespace)", so you can add the definition from GNU Emacs' simple.el, or add your own definition to your startup files. Just make sure this function is known when the ada mode functions start working. font-lock-constant-face might be different in XEmacs, too, in particular in older versions. Here is a sample find: "- XEmacs only: `font-lock-builtin-face' and `font-lock-constant-face' are now based on respectively `font-lock-preprocessor-face' and `font-lock-reference-face' if available." (XEmacs and GNU Emacs developers have/have had different views of how international character sets and fonts should be handled...) Maybe you can try basic-save-buffer instead of C-x C-s? Or remove some functions off the save hooks? HTH, georg