At 02:03 PM 5/31/00 +0100, you wrote:
>>>>>> "Holger" == Holger Wilken <[EMAIL PROTECTED]> writes:
>
> Holger> Hi!
>
> Holger> I've discovered your jde-cflow.el and I really like it. But
> Holger> as a starter, there is one question left:
>
> Holger> How do I change the indentation of the brackets?
>
> Holger> For example, your "if " produces: if (xy) { some text }
>
> Holger> I would prefer if the brackets are on the same level as the
> Holger> if, making it: if (xy) { some text }
>
> Holger> Ive tried to change some > and n in the jde-cflow.el, but it
> Holger> still doesnt work. Can you tell me, how to change it?
>
>
> I think that I have seen this problem before. There seems
>to be some problem with the "indent" function in tempo. Essentially
>the solution is to stick a few more "'>" into the templates (> means
>"indent according to mode".
>
> You might also find of use a "cc-tempo-electric-support"
>package from Klaus Berndl <[EMAIL PROTECTED]>, which allows you to
>use electric characters. From the documentation for instance here is a
>template for a "for" command. The (i ?\;) commands insert for instance
>a ";" and a new line, and indent according to mode, if you use the
>electric characters of cc-mode. Similarly (i ?{) will insert a "{" on
>a new line as it would if were newly typed.
>
>
The next release (due any day now) incorporates c-flow and reimplements the
templates as customizable variables. This will allow you to modify the
templates in a customization buffer to reflect your preferred indentation
style.
- Paul
------------------------------------------------------------
TECH SUPPORT POLICY
I respond only to requests that contain a complete problem report. The
easiest way to ensure that your report is complete is to include the output
of the JDE->Help->Submit Problem Report command in your request.
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
JDE website: http://sunsite.auc.dk/jde/
JDE mailing list archive:
http://www.mail-archive.com/[email protected]/maillist.html