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

[REBOL] Re: Problem with emacs mode

From: chris:starforge at: 28-Apr-2001 13:26

#28-Apr-01# Message from *Chris*: Hi Chris,
> 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 :(
They say that replying to your own mails is a sure sign of insanity (in which case I'm ahead of the game..) but some protracted work with google had finally turned up the answer for me. Just incase anyone else suffers at the hands of syntax based indentation all you need to do is add (local-set-key (kbd "TAB") 'indent-relative) to the hook for the modes you use, for example: (add-hook 'rebol-mode-hook '((local-set-key (kbd "TAB") 'indent-relative)) Chris -- New sig in the works Explorer 2260, Designer and Coder http://www.starforge.co.uk -- Why do you sit there looking like an envelope without any address on it? -- Mark Twain