Emacs File Mode Specification Error Wrong Number Of Arguments
Contents |
Sign in Pricing Blog Support Search GitHub This repository
Emacs File Mode Specification Error (file-error Cannot Open Load File
Watch 62 Star 767 Fork 236 haskell/haskell-mode Code Issues emacs file mode specification error void-function 87 Pull requests 3 Projects 0 Wiki Pulse Graphs New issue File mode
File Mode Specification Error (void-function Format-message)
specification error: (wrong-number-of-arguments ... #662 Closed sacundim opened this Issue May 22, 2015 · 3 comments Projects None yet Labels None update spacemacs yet Milestone No milestone Assignees No one assigned 2 participants sacundim commented May 22, 2015 Fresh MELPA install of version 13.12, when attempting to load a .hs file in the same directory that has a .cabal file: File mode specification error: (wrong-number-of-arguments #[(other-window) company mode "�\203$\303\304�!!\211�\203� \203�\305 !\202\"\306 !\202\"\307\310�\")\207\307\311!\207" [buffer-file-name cabal-file other-window haskell-cabal-find-file file-name-directory find-file-other-window find-file error "Could not locate \".cabal\" file for %S" "Cannot locate \".cabal\" file for buffers not visiting any file"] 4 ("/Users/sacundim/.emacs.d/elpa/haskell-mode-13.12/haskell-cabal.elc" . 9453) "P"] 0) Emacs version: GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2015-04-10 on builder10-9.porkrind.org Haskell mode configuration: (add-hook 'haskell-mode-hook 'turn-on-haskell-indentation) (eval-after-load "haskell-mode" '(progn (define-key haskell-mode-map (kbd "C-x C-d") nil) (define-key haskell-mode-map (kbd "C-c C-z") 'haskell-interactive-switch) (define-key haskell-mode-map (kbd "C-c C-l") 'haskell-process-load-file) (define-key haskell-mode-map (kbd "C-c C-b") 'haskell-interactive-switch) (define-key haskell-mode-map (kbd "C-c C-t") 'haskell-process-do-type) (define-key haskell-mode-map (kbd "C-c C-i") 'haskell-process-do-info) (define-key haskell-mode-map (kbd "C-c M-.") nil) (define-key haskell-mode-map (kbd "C-c C-d") nil))) (eval-after-load "haskell-mode" (define-key haskell-mode-map (kbd "C-c v c") 'haskell-cabal-visit-file)) sacundim commented May 22, 2015 Removing this bit from the Emacs init file resolves the issue: (eval-after-load "haskell-mode" (define-key ha
an error message whenopening a file file.R containing R code.$ emacs test.RThe error message is:File mode specification error: (wrong-number-of-argumentscalled-interactively-p 1)In addition, the test.R file is not recognized properly. However, Rprocesses run correctly in ESSAny idea what is going on?Best wishes,Georg reply Tweet Search Discussions Search All Groups ess-help 8 responses Oldest Nested Vitalie Spinu What version of emacs is this? I https://github.com/haskell/haskell-mode/issues/662 see 1 argument to called-interactively-p in Emacs 23.4.5. Vitalie Vitalie Spinu at Oct 17, 2014 at 9:41 pm ⇧ Georg Otto on Fri, 17 Oct 2014 14:18:57 +0100 wrote:File mode specification error: (wrong-number-of-argumentscalled-interactively-p 1)What version of emacs is this? I see 1 argument tocalled-interactively-p in Emacs 23.4.5.Vitalie reply | permalink http://grokbase.com/t/r/ess-help/14ah61sfjq/ess-ess-14-09-file-mode-specification-error Georg Otto Thanks for looking into this! My Emacs version is 23.1.1 Georg Georg Otto at Oct 18, 2014 at 10:12 am ⇧ Thanks for looking into this! My Emacs version is 23.1.1GeorgOn 17/10/2014 22:41, Vitalie Spinu wrote:Georg Otto on Fri, 17 Oct 2014 14:18:57 +0100 wrote:File mode specification error: (wrong-number-of-argumentscalled-interactively-p 1)What version of emacs is this? I see 1 argument tocalled-interactively-p in Emacs 23.4.5.Vitalie reply | permalink Georg Otto Thanks, Martin, for looking into this. The result of the command C-h f called-interactively-p is a help window opening saying: called-interactively-p is a built-in function in `C source code'. (called-interactively-p) Return t if the function using this was called with `call-interactively'. This is used for implementing advice and other function-modifying features of Emacs. The cleanest way to test whether your function was called with `call-interactively' is by adding an extra optional Georg Otto at Oct 18, 2014 a
date ] [ http://proofgeneral.inf.ed.ac.uk/trac/ticket/380 thread ] [ subject ] [ author ] 23.1.1 is a bit too dated but I am not convinced that's the reason for the error. file mode Do you see the same error if you do M-: (called-interactively-p 'any) RET ? Vitalie >>> Georg Otto on Sat, 18 Oct 2014 11:12:31 +0100 wrote: > Thanks for looking into this! My file mode specification Emacs version is 23.1.1 > Georg > On 17/10/2014 22:41, Vitalie Spinu wrote: >> >>> Georg Otto on Fri, 17 Oct 2014 14:18:57 +0100 wrote: >> >> > File mode specification error: (wrong-number-of-arguments >> > called-interactively-p 1) >> >> What version of emacs is this? I see 1 argument to >> called-interactively-p in Emacs 23.4.5. >> >> Vitalie Previous message: [ESS] ESS 14.09 File mode specification error Next message: [ESS] Remote R session Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the ESS-help mailing list
buggy? Reported by: courtieu Owned by: da Priority: major Milestone: Component: 2:pg-emacs Keywords: package bytecode Cc: Description Hello, I am getting an error with bytecode of the 4.0 package and emacs-23.1.1. I perform the following: download pg at http://proofgeneral.inf.ed.ac.uk/releases/ProofGeneral-4.0.tgz untar, set path variable of emacs correctly. Start emacs, open a .v file. Here is the error message: Loading coq... Coq default abbrevs loaded Loading coq...done File mode specification error: (wrong-number-of-arguments called-interactively-p 1) Notice that if I make clean; make in pg directory everything goes well. Regards, PC Change History comment:1 Changed 6 years ago by da Status changed from new to closed Resolution set to fixed Thanks for the report, I have heard this before, I think the .elcs were accidently produced with a beta version of Emacs 23.2 whose bytecode has incompatibilities with 23.1. The next version will officially (i.e. deliberately!) have 23.2 bytecode. comment:2 Changed 6 years ago by da See also #378 Note: See TracTickets for help on using tickets. Download in other formats: Comma-delimited Text Tab-delimited Text RSS Feed Powered by Trac 0.12.5 By Edgewall Software.