Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Switch from idle-highlight to idle-highlight-mode. #72

Merged
merged 1 commit into from

7 participants

@technomancy technomancy merged commit f2a3699 into technomancy:master
@technomancy
Owner

Sorry for the delay; this looks great. Thanks!

I also switched to using this in the v2 branch.

@toolbear

This commit causes emacs initialization to fail with this error:

Warning (initialization): An error occurred while loading `/Users/tim-taylor/.emacs.d/init.el':

error: Package `idle-highlight-mode' is not available for installation

Isolated with git bisect:

90251f331e11130ae8965cbc7638f2167edc861d is the first bad commit
commit 90251f331e11130ae8965cbc7638f2167edc861d
Author: Cornelius Mika <cornelius.mika@gmail.com>
Date:   Fri May 6 19:20:55 2011 +0200

    Switch from idle-highlight to idle-highlight-mode.

:100644 100644 c6b94ebb63e70413692384f7f22ea17c5b722a2a fc00977ba67bdf828597932913f250a3d9139824 M  starter-kit-defuns.el
:100644 100644 98ed4d68e522fb53a358d1c825ebfc520a2f95dd 64e2f26047058ee440059d64f9167ff8485e9abe M  starter-kit-elpa.el
@aguynamedben

I think you need to do (maybe there is a faster way...) M-x package-list-packages, then navigate to idle-highlight-mode, then install from there. Then Emacs will launch fine without complaining. It seems like from the new notes in the README that the starter kit is going to integrate with the package manager. I didn't even know there was a package manager. Looks nice.

@HakubJozak

Just FYI, the init failure appears only when you already have a setup version and the you pull new commits (the packages are downloaded only in fresh copy of starter-kit). I don't think it is so unusual workflow though - do you think there might be some solution that does not spit the error?

@lobo-tuerto

I'm getting this error with emacs installed from Ubuntu repositories and just pulled version of emacs-starter-kit.

And there is no idle-hightlight-mode in sight in M-x package-list-packages.

Any help will be appreciated.

@nonsequitur

lobo-tuerto, that's because the Marmalade package repository is currently offline.

@lobo-tuerto

Oh, I see. Hope it's temporary (as in a few mins heh). Thank you.

@lobo-tuerto

It's been offline for days, any word on when will it be back up online?

Or how can I install the missing packages?

@ghost

Same error here. Are there any mirrors?

@technomancy
Owner

I've contacted the maintainer twice about it. It's annoying because there's no reason the Node process dying should affect static file downloads, but what can you do. =(

You can use M-x package-install-file and a git checkout in the mean time.

@lobo-tuerto

Uhh my emacs-fu is not strong enough to know what to do exactly. Could you elaborate a bit on the steps please?

@technomancy
Owner

Sure, just check out the relevant repository via git and then invoke M-x package-install-file on the .el file you want.

@lobo-tuerto

Thanks that did the trick! :)

@fracek

Because of the frequent marmalade downtimes we should write that in the readme or in the wiki.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 2 deletions.
  1. +4 −1 starter-kit-defuns.el
  2. +1 −1  starter-kit-elpa.el
View
5 starter-kit-defuns.el
@@ -92,6 +92,9 @@ Symbols matching the text at point are put first in the completion list."
(defun turn-off-tool-bar ()
(tool-bar-mode -1))
+(defun turn-on-idle-highlight ()
+ (idle-highlight-mode t))
+
(defun add-watchwords ()
(font-lock-add-keywords
nil '(("\\<\\(FIX\\|TODO\\|FIXME\\|HACK\\|REFACTOR\\):"
@@ -103,7 +106,7 @@ Symbols matching the text at point are put first in the completion list."
(add-hook 'coding-hook 'turn-on-save-place-mode)
(add-hook 'coding-hook 'pretty-lambdas)
(add-hook 'coding-hook 'add-watchwords)
-(add-hook 'coding-hook 'idle-highlight)
+(add-hook 'coding-hook 'turn-on-idle-highlight)
(defun run-coding-hook ()
"Enable things that are convenient across all coding buffers."
View
2  starter-kit-elpa.el
@@ -4,7 +4,7 @@
(require 'cl)
-(defvar starter-kit-packages (list 'idle-highlight
+(defvar starter-kit-packages (list 'idle-highlight-mode
'ruby-mode
'inf-ruby
'css-mode
Something went wrong with that request. Please try again.