Error when downloading, error when installing
Gordon Gustafson
gordon3.14 at gmail.com
Mon Mar 9 15:32:33 CET 2015
It appears that inactivate-current-input-method-function was renamed
to deactivate-current-input-method-function sometime in Emacs 24 (24.2
if my assumptions are correct). Thus,
deactivate-current-input-method-function doesn't exist at all in Emacs
23.4. I *think* we officially support emacs23.4, so we may need to fix
this. Does it work if you change
deactivate-current-input-method-function to
inactivate-current-input-method-function?
On 3/9/15, Héctor A. Abreu <hector.abreu at spanishconnector.com> wrote:
> Hi,
>
> I am following instructions from
> https://gitorious.org/evil/pages/Home#toc_0
> on a fresh Raspian install, Raspberry Pi w/ Debian Wheezy, GNU Emacs 23.4.1
> that comes with the distro. I am getting the following error when
> downloading:
>
> pi at raspberrypi ~ $ sudo git clone git://gitorious.org/evil/evil.git
> Cloning into 'evil'...
> fatal: The remote end hung up unexpectedly
>
> So I managed to download the alternative tarball of master (.tar.gz) but
> now I get the following error when I start emacs, not sure if it's because
> my machine is set to es_US-UTF8:
>
> Warning (initialization): An error occurred while loading
> `/home/pi/.emacs':
>
> Symbol's value as variable is void:
> deactivate-current-input-method-function
>
> To ensure normal operation, you should investigate and remove the
> cause of the error in your initialization file. Start Emacs with
> the `--debug-init' option to view a complete error backtrace.
>
> Also when I run emacs --debug-init I get the following message below,
> please help. Thank you in advance.
>
> Debugger entered--Lisp error: (void-variable
> deactivate-current-input-method-function)
> (if deactivate-current-input-method-function (deactivate-input-method))
> (if (quote nil) (activate-input-method evil-input-method) (if
> deactivate-current-input-method-function (deactivate-input-method)))
> (let ((evil-state ...)) (evil-normalize-keymaps) (if (quote nil)
> (activate-input-method evil-input-method) (if
> deactivate-current-input-method-function ...)) (unless evil-no-display
> (evil-refresh-cursor ...) (evil-refresh-mode-line ...) (when ... ...))
> (cond (... ...) (t ...)) (run-hooks (quote
> evil-normal-state-entry-hook)) (when (and evil-echo-state arg ...
> evil-normal-state-message) (if ... ... ...)))
> (let ((evil-next-state ...) input-method-activate-hook
> input-method-deactivate-hook) (evil-change-state nil) (setq evil-state
> (quote normal)) (evil-add-to-alist (quote evil-previous-state-alist)
> (quote normal) evil-previous-state) (let (...)
> (evil-normalize-keymaps) (if ... ... ...) (unless evil-no-display ...
> ... ...) (cond ... ...) (run-hooks ...) (when ... ...)))
> (cond ((and ... ...) (setq evil-previous-state evil-state evil-state
> nil) (let ... ... ... ... ...)) (t (unless evil-local-mode ...) (let
> ... ... ... ... ...)))
> evil-normal-state(nil)
> funcall(evil-normal-state nil)
> (progn (funcall func (if state ... -1)))
> (if (and (functionp func) (or message ...)) (progn (funcall func ...)))
> (when (and (functionp func) (or message ...)) (funcall func (if
> state ... -1)))
> (let ((func ...)) (when (and ... ...) (funcall func ...)))
> evil-change-state(normal nil)
> (progn (evil-change-state (evil-initial-state-for-buffer buffer ...)
> message))
> (if evil-local-mode (progn (evil-change-state ... message)))
> (when evil-local-mode (evil-change-state
> (evil-initial-state-for-buffer buffer ...) message))
> (save-current-buffer (set-buffer (or buffer ...)) (when
> evil-local-mode (evil-change-state ... message)))
> (with-current-buffer (or buffer (current-buffer)) (when
> evil-local-mode (evil-change-state ... message)))
> evil-change-to-initial-state(nil)
> (if state (evil-change-state state) (evil-change-to-initial-state
> buffer))
> (save-current-buffer (set-buffer (or buffer ...)) (if state
> (evil-change-state state) (evil-change-to-initial-state buffer)))
> (with-current-buffer (or buffer (current-buffer)) (if state
> (evil-change-state state) (evil-change-to-initial-state buffer)))
> evil-initialize-state()
> (if evil-state nil (evil-initialize-state))
> (unless evil-state (evil-initialize-state))
> (cond ((evil-disabled-buffer-p)) (evil-local-mode (setq
> emulation-mode-map-alists ...) (evil-initialize-local-keymaps) (when
> ... ...) (unless evil-state ...) (add-hook ... ... t t) (add-hook ...
> ... t t) (add-hook ... ... nil t) (add-hook ... ...) (add-hook ... ...
> nil t) (add-hook ... ...)) (t (evil-refresh-mode-line) (remove-hook
> ... ... t) (remove-hook ... ... t) (remove-hook ... ... t)
> (remove-hook ... ... t) (evil-change-state nil)))
> (let ((last-message ...)) (setq evil-local-mode (cond ... ... ...))
> (cond (...) (evil-local-mode ... ... ... ... ... ... ... ... ... ...)
> (t ... ... ... ... ... ...)) (run-hooks (quote evil-local-mode-hook)
> (if evil-local-mode ... ...)) (if (called-interactively-p ...) (progn
> nil ...)))
> evil-local-mode(1)
> (if (minibufferp) nil (evil-local-mode 1) (evil-initialize-state))
> (unless (minibufferp) (evil-local-mode 1) (evil-initialize-state))
> evil-initialize()
> (if evil-mode (evil-initialize) (when evil-local-mode (evil-local-mode
> -1)))
> (save-current-buffer (set-buffer buf) (if evil-mode
> (evil-initialize) (when evil-local-mode ...)))
> (with-current-buffer buf (if evil-mode (evil-initialize) (when
> evil-local-mode ...)))
> (while --cl-dolist-temp-- (setq buf (car --cl-dolist-temp--))
> (with-current-buffer buf (if evil-mode ... ...)) (setq
> --cl-dolist-temp-- (cdr --cl-dolist-temp--)))
> (let ((--cl-dolist-temp-- ...) buf) (while --cl-dolist-temp-- (setq
> buf ...) (with-current-buffer buf ...) (setq --cl-dolist-temp-- ...))
> nil)
> (catch (quote --cl-block-nil--) (let (... buf) (while
> --cl-dolist-temp-- ... ... ...) nil))
> (cl-block-wrapper (catch (quote --cl-block-nil--) (let ... ... nil)))
> (block nil (let (... buf) (while --cl-dolist-temp-- ... ... ...) nil))
> (dolist (buf (buffer-list)) (with-current-buffer buf (if evil-mode ...
> ...)))
> (let ((last-message ...)) (setq evil-mode (cond ... ... ...)) (if
> evil-mode (progn ... ... ...) (remove-hook ... ...) (remove-hook ...
> ...) (remove-hook ... ...)) (dolist (buf ...) (with-current-buffer buf
> ...)) (run-hooks (quote evil-mode-hook) (if evil-mode ... ...)) (if
> (called-interactively-p ...) (progn ... ...)))
> ad-Orig-evil-mode(1)
> (setq ad-return-value (ad-Orig-evil-mode arg))
> (let (ad-return-value) (setq ad-return-value (ad-Orig-evil-mode
> arg)) (if evil-mode (progn ... ... ... ...) (when ... ...)
> (ad-disable-regexp "^evil") (ad-update-regexp "^evil")
> (with-no-warnings ...)) ad-return-value)
> evil-mode(1)
> eval-buffer(#<buffer *load*> nil "/home/pi/.emacs" nil t) ;
> Reading at buffer position 73
> load-with-code-conversion("/home/pi/.emacs" "/home/pi/.emacs" t t)
> load("~/.emacs" t t)
> #[nil " \205\264
>
> Héctor A. Abreu
> Founder & CEO
> Spanish Connector L.L.C.
> Atlanta, GA. USA
> Phone: 404-480-9188 Ext. 8010
> Email: hector.abreu at spanishconnector.com
> Skype ID: spanishconnector
> Website: www.spanishconnector.com
> Estoy en LinkedIn. Connect with me! <http://www.linkedin.com/in/habreu>
> Estamos en Facebook. Like us!
> <http://www.facebook.com/pages/Spanish-Connector/323815083493>
> Estamos en Twitter. Follow us! <http://twitter.com/@spanishconnectr>
> <http://www.spanishconnector.com>
>
More information about the implementations-list
mailing list