Hi,
If you use (global-ede-mode 1) it will activate EDE in those modes for
you. As it turns out, you can't init EDE until after user hooks run.
EDE uses find-file-hook, which runs after misc modes are setup.
If you want to control which buffers get EDE treatment, you should
instead just configure which kinds of projects you want to use, and EDE
will only activate for those matching those project types.
Good Luck
Eric
On 05/10/2012 11:18 AM, Ronald Parker Jr wrote:
> Hello all,
>
> I am having problems activating EDE minor modes. Both ede-minor-mode and ede-dired-minor-mode. If I add
>
> (ede-dired-minor-mode 1)
>
> into my dired-mode-hook I get a "Not in DIRED mode" message. I also have a place where I added
>
> (ede-minor-mode -1)
>
> to another hook and it did not take effect. In both cases if I wrap it in
>
> (run-at-time "1 sec" nil (lambda () ... ))
>
> it works but this is a horrible hack. I tested it just now using
>
> GNU Emacs 23.3.1 (i386-pc-solaris2.11, GTK+ Version 2.20.0) of 2011-11-18 on sfebuildb.uk.openindiana.org
>
> but I know I've had the (ede-minor-mode -1) issue on Linux and other builds of emacs as well.
>
> Thanks,
>
|