Re: ECB attempts to upgrade my configuration every time I activate it

"Duncan Bayne" <[email protected]>
Newsgroups gmane.emacs.code-browser
Message-ID <[email protected]>
>
> Just write below in your ~/.emacs :
>
> (custom-set-variables '(ecb-options-version "2.32"))
> (setq ecb-tip-of-the-day nil)


I tried that - both in C:\.emacs (which is where it's looking for my .emacs
file) and in default.el.  My default.el now looks like this:

(add-to-list 'load-path
>              "../ruby-mode")
>
> (add-to-list 'load-path
>              "../ecb-2.32")
>
> (add-to-list 'load-path
>              "../cedet-1.0pre4/common")
>
> ;; ----------------------- RUBY
> (global-font-lock-mode 1)
> (autoload 'ruby-mode "ruby-mode" "Ruby editing mode." t)
> (setq auto-mode-alist  (cons '("\\.rb$" . ruby-mode) auto-mode-alist))
> (setq auto-mode-alist  (cons '("\\.rhtml$" . html-mode) auto-mode-alist))
> (setq auto-mode-alist  (cons '("\\.erb$" . html-mode) auto-mode-alist))
>
> ;; ----------------------- CEDET
> (load-file "../cedet-1.0pre4/common/cedet.el")
>
> ;; Enabling various SEMANTIC minor modes.  See semantic/INSTALL for more
> ideas.
> ;; Select one of the following:
>
> ;; * This enables the database and idle reparse engines
> ;;(semantic-load-enable-minimum-features)
>
> ;; * This enables some tools useful for coding, such as summary mode
> ;;   imenu support, and the semantic navigator
> (semantic-load-enable-code-helpers)
>
> ;; * This enables even more coding tools such as the nascent intellisense
> mode
> ;;   decoration mode, and stickyfunc mode (plus regular code helpers)
> ;; (semantic-load-enable-guady-code-helpers)
>
> ;; * This turns on which-func support (Plus all other code helpers)
> ;; (semantic-load-enable-excessive-code-helpers)
>
> ;; This turns on modes that aid in grammar writing and semantic tool
> ;; development.  It does not enable any other features such as code
> ;; helpers above.
> ;; (semantic-load-enable-semantic-debugging-helpers)
>
> ;; ----------------------- ECB
> (require 'ecb)
> (require 'ecb-autoloads)
>
> (setq ecb-tip-of-the-day nil)
> (custom-set-variables
>   ;; custom-set-variables was added by Custom -- don't edit or cut/paste
> it!
>   ;; Your init file should contain only one such instance.
>  '(ecb-gzip-setup (quote cons))
>  '(ecb-options-version "2.32")
>  '(ecb-tar-setup (quote cons))
>  '(ecb-wget-setup (quote cons)))
>
> (custom-set-faces
>   ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
>   ;; Your init file should contain only one such instance.
>  )
>
> (ecb-activate)
>

I know that it's looking in default.el because, well, ECB is loading and
activating on Emacs startup.  But it seems to be ignoring both the tip of
the day and the ecb-options-version settings :-(

It may help to point out that I'm reasonably new to Emacs, so it might be
that I'm misunderstanding something fundamental here ...

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Ecb-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecb-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.