From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075322406514.tru64-unix-managers.marc@archive.invalid> From: erik () petaxp ! rug ! ac ! be Date: Thu, 10 Aug 1995 14:51:07 +0000 To: tru64-unix-managers Subject: bug in XEmacs 19.12 on OSF/1 3.0 ? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075322406514 Hello all, I've come across a bug in cc-mode of XEmacs 19.12. This bug does't appear on other platforms, so I'm trying to determine wether this is a feature of our computer, or wether this bug appears on every Alpha running OSF/1. If you are a user of XEmacs 19.12 (only the latest version, it works fine in all previous versions) and you can spare a few minutes of your time, please try the following ... 1) Cut and paste the following piece of code into a `.c'-file int test(int x) { if (x == 1); if (x == 1) { } switch(x) { } if (x == 1) { } if (x == 1) return(1); else return(2); } 2) Load this file in XEmacs (under cc-mode) 3) Set the indentation style explicitly to BSD style (M-x c-set-style BSD) 4) Try to re-indent this piece of code, either by pressing TAB on every line, either by marking the whole text and using `indent-region' What I experience on my machine is wrong indentation (not ugly but plain wrong) and an error message on the line containing the `else' statement. Please let me know wether you experience the same weird behaviour, or wether you just get an indented piece of non-sensical C-code. Please tell me also if you use the pre-compiled version of XEmacs for OSF/1, or if you built XEmacs yourself. Thanks for your time, Erik ,,, (0 0) +----oOO----(_)-----------+ | Erik Sundermann | " You know how Einstein got bad grades as | erik@petaxp.rug.ac.be | | RUG - ELIS Department | a kid ? Well, mine are even worse ! " | Univ. of Ghent, Belgium | +------------------oOO----+ (Calvin) |__|__| || || ooO Ooo