* bug in XEmacs 19.12 on OSF/1 3.0 ?
@ 1995-08-10 14:51 erik
0 siblings, 0 replies; only message in thread
From: erik @ 1995-08-10 14:51 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-08-10 14:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-08-10 14:51 bug in XEmacs 19.12 on OSF/1 3.0 ? erik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox