From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mentus Sarovar Newsgroups: gmane.emacs.help Subject: ielm freeze Date: Wed, 21 Mar 2012 13:37:04 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1332346252 6276 80.91.229.3 (21 Mar 2012 16:10:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Mar 2012 16:10:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 21 17:10:51 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SAO7f-0001aa-2m for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Mar 2012 17:10:51 +0100 Original-Received: from localhost ([::1]:60905 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAO7e-000174-C4 for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Mar 2012 12:10:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAKmz-000358-IK for help-gnu-emacs@gnu.org; Wed, 21 Mar 2012 08:37:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAKmp-0000LR-9F for help-gnu-emacs@gnu.org; Wed, 21 Mar 2012 08:37:17 -0400 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:62816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAKmp-0000Jf-0B for help-gnu-emacs@gnu.org; Wed, 21 Mar 2012 08:37:07 -0400 Original-Received: by iajr24 with SMTP id r24so1872038iaj.0 for ; Wed, 21 Mar 2012 05:37:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=7aSim0rNQC+40FtevvBx2QEkY75EulZJCvJu832/uEE=; b=Afq+JSnU4kJt6h8Jbs06pZtJtsX51L3HJ3KA1BkIjqSE5eJHAZVGR1erfPe9WD3Ppb TkKBlek/grQQqqsbBn5hJdsVNIzJq/9jF0kRSlBmOH4yHGuf+I6YH3Xs89bhsJ1ovPev KNpObn8N3SYWUQMGh9uebEoWCE10sceHSy3ilajYYc9vH1DKRpy6/30sCslPYNHgZluu tJS5+F/i+T7oQUr60Ws3X0XBJuumDb1Zqjw+MGXux/V4I8VKp2kTKlvbLZrbLkw4ji2e L98DNL+lLywVnCkmXyt2Qp8AF/YksFS/R0MIGhl9Pa6JHlGaxte3YP162byzGWiibA8+ o9jA== Original-Received: by 10.50.85.232 with SMTP id k8mr11448025igz.16.1332333424053; Wed, 21 Mar 2012 05:37:04 -0700 (PDT) Original-Received: by 10.231.32.134 with HTTP; Wed, 21 Mar 2012 05:37:04 -0700 (PDT) X-Google-Sender-Auth: IQmTmcn1mo1w6Ztj27gfF01QM8g X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.169 X-Mailman-Approved-At: Wed, 21 Mar 2012 12:10:46 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84071 Archived-At: Hi all My ielm-REPL freezes as soon as I press RETURN after I entered some expression to be evaluated. This does not happen if I don't have my init file loaded, so the culprit must be in my init file: (require 'cl) (defvar *emacs-load-start* (current-time)) ;; save emacs customizations in a separate file (setq custom-file "~/.emacs.d/custom.el") (load custom-file 'noerror) ;; slime (setq inferior-lisp-program "sbcl") (add-to-list 'load-path "~/../site-lisp/slime/") (require 'slime-autoloads) (eval-after-load "slime" '(progn (add-to-list 'load-path "~/../site-lisp/slime/contrib") (slime-setup '(slime-fancy slime-banner)) (slime-autodoc-mode) (add-hook 'lisp-mode-hook (lambda () (slime-mode t))) (define-key slime-repl-mode-map (kbd "$") 'paredit-newline) (show-paren-mode 1) ;; highlight parens (global-set-key [?\C-=A7] 'slime-selector) ;; keep fasls separate ;; (setq slime-compile-file-options '(:fasl-directory "/tmp/slime-fasl= s/")) ;; (make-directory "D:/temp/slime-fasls/" t) )) ;; Autocomplete (add-to-list 'load-path "~/../site-lisp/auto-complete/") (require 'auto-complete-config) (add-to-list 'ac-dictionary-directories "~/../site-lisp/auto-complete//ac-d= ict") (ac-config-default) ;; ac-slime (add-to-list 'load-path "~/../site-lisp/ac-slime/") (require 'ac-slime) (add-hook 'slime-mode-hook 'set-up-slime-ac) (add-hook 'slime-repl-mode-hook 'set-up-slime-ac) (eval-after-load "auto-complete" '(progn (add-to-list 'ac-modes 'slime-repl-mode) (add-to-list 'ac-modes 'lisp-mode))) ;; paredit (add-to-list 'load-path "~/../site-lisp/paredit/") ;; (require 'paredit) (autoload 'paredit-mode "paredit" "Minor mode for pseudo-structurally editing Lisp code." t) (dolist (elt '(emacs-lisp-mode-hook lisp-mode-hook ;; lisp-interaction-mode-hook scheme-mode-hook slime-repl-mode-hook)) (add-hook elt (lambda () (paredit-mode +1)))) ;; (add-hook 'emacs-lisp-mode-hook (lambda () (paredit-mode +1))) ;; (add-hook 'lisp-mode-hook (lambda () (paredit-mode +1))) ;; (add-hook 'lisp-interaction-mode-hook (lambda () (paredit-mode +1))) ;; (add-hook 'scheme-mode-hook (lambda () (paredit-mode +1))) ;; (add-hook 'slime-repl-mode-hook (lambda () (paredit-mode +1))) (eval-after-load "paredit" '(progn (define-key paredit-mode-map (kbd "RET") 'paredit-newline) (define-key paredit-mode-map (kbd "=F6") 'paredit-open-round) (define-key paredit-mode-map (kbd "=E4") 'paredit-close-round) (define-key paredit-mode-map (kbd "M-=E4") 'paredit-close-round-and-ne= wline) (define-key paredit-mode-map (kbd "M-=F6") 'paredit-wrap-round) (define-key paredit-mode-map (kbd "M-") 'paredit-backward) (define-key paredit-mode-map (kbd "M-") 'paredit-forward) (define-key paredit-mode-map (kbd "M-") 'paredit-backward-up) (define-key paredit-mode-map (kbd "M-") 'paredit-forward-down) (define-key paredit-mode-map (kbd "(") (lambda () (interactive) (insert "("))) (define-key paredit-mode-map (kbd ")") (lambda () (interactive) (insert ")"))))) ;; cedet ;; (load-file "~/../site-lisp/cedet/common/cedet.el") ;; (semantic-load-enable-minimum-features) ;; (require 'semantic-ia) ;; ecb ;; (add-to-list 'load-path "~/../site-lisp/ecb") ;; (require 'ecb-autoloads) ;; ruby (add-to-list 'load-path "~/../site-lisp/ruby/") (autoload 'ruby-mode "ruby-mode" "Mode for editing ruby source files") (add-to-list 'auto-mode-alist '("\\.rb$" . ruby-mode)) (add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode)) (require 'inf-ruby) (autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process") (autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode") (add-hook 'ruby-mode-hook '(lambda () (inf-ruby-keys))) (add-hook 'ruby-mode-hook '(lambda () (local-set-key "\r" 'newline-and-inde= nt))) (require 'ruby-electric) (add-hook 'ruby-mode-hook (lambda () (ruby-electric-mode t))) ;; disable echoing in ruby intrepreter (defun echo-false () (setq comint-process-echoes t)) (add-hook 'comint-mode-hook 'echo-false) ;; rsense (setq rsense-home (expand-file-name "~/../site-lisp/rsense/")) (add-to-list 'load-path (concat rsense-home "/etc")) (require 'rsense) (add-hook 'ruby-mode-hook (lambda () (add-to-list 'ac-sources 'ac-source-rsense-method) (add-to-list 'ac-sources 'ac-source-rsense-constant))) ;; color theme (add-to-list 'load-path "~/../site-lisp/color-theme/") (require 'color-theme) ;; (eval-after-load "color-theme" ;; '(progn ;; (color-theme-initialize) ;; (color-theme-hober))) ;; solarized theme (add-to-list 'load-path "~/../site-lisp/solarized-theme/") (require 'color-theme-solarized) (color-theme-solarized-light) ;; emacs macros (fset 'visit-init-file [?\C-x ?\C-f ?\C-a ?\C-k ?~ ?~ backspace ?/ ?. ?e ?m ?a ?c ?s return]) (fset 'load-init-file [?\M-x ?l ?o ?a ?d ?- ?f ?i ?l ?e return ?\C-a ?\C-k ?~ ?~ backspace ?/ ?. ?e ?m ?a ?c ?s return]) ;;-------------------------------------------------------------------------= ------------------------------------- (message "My .emacs loaded in %ds" (destructuring-bind (hi lo ms) (current-= time) (- (+ hi lo) (+ (first *emacs-load-start*) (second *emacs-load-start*))))) Does anyone of you know what the problem is or experienced a similar proble= m? My environment: Windows 7, Emacs 23.4 Thank you Matus