[e-lang] Proposed fix : emacs e-mode indentation not working
Pierre Radermecker
pradermecker at yahoo.ca
Fri Nov 23 21:48:31 EST 2007
Pierre Radermecker wrote:
> I am trying to set up Emacs for E using emacs 22.1 on a linux desktop
> (ubuntu 7.10) and E version 0.91.
>
> Using the custom-e-mode I can get the *E emulator* buffer and feed lines
> of code. Unfortunately the indentation does not work. I have the
> following error:
>
> indent-according-to-mode: Symbol's function definition is void:
> c-indent-line
>
> By adding (require 'cc-mode) at the top of the file, I seem to go a
> little bit further by getting this error :
>
> c-looking-at-decl-block: Wrong type argument: stringp, nil
>
> I don't know what I should do to make the function "c-indent-line" work
> correctly.
>
> Any help would be appreciated. Thanks in advance.
>
> Regards,
>
I have managed to make it work by modifying the file custom-e-mode.
I have just added one line with
(c-mode)
in the function (defun run-e () ...
I am not sure this is the correct way to fix it but well ...
It would be nice to have a correction in the svn repository.
Regards,
--
Pierre
More information about the e-lang
mailing list