Thread overview | ||||||
---|---|---|---|---|---|---|
|
December 07, 2003 emacs d-mode update | ||||
---|---|---|---|---|
| ||||
Fixes the design-by-contract indenting bug. The fix is pretty weak. It just considers the in/out contracts and the body as new toplevel defun blocks. This means skipping from defun to defun will go through each contract instead of treating the entire function as one defun. I tried playing around with cc-engine.el to get different behavior but it was a PITY (pain in the youknow). You can get it at http://home.comcast.net/~benhinkle/d-mode.zip I can't seem to get through to http://dlanguage.netunify.com/38 so I'll update that link sometime else. good luck, -Ben |
December 07, 2003 Re: emacs d-mode update | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ben Hinkle | Ben Hinkle wrote: > Fixes the design-by-contract indenting bug. > The fix is pretty weak. It just considers the in/out contracts and the body > as new toplevel defun blocks. This means skipping from defun to defun will > go through each contract instead of treating the entire function as one > defun. I tried playing around with cc-engine.el to get different behavior > but it was a PITY (pain in the youknow). > > You can get it at > http://home.comcast.net/~benhinkle/d-mode.zip > > I can't seem to get through to http://dlanguage.netunify.com/38 so I'll > update that link sometime else. I put a link to your on Wiki4D at http://www.wikiservice.at/d/wiki.cgi?EditorSupport#Emacs In my experience, it's easier to edit than DWiki (netunify), so if I missed something, click on "Edit" and edit away... I don't know what the problem with the netunify Wiki is, but been it's down for weeks before and suddenly it was online again. And now it's disappeared again for a few weeks. I've copied most of the text to http://www.wikiservice.at/d/wiki.cgi?DWiki/FrontPage from pages I'd saved to my hard drive. Justin > > good luck, > -Ben |
December 07, 2003 Re: emacs d-mode update | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ben Hinkle | BTW, where can I get font-lock? (sorry, zero previous experience with emacs) ————————————————————————— Carlos Santander --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.545 / Virus Database: 339 - Release Date: 2003-11-27 |
December 07, 2003 Re: emacs d-mode update | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos Santander B. Attachments: | Its included, use : M-x font-lock-mode Where M is meta ( ive never seen a meta key, its always meant alt [or escape] to me ). Ive included my .emacs file just to show you some customizations, automatic loadings etc. The (global-font-lock-mode t) line turns it on for all files. Cheers, hope you like emacs! ( C-h ? will give more help [ where C is control] ) "Carlos Santander B." <carlos8294@msn.com> wrote in message news:br04n1$1ntu$1@digitaldaemon.com... > BTW, where can I get font-lock? (sorry, zero previous experience with emacs) > > ------------------------- > Carlos Santander > > > --- > > Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.545 / Virus Database: 339 - Release Date: 2003-11-27 > > |
Copyright © 1999-2021 by the D Language Foundation