syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.69k stars 4.9k forks source link

Error in init file: error: "Format specifier doesn't match argument type" #4852

Closed emad-elsaid closed 8 years ago

emad-elsaid commented 8 years ago

i'm on OSX Elcapitan, GNU Emacs 22.1.1 is installed by default, tried to install spacemacs but when i start emacs it shows this error in the command area Error in init file: error: "Format specifier doesn't match argument type" tried to brew install emacs and it downloaded and installed emacs-24.5, also when i executeemacs` it gives me the the older version, and also spacemacs doesn't show up and shows the same error

emad-elsaid commented 8 years ago

the emacs version problem solved by brew doctor it advised me to execute this line

echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.zshrc

and then i reloaded this zshrc file

source ~/.zshrc

and then emacs version is 24 as expected, afterwards, i executed emacs and spacemacs forked fine, so i think it's a problem between spacemacs and the older emacs versions

syl20bnr commented 8 years ago

Error in init file: error: "Format specifier doesn't match argument type"

Reopening to investigate this error when spacemacs is used with Emacs 22

iryan2 commented 8 years ago

Just here to say thanks, had the same problem and this solved it.

TheBB commented 8 years ago

Code triage sent me here and I think this can be closed. It's a rare error, only produced on Emacs 22 (!) so far and if it comes up again it's not a big problem to backtrace it.