File Mode Specification Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any emacs file mode specification error void-function questions you might have Meta Discuss the workings and policies of file mode specification error (void-variable this site About Us Learn more about Stack Overflow the company Business Learn more about file mode specification error invalid function hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow file mode specification error: (wrong-number-of-arguments is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Emacs python-mode file mode specification error up vote 1 down vote favorite I am using GNU Emacs 24.3.1 (i386-mingw-nt5.1.2600) of 2013-03-17 on MARVIN on a Windows 7 Enterprise, SP1 machine. I
File Mode Specification Error (void-function Format-message)
have tried to install python-modevia ELPA, but got the following message in the *Compile-log*: Leaving directory c:/Users/my_user/AppData/Roaming/.emacs.d/elpa/python-0.25.1 Compiling file c:/Users/my_user/AppData/Roaming/.emacs.d/elpa/python-0.25.1/python-pkg.el at Wed Dec 9 08:15:52 2015 Entering directory c:/Users/my_user/AppData/Roaming/.emacs.d/elpa/python-0.25.1 Compiling file c:/Users/my_user/AppData/Roaming/.emacs.d/elpa/python-0.25.1/python.el at Wed Dec 9 08:15:52 2015 python.el:2779:1:Warning: Unused lexical variable `inferior-python-mode-hook' python.el:4033:1:Error: Symbol's function definition is void: format-message Compiling no file at Wed Dec 9 08:15:54 2015 Needless to say, M-x python-mode does not work on my .py file. In the messages buffer, I get the following: Eager macro-expansion failure: (void-function format-message) let*: Symbol's function definition is void: format-message Whereas if I find the file anew, that is reported in the minibuffer: File mode specification error: (void-function format-message) EDIT Although the original source of error may remain unclear, instead of going through ELPA I just followed the link posted in the answer, unpacked the archive in a suitable directory, and followed the instruction to activate the package. python-mode works just fine. emacs python-
quick overview of the site Help Center Detailed answers to any questions you might have Meta
File Mode Specification Error Void Function Jedi Setup
Discuss the workings and policies of this site About Us Learn update spacemacs more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us company mode Emacs Questions Tags Users Badges Unanswered Ask Question _ Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. Join them; http://stackoverflow.com/questions/34174143/emacs-python-mode-file-mode-specification-error it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top File Mode Specification Error: (void-function nil) after opening python file up vote 1 down vote favorite every time I try to open a python file http://emacs.stackexchange.com/questions/18582/file-mode-specification-error-void-function-nil-after-opening-python-file I get the following message on the minibuffer: File Mode Specification Error: (void-function nil) I turned on the debug mode but I honestly don't understand what is going on or how to narrow down the error: Debugger entered--Lisp error: (void-function nil) nil() run-hooks(change-major-mode-after-body-hook prog-mode-hook python-mode-hook) apply(run-hooks (change-major-mode-after-body-hook prog-mode-hook python-mode-hook)) run-mode-hooks(python-mode-hook) python-mode() set-auto-mode-0(python-mode nil) set-auto-mode() normal-mode(t) after-find-file(nil t) find-file-noselect-1(#
Sign in Pricing Blog Support Search GitHub This repository Watch 452 Star 9,304 Fork 2,458 syl20bnr/spacemacs Code Issues https://github.com/syl20bnr/spacemacs/issues/6578 872 Pull requests 206 Projects 4 Wiki Pulse Graphs New issue https://github.com/abingham/emacs-ycmd/issues/215 File mode specification error: (void-variable ensime-mode-key-prefix) #6578 Open reactormonk opened this Issue Jul 14, 2016 · 3 comments Projects None yet Labels - Bug tracker - Scala Milestone No milestone Assignees No one assigned 4 participants reactormonk commented Jul 14, file mode 2016 Description File mode specification error: (void-variable ensime-mode-key-prefix) And no modeline Reproduction guide 🐞 Start Emacs Open a .scala file Observed behaviour: 👀 💔 In the messages buffer: File mode specification error: (void-variable ensime-mode-key-prefix) And no modeline displayed Expected behaviour: ❤️ 😄 No error and a modeline System Info 💻 OS: gnu/linux Emacs: 24.5.1 file mode specification Spacemacs: 0.105.21 Spacemacs branch: develop (rev. 5c371f0) Graphic display: t Distribution: spacemacs Editing style: vim Completion: helm Layers: (auto-completion emacs-lisp git org syntax-checking version-control scala deft themes-megapack ansible ess haskell idris nim javascript github evil-snipe markdown chrome c-c ) Futher information: https://gitter.im/ensime/ensime-emacs?at=5787737be4375c9212d1835b 👍 4 bmag commented Jul 14, 2016 @agboom this is the same error message you had a while ago. Were you able to fix it? (https://gitter.im/syl20bnr/spacemacs?at=577a2e585c023e194f7722ac) @reactormonk until this is resolved, does adding (require 'ensime) to your dotspacemacs/user-config work as a work-around? ❤️ 3 reactormonk commented Jul 14, 2016 @bmag Yes, that fixes the error. agboom commented Jul 14, 2016 @bmag I worked around it by adding (require 'ensime') to the user-config d12frosted added Scala - Bug tracker - labels Jul 15, 2016 This was referenced Jul 15, 2016 Open markdown mmm scala #6571 Open Autumnal Cleanup 2016 Reporting #7334 Sign up for free to join this conversation on GitHub. Already have an account? Sign
Sign in Pricing Blog Support Search GitHub This repository Watch 16 Star 221 Fork 23 abingham/emacs-ycmd Code Issues 32 Pull requests 3 Projects 0 Wiki Pulse Graphs New issue File mode specification error: (error "Server timeout.") #215 Closed henry-y opened this Issue Sep 9, 2015 · 5 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 5 participants henry-y commented Sep 9, 2015 Whenever I open a .c or .cpp source file, this error message pops. It seems ycmd doesn't work? Owner abingham commented Sep 9, 2015 Does it work for other file types, e.g. Python or Go (depending on how you compiled ycmd)? henry-y commented Sep 22, 2015 @abingham no, it won't work for other file types either. I've found something recently: when I'm login as root user on my virtual machine, there's no such error. but when I'm working as a normal user on a remote machine, there is such error. all ycmd and emacs-ycmd files are located at ~/.emacs.d, so I suppose there's no difference? jeaye commented Sep 29, 2015 I'm getting this issue as well. @henry-y, were you able to resolve it? My related config: https://github.com/jeaye/emacs-dotfiles/blob/master/config/init-autocomplete.el Alexander-Shukaev commented Nov 6, 2015 I'm pretty sure that you guys are on Arch Linux or similar distribution which uses Python 3 as a default Python interpreter, that is python is Python 3 rather than 2. Typically, on such platforms to invoke Python 2, one has to explicitly use python2. Hence, (setq-default ycmd-server-command '("python2" ...)) Collaborator ptrv commented Jul 31, 2016 Closing this issue since it was probably due to wrong python version. Please re-open if the issue is still happening. ptrv closed this Jul 31, 2016 Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.