Git Product home page Git Product logo

emacs-kicker's People

Contributors

bdowning avatar dimitri avatar gvol avatar metaperl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

emacs-kicker's Issues

'cvs' cannot be found

I install emacs from the arch repository.
Then i do this:

REPO=~/dev/emacs.d
mkdir -p $REPO
git clone http://github.com/dimitri/emacs-kicker $REPO
mkdir -p ~/.emacs.d
( cd ~/.emacs.d && ln -s $REPO/init.el . )
emacs

And when i start emacs, i get this error:

Debugger entered--Lisp error: (error "The command named 'cvs' can not be found with `executable-find'")
  signal(error ("The command named 'cvs' can not be found with `executable-find'"))
  error("The command named '%s' can not be found with `executable-find'" "cvs")
  el-get-executable-find("cvs")
  (if (el-get-executable-find "cvs") (progn (add-to-list (quote my:el-get-packages) (quote emacs-goodies-el))))
  eval-buffer(#<buffer  *load*> nil "/home/roter/.emacs.d/init.el" nil t)  ; Reading at buffer position 2381
  load-with-code-conversion("/home/roter/.emacs.d/init.el" "/home/roter/.emacs.d/init.el" t t)
  load("/home/roter/.emacs.d/init" t t)
  #[0 "�\205\262

It continues to install normaly, but every time i lounch emacs, i get this error.Im pretty new to emacs, so i dont understand what this means.

my init.el:

;; emacs kicker --- kick start emacs setup
;; Copyright (C) 2010 Dimitri Fontaine
;;
;; Author: Dimitri Fontaine <[email protected]>
;; URL: https://github.com/dimitri/emacs-kicker
;; Created: 2011-04-15
;; Keywords: emacs setup el-get kick-start starter-kit
;; Licence: WTFPL, grab your copy here: http://sam.zoy.org/wtfpl/
;;
;; This file is NOT part of GNU Emacs.

(require 'cl)               ; common lisp goodies, loop

(add-to-list 'load-path "~/.emacs.d/el-get/el-get")

(unless (require 'el-get nil t)
  (url-retrieve
   "https://github.com/dimitri/el-get/raw/master/el-get-install.el"
   (lambda (s)
     (end-of-buffer)
     (eval-print-last-sexp))))

;; now either el-get is `require'd already, or have been `load'ed by the
;; el-get installer.

;; set local recipes
(setq
 el-get-sources
 '((:name buffer-move           ; have to add your own keys
      :after (lambda ()
           (global-set-key (kbd "<C-S-up>")     'buf-move-up)
           (global-set-key (kbd "<C-S-down>")   'buf-move-down)
           (global-set-key (kbd "<C-S-left>")   'buf-move-left)
           (global-set-key (kbd "<C-S-right>")  'buf-move-right)))

   (:name smex              ; a better (ido like) M-x
      :after (lambda ()
           (setq smex-save-file "~/.emacs.d/.smex-items")
           (global-set-key (kbd "M-x") 'smex)
           (global-set-key (kbd "M-X") 'smex-major-mode-commands)))

   (:name magit             ; git meet emacs, and a binding
      :after (lambda ()
           (global-set-key (kbd "C-x C-z") 'magit-status)))

   (:name goto-last-change      ; move pointer back to last change
      :after (lambda ()
           ;; when using AZERTY keyboard, consider C-x C-_
           (global-set-key (kbd "C-x C-/") 'goto-last-change)))))

;; now set our own packages
(setq
 my:el-get-packages
 '(el-get               ; el-get is self-hosting
   escreen                      ; screen for emacs, C-\ C-h
   php-mode-improved            ; if you're into php...
   switch-window            ; takes over C-x o
   auto-complete            ; complete as you type with overlays
   yasnippet                ; powerful snippet mode
   zencoding-mode           ; http://www.emacswiki.org/emacs/ZenCoding
   color-theme                      ; nice looking emacs
   color-theme-tango))                  ; check out color-theme-solarized

;;
;; Some recipes require extra tools to be installed
;;
;; Note: el-get-install requires git, so we know we have at least that.
;;
(when (el-get-executable-find "cvs")
  (add-to-list 'my:el-get-packages 'emacs-goodies-el)) ; the debian addons for emacs

(when (el-get-executable-find "svn")
  (loop for p in '(psvn         ; M-x svn-status
           )
    do (add-to-list 'my:el-get-packages p)))

(setq my:el-get-packages
      (append
       my:el-get-packages
       (loop for src in el-get-sources collect (el-get-source-name src))))

;; install new packages and init already installed packages
(el-get 'sync my:el-get-packages)

;; on to the visual settings
(setq inhibit-splash-screen t)      ; no splash screen, thanks
(line-number-mode 1)            ; have line numbers and
(column-number-mode 1)          ; column numbers in the mode line

(tool-bar-mode -1)          ; no tool bar with icons
(scroll-bar-mode -1)            ; no scroll bars
(unless (string-match "apple-darwin" system-configuration)
  ;; on mac, there's always a menu bar drown, don't have it empty
  (menu-bar-mode -1))

;; choose your own fonts, in a system dependant way
(if (string-match "apple-darwin" system-configuration)
    (set-face-font 'default "Monaco-13")
  (set-face-font 'default "Monospace-10"))

(global-hl-line-mode)           ; highlight current line
(global-linum-mode 1)           ; add line numbers on the left

;; avoid compiz manager rendering bugs
(add-to-list 'default-frame-alist '(alpha . 100))

;; copy/paste with C-c and C-v and C-x, check out C-RET too
(cua-mode)

;; under mac, have Command as Meta and keep Option for localized input
(when (string-match "apple-darwin" system-configuration)
  (setq mac-allow-anti-aliasing t)
  (setq mac-command-modifier 'meta)
  (setq mac-option-modifier 'none))

;; Use the clipboard, pretty please, so that copy/paste "works"
(setq x-select-enable-clipboard t)

;; Navigate windows with M-<arrows>
(windmove-default-keybindings 'meta)
(setq windmove-wrap-around t)

; winner-mode provides C-<left> to get back to previous window layout
(winner-mode 1)

;; whenever an external process changes a file underneath emacs, and there
;; was no unsaved changes in the corresponding buffer, just revert its
;; content to reflect what's on-disk.
(global-auto-revert-mode 1)

;; M-x shell is a nice shell interface to use, let's make it colorful.  If
;; you need a terminal emulator rather than just a shell, consider M-x term
;; instead.
(autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t)
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)

;; If you do use M-x term, you will notice there's line mode that acts like
;; emacs buffers, and there's the default char mode that will send your
;; input char-by-char, so that curses application see each of your key
;; strokes.
;;
;; The default way to toggle between them is C-c C-j and C-c C-k, let's
;; better use just one key to do the same.
(require 'term)
(define-key term-raw-map  (kbd "C-'") 'term-line-mode)
(define-key term-mode-map (kbd "C-'") 'term-char-mode)

;; Have C-y act as usual in term-mode, to avoid C-' C-y C-'
;; Well the real default would be C-c C-j C-y C-c C-k.
(define-key term-raw-map  (kbd "C-y") 'term-paste)

;; use ido for minibuffer completion
(require 'ido)
(ido-mode t)
(setq ido-save-directory-list-file "~/.emacs.d/.ido.last")
(setq ido-enable-flex-matching t)
(setq ido-use-filename-at-point 'guess)
(setq ido-show-dot-for-dired t)

;; default key to switch buffer is C-x b, but that's not easy enough
;;
;; when you do that, to kill emacs either close its frame from the window
;; manager or do M-x kill-emacs.  Don't need a nice shortcut for a once a
;; week (or day) action.
(global-set-key (kbd "C-x C-b") 'ido-switch-buffer)
(global-set-key (kbd "C-x C-c") 'ido-switch-buffer)
(global-set-key (kbd "C-x B") 'ibuffer)

;; C-x C-j opens dired with the cursor right on the file you're editing
(require 'dired-x)

;; full screen
(defun fullscreen ()
  (interactive)
  (set-frame-parameter nil 'fullscreen
               (if (frame-parameter nil 'fullscreen) nil 'fullboth)))
(global-set-key [f11] 'fullscreen)

Emacs Goodies fails to compile

Hi Dimitri,

I know this isn't your issue directly, but I'm getting this error which I believe is caused by Emacs Goodies:

Leaving directory `~/'

Compiling file /home/sean/.emacs.d/el-get/.loaddefs.el at Wed Jul 27 21:44:02 2011
Entering directory `/home/sean/.emacs.d/el-get/'
.loaddefs.el:1823:836:Warning: reference to free variable
    `pretty-control-l-mode'
.loaddefs.el:1823:1142:Warning: assignment to free variable
    `pretty-control-l-mode'

In end of data:
.loaddefs.el:2562:1:Warning: the function `pretty-control-l-mode' is not known
    to be defined.

I'm using the apt version of Emacs 23 in Ubuntu 10.04. If you have any advice, it would be much appreciated!

Invalid Predicate Error When Getting Packages

Due to the error getting emacs-goodies, I've commented out the lines:

(when (el-get-executable-find "cvs")
(add-to-list 'my:el-get-packages 'emacs-goodies-el))

Now the file runs until:
(el-get 'sync my:el-get-packages) ;line 83

At that point, it throws an invalid predicate error.

Set font fail on daemon mode or terminal

I use emacs kicker in normal emacs (Archlinux , emacs 24, latest) and every thing is ok, I have installed Inconsolata font (The GUI mode is Ok and the font is set) but with -nw or --daemon the result is :

Warning (initialization): An error occurred while loading `/home/f0rud/.emacs.d/init.el':

error: Font not available, #<font-spec nil nil Inconsolata nil nil nil nil nil 14.0 nil nil nil ((:name .\
 Inconsolata-14) (user-spec . Inconsolata-14))>

I can set the font with (set-default-font "Inconsolata-14") but not with (set-face-font 'default "Inconsolata-14") And I don't know if this is emacs-kicker related or not :)

Thanks!

osx alt key not functional

i'm using railwaycat/emacs-mac-port on osx. Command key is meta but i still can't type the optional chars on my uk keyboard e.g. opt-1=¡, opt-2=€, opt-3=#, opt-4=¢, opt-5=∞ etc..

I tried changing (setq mac-option-modifier 'none))
to (setq mac-option-modifier nil))

and that seemed to fix it. Thanks

There is a warning when I installed on my debian 8.

I didn't changed any thing, I only clone init.el, then execute emacs, wait a while, later a warning appears.

Warning (:warning): : `lexical-binding' at end of file unreliable

It may not serious, but how can I fixed it, thank you.

eval-last-sexp-1: Symbol's value as variable is void: return:0

When installing emacs-Kicker according to the setup instructions in the github repository, but receive the error:

eval-last-sexp-1: Symbol's value as variable is void: return:0

I'm still very new to Emacs, but feel free to ask me for any information you need.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.