File Mode Specification Error Void-function Python-proc
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business emacs file mode specification error void-function Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation
File Mode Specification Error (void-variable
Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like
File Mode Specification Error Emacs
you, helping each other. Join them; it only takes a minute: Sign up What does it mean when emacs tells me “File mode specification error”? up vote 14 down vote favorite 7 This is the most useless
File Mode Specification Error Invalid Function
error message I have ever seen. I think it translates to .. "error". The full error message from the *Messages* buffer is: File mode specification error: (wrong-type-argument characterp "string value here") I think the latter part of that message means that emacs was expecting a character and got a string. But how do I go about diagnosing just what it means when emacs tells me "File mode specification error" ? and how do I narrow down file mode specification error wrong number of arguments where this error is originating? How are these two errors (file mode error, expecting character and got string) related? emacs share|improve this question edited Nov 15 '10 at 12:23 asked Nov 14 '10 at 22:39 Cheeso 115k61349569 2 A little more context about the conditions under which the error is triggered would help –Richard H Nov 14 '10 at 23:16 So, are you opening a file through find-file and at the end of opening the file Emacs reports this error? Or are you calling normal-mode yourself? What is the type of the file you are trying to open? –vpit3833 Nov 15 '10 at 1:51 @vpit3833, I'm not trying to open a file. not explicitly anyway. I'm running some elisp code, but ... even that doesn't open a file, not even implicitly. @Richard, I understand what you're asking, but I'm not seeking help in diagnosing this particular error. I'm seeking an explanation for this ver common emacs error message. It seems to pop up in many circumstances, often not (apparently) linked to opening a file at all. I'm asking, Why is that so? –Cheeso Nov 15 '10 at 12:22 I saw your other questions. Are you getting this error after the upgrade to Emacs 23? The upgrade could have changed some function/variable behaviour that your elisp is expe
Sign in Pricing Blog Support Search GitHub This repository Watch 47 Star 469 Fork 57 tkf/emacs-jedi Code Issues 42 Pull requests 1 Projects 0 file mode specification error void function jedi setup Pulse Graphs New issue File mode specification error: (void-function caddr) #95 Closed update spacemacs jameslao opened this Issue Sep 14, 2013 · 5 comments Projects None yet Labels None yet company mode Milestone No milestone Assignees No one assigned 4 participants jameslao commented Sep 14, 2013 Hi, I just installed jedi-0.1.2 according to the instruction, but after loading a python file http://stackoverflow.com/questions/4180111/what-does-it-mean-when-emacs-tells-me-file-mode-specification-error it comes with an error File mode specification error: (void-function caddr) I can still manually run jedi:setup, then enable auto-complete-mode, then it starts working. Could you help check what could be the reason? Thank you. Best regards, James, Collaborator syohex commented Sep 14, 2013 emacs-jedi does not use caddr directly. caddr is used by dependency module, it may be used https://github.com/tkf/emacs-jedi/issues/95 by concurrent.el. syohex referenced this issue in kiwanami/emacs-deferred Sep 14, 2013 Merged Remove eval-when-compile for (require 'cl) #9 Collaborator syohex commented Sep 14, 2013 @jameslao I pull request to cuncurrent.el for fix this issue. Please wait it merged. If you want to use emacs-jedi right now, please add `(require 'cl) in your configuration. kiwanami commented Sep 14, 2013 I'm sorry that my bug troubles you. Thanks @syohex! Owner tkf commented Sep 14, 2013 @syohex Thank you very much for locating the problem! @jameslao As @kiwanami pulled the PR in deferred.el, I think updating deferred.el solves the problem. Please close the issue if it is solved. jameslao commented Sep 14, 2013 Yes it resolves. Thank you guys! jameslao closed this Sep 14, 2013 syohex added a commit to syohex/emacs-deferred that referenced this issue Mar 3, 2014 syohex … Because 'caddr' and 'cdddr' are functions, not macros. I think this problem causes '
you are currently writing. Very handy. By NoahFriedman. Part of Emacs.OverviewElDoc works for EmacsLisp and certain other language modes that implement support for ElDoc. These includeCEldocMode – for C, by grepping cppCPerlMode – for Perlcss-eldoc – for css-mode, available on melpa, see https://github.com/zenozeng/css-eldocEshellElDoc – for EshellEukleidesMode – for Eukleides plane geometry languagePythonMode (the python.el one)SemanticBovinator – tools using that systemTaclMode – Tandem/NSK/GuardianTalMode – Tandem/NSK/GuardianOrg-modeElDoc runs each element of the function arglist through a filter function stored in the eldoc-argument-case variable, which defaults to upcase. This is why the arguments are capitalized by default. [This only applies for Emacs Lisp unless a custom eldoc-documentation-function explicitly uses it.] But wouldn’t it be cool if these arguments were highlighted in font-lock-variable-name-face? Just do something like this: (defun ted-frob-eldoc-argument-list (string) "Upcase and fontify STRING for use with `eldoc-mode'." (propertize (upcase string) 'face 'font-lock-variable-name-face)) (setq eldoc-argument-case 'ted-frob-eldoc-argument-list)(You need Emacs 21 or later for function ‘propertize’. For Emacs 20, use ‘put-text-property’ instead.)Installing ElDocOne useful way to enable this minor mode is to put the following in your .emacs: (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode) (add-hook 'lisp-interaction-mode-hook 'turn-on-eldoc-mode) (add-hook 'ielm-mode-hook 'turn-on-eldoc-mode)How to implement supportYour mode need only supply 1 function to support eldoc-mode which you tell ElDoc about like this.[You should use introspection where the language system supports it. See the Emacs 22 Python mode for an example (or Haskell mode and Erlang mode with Distel, for which Eldoc was generalized).] (set (make-local-variable 'eldoc-documentation-function) 'tal-eldoc-function)The function you point to need not be complex. (defun tal-eldoc-function () "Returns a doc string appropriate for the current context, or nil." (symbol-value (intern-soft (upcase (t