I see similar oddities
andy
At 06:09 PM 5/4/01 +0200, Olivier Fambon wrote:
Hi all,
[I'm not subscribed, but I've seen a bit of similar talk...]
[This has been posted to comp.emacs.xemacs too]Path:
news.inrialpes.fr!not-for-mail
From: Olivier Fambon <Olivier.Fambon(a)inrialpes.fr>
Newsgroups: comp.emacs.xemacs
Subject: Problem with indentation in 21.4.1
Date: Thu, 03 May 2001 17:58:39 +0200
Organization: Unite de Recherche INRIA Rhone-Alpes France
Message-ID: <3AF1802F.1CADE32E(a)inrialpes.fr>
NNTP-Posting-Host: hahutu.inrialpes.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en
Xref: news.inrialpes.fr comp.emacs.xemacs:38631
Content-Transfer-Encoding: 7bit
Hi all, can anyone try this one:
class Bozo {
void func() {
if () {
if () { //
}
} else {
/* */
}
}
}
The last '}' will not indent correctly.
- removing the first // comment, or adding a */ cures the problem
- removing one level of if() does not show the problem
I already submitted this to bug-cc-modeļ¼ gnu.org... but...
It does not seem to be a cc-mode bug, coz it works in 21.1.8 with the
same cc-mode package installed.
It does not work with 21.4.0 (binary kit), nor with the version I have
compiled (21.4.1).
As I don't know excatly what depends on what in indentation...
Thanxs.
Path: news.inrialpes.fr!not-for-mail
From: Olivier Fambon <Olivier.Fambon(a)inrialpes.fr>
Newsgroups: comp.emacs.xemacs
Subject: Re: Problem with indentation in 21.4.1
Date: Thu, 03 May 2001 19:29:03 +0200
Organization: Unite de Recherche INRIA Rhone-Alpes France
Message-ID: <3AF1955F.82DE3CA5(a)inrialpes.fr>
References: <3AF1802F.1CADE32E(a)inrialpes.fr>
NNTP-Posting-Host: hahutu.inrialpes.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en
Xref: news.inrialpes.fr comp.emacs.xemacs:38632
Content-Transfer-Encoding: 7bit
If it is of interest, it's a cygwin XEmacs I am using...
XEmacs 21.4 (patch 1) "Copyleft" [Lucid] (i686-pc-cygwin) of Thu May 3
2001 on HAHUTU
Path: news.inrialpes.fr!not-for-mail
From: Olivier Fambon <Olivier.Fambon(a)inrialpes.fr>
Newsgroups: comp.emacs.xemacs
Subject: Re: Problem with indentation in 21.4.1
Date: Fri, 04 May 2001 11:51:05 +0200
Organization: Unite de Recherche INRIA Rhone-Alpes France
Message-ID: <3AF27B89.A08157E0(a)inrialpes.fr>
References: <3AF1802F.1CADE32E(a)inrialpes.fr> <3AF1955F.82DE3CA5(a)inrialpes.fr>
NNTP-Posting-Host: hahutu.inrialpes.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en
Xref: news.inrialpes.fr comp.emacs.xemacs:38659
Content-Transfer-Encoding: 7bit
Olivier Fambon wrote:
>
> If it is of interest, it's a cygwin XEmacs I am using...
>
> XEmacs 21.4 (patch 1) "Copyleft" [Lucid] (i686-pc-cygwin) of Thu May 3
> 2001 on HAHUTU
Same verdict on a Linux:
XEmacs 21.4 (patch 1) "Copyleft" [Lucid] (i686-pc-linux) of Fri May 4
2001 on sci-serv.inrialpes.fr
Also note that the paren highlighting seems have a problem too (which
might be linked ?).
Forward highlighting works fine, but backwards gets mixed-up...
A problem with regexps ?