I can send you a very small amount of emacs-lisp that will allow you to
select a "jboss" (should probably be called "rickard") indenting mode. I
don't have this on me at present but I can grab it if you want. If you
want somewhere to start, look at the documentation for c-offsets-alist
(C-h v c-offsets-alist) and c-set-style (C-h f c-set-style).

This whole discussion is stupid. I'm sorry I started it. The conclusion
seems to be:

  Do what you want.

What tools (or inability to use tools) force you to do is strictly a
personal problem. Please let this be the end of this thread (apart from
any comments actually about "Proxy & handle changes").

Regards,
Toby.

P.S. Feel free to ignore me. I haven't actually contributed anything
substantial (yet!) other than opinions and flamebait :-)

Jason Dillon wrote:
> 
> I would have to agree with Marc on this, though I am sure that I could tell
> [X]Emacs to format the below correctly, since I get the same odd
> indentation behavior for this style... unfortunatly the c/java mode for
> emacs is not terribly straight forward (that and it being (l(i(s(p))))...
> which hurts my eyes even more.
> 
> --jason
> 
> On Thu, 14 Dec 2000, Rickard �berg wrote:
> 
> > Hi!
> >
> > marc fleury wrote:
> > >
> > > Well,
> > >
> > > you know what I really think is that
> > >
> > > method
> > > {
> > > }
> > >
> > > is an eye sore
> > >
> > > even more so
> > > if
> > > {
> > >    bla
> > > }
> > > else
> > > {
> > >    ble
> > > }
> >
> > This is the only style I can read :-) The more compact versions are just
> > hopeless for finding what braces belong together. IMHO of course.
> >
> > > because it is non-standard SUN, my tools don't like it either
> > > and indent like crap  (as following) :(
> > >
> > > if
> > >    {
> > >          bla
> > >    }
> > > else
> > >    {
> > >        ble
> > >    }
> >
> > A tool problem. I can tell KAWA to do it either way. You don't have that
> > option somewhere?
> >
> > /Rickard
> >
> >

-- 
Toby Allsopp
Energy Research Lab
Peace Software International Ltd
Ph +64-9-3730400

Reply via email to