I encourage to delete "go-mode-load.el" end relay on package.el It delivers all we need to automatic handling new packages, and generating autoloads.
So the installation now is as simple as package-install-file go-mode.el
How to install this go-mode?I went through all Dominik's posts but didn't find it.Please advice.Thanks
On Monday, March 4, 2013 5:17:05 PM UTC-5, Robert Zaremba wrote:I encourage to delete "go-mode-load.el" end relay on package.el It delivers all we need to automatic handling new packages, and generating autoloads.
So the installation now is as simple as package-install-file go-mode.el
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
On Mon, Mar 4, 2013 at 10:23 PM, Dominik Honnef <domi...@fork-bomb.org> wrote:
The installation guide is in the go-mode-load.el file, at the very top.
Thanks,so go-mode-load.el shall be put at a place defined by the(add-to-list 'load-path "PATH CONTAINING go-mode-load.el" t)
line.Now, how about the go-mode.el and it compiled binary, where should I put them?Shall I replace my /usr/share/emacs/site-lisp/golang-mode/go-mode.el, or put it somewhere else?Is it suggested to put go-mode-load.el into /usr/share/emacs/site-lisp/golang-mode/ as well?Thanks
The installation guide is in the go-mode-load.el file, at the very top.
package.el is a package manager for Emacs. It is bundled in Emacs 24 (also available as a separate package in Emacs 23) and automates the process of package installation. More about it you can find on http://batsov.com/articles/2012/02/19/package-management-in-emacs-the-good-the-bad-and-the-ugly/ post.
If you are using Go package release, then go-mode* in /usr/share/emacs/site-lisp takes precedence. So you need either:
- delete /substitute files from /usr/share/emacs/site-lisp/go-mode* and use the ones from go repo.
- load your go-mode* files, by (load-file "path to the file"), before go-mode is used.
package.el is a package manager for Emacs. It is bundled in Emacs 24 (also available as a separate package in Emacs 23) and automates the process of package installation. More about it you can find on http://batsov.com/articles/2012/02/19/package-management-in-emacs-the-good-the-bad-and-the-ugly/ post.
But if you are not confident about package management in Emacs, then stay with go-mode author (Dominik Honnef) advice.
How much time takes your Emacs startup?
On Tuesday, March 5, 2013 6:57:15 PM UTC-6, Robert Zaremba wrote:How much time takes your Emacs startup?
Not sure, never bothers me ;)
Appears to be (visual measurement only) 1/4 to 1/2 second.
Slightly more than 1 second on first run after boot or file cache clearing.