Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Problem with emacs mode

From: d4marcus:dtek:chalmers:se at: 28-Apr-2001 20:36

On Sat, 28 Apr 2001, Chris wrote:
> After Code Crusader died when I upgraded to Mandrake 8, I had to go back > to Emacs for editing. I downloaded the latest version of the rebol.el file, > which seems to work fine. The mode itself becomes a little confused if > speechmarks are used as part of html generation - if I have one speechmark > in a data file, and another in the script it becomes confused about what is > a string and what isn't.
I don't quite follow. What is a speechmark?
> And I guess that's the cause of the problem I'm having: the indent doesn't > work properly. In one place in my code I'm closing an if block - it should > be indented 8 characters from the left, but rebol.el wants to put it out at > 60 characters!
You got to show me an example of this. The indentation is all redone, which means there could be a couple of bugs in it (so far I have found one myself). Nevertheless, 5 times wrong seem a little too much.
> I find auto-indent annoying enough in any mode, but this makes an otherwise > great mode almost unusable. How can I completely deactivate the indent in > emacs? I've never been able to find out how :(
I didn't find any function or variable called auto-indent in Emacs. If you are referring to the automatic indentation when you press return, the README tells you how to turn it off. Marcus ------------------------------------ If you find that life spits on you calm down and pretend it's raining