From 8c422a7438d600c8eb4c35aeed4b40f3699532b9 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 18 Jan 2015 04:54:50 -0800 Subject: [PATCH] Whitespace changes. --- .gitignore | 3 ++- dotfiles/emacs.d/load.d/ensime-imenu.el | 18 +++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index ed42e9b4..53214d31 100644 --- a/.gitignore +++ b/.gitignore @@ -34,4 +34,5 @@ dotfiles/config/nemo/ dotfiles/wemo/cache dotfiles/config/mopidy/spotify/ -dotfiles/config/mopidy \ No newline at end of file +dotfiles/config/mopidy +/dotfiles/emacs.d/org-gcal/ diff --git a/dotfiles/emacs.d/load.d/ensime-imenu.el b/dotfiles/emacs.d/load.d/ensime-imenu.el index 657f79fe..a509d028 100644 --- a/dotfiles/emacs.d/load.d/ensime-imenu.el +++ b/dotfiles/emacs.d/load.d/ensime-imenu.el @@ -11,10 +11,10 @@ ;; ,marker)) ;; (defun ensime-imenu-string (member-name definition-type marker parents) -;; (let ((scala-imenu-string (car (scala-imenu:default-build-imenu-candidate +;; (let ((scala-imenu-string (car (scala-imenu:default-build-imenu-candidate ;; member-name definition-type marker parents)))) ;; (if (equal definition-type "def") -;; (let ((ensime-type-string +;; (let ((ensime-type-string ;; (get-ensime-type member-name definition-type marker parents))) ;; (message ensime-type-string) ;; (format "%s%s" scala-imenu-string ensime-type-string)) @@ -35,7 +35,7 @@ ;; (mapconcat 'build-argument-list param-list-infos "")) ;; (defun build-argument-list (param-list-info) -;; (format "(%s)" (mapconcat 'build-argument-string +;; (format "(%s)" (mapconcat 'build-argument-string ;; (plist-get param-list-info :params) ", "))) ;; (defun build-argument-string (param-info) @@ -45,9 +45,9 @@ ;; (defun build-type-string (type-info) ;; (let ((name (plist-get type-info :name)) ;; (type-args (plist-get type-info :type-args))) -;; (format "%s%s" name -;; (if type-args -;; (format "[%s]" (mapconcat +;; (format "%s%s" name +;; (if type-args +;; (format "[%s]" (mapconcat ;; 'build-type-string type-args ", ")) "")))) ;; (defun type-info (member-name type-name marker) @@ -71,17 +71,17 @@ ;; (defun get-ensime-type-info-from-mark (marker) ;; (let ((cached-value (assoc marker ensime-imenu-cache))) ;; (when (not cached-value) -;; (progn (setq cached-value +;; (progn (setq cached-value ;; `(,marker . ,(ensime-rpc-inspect-type-at-range (get-eol-range marker)))) ;; (setq ensime-imenu-cache (cons cached-value ensime-imenu-cache)))) ;; (cdr cached-value))) ;; (defun get-eol-range (marker) ;; (interactive) -;; `(,(marker-position marker) +;; `(,(marker-position marker) ;; ,(save-excursion (goto-char marker) (end-of-line) (point)))) ;; (defun msg-type-info () ;; (interactive) -;; (message "%s" (build-method-type +;; (message "%s" (build-method-type ;; (plist-get (type-info "testFunction" "DFA" (point-marker)) :type))))