ZachMassia / PlatformIO-Mode

PlatformIO Integration for Emacs
GNU General Public License v3.0
68 stars 20 forks source link

i can't get work the mode. There is an error related with platformio-setup-compile-buffer function #4

Closed brolin closed 8 years ago

brolin commented 8 years ago

This is the error when open emacs with debug-init:

Debugger entered--Lisp error: (void-function platformio-setup-compile-buffer)
  (platformio-setup-compile-buffer)
  eval-buffer(#<buffer  *load*> nil "/home/brolin/.emacs" nil t)  ; Reading at buffer position 9002
  load-with-code-conversion("/home/brolin/.emacs" "/home/brolin/.emacs" t t)
  load("~/.emacs" t t)
  #[0 "\205\262

Do you have an idea or any clue of what happens?

ZachMassia commented 8 years ago

Hi @brolin,

Could you link me your .emacs file in a gist?

Thanks.

brolin commented 8 years ago

Hi @ZachMassia

I have huge .emacs file with multiple settings, maybe the error is there but i don't know lisp to detect what is. Here is my .emacs https://gist.github.com/brolin/2104a30ad52039279018

Thanks a lot.

ZachMassia commented 8 years ago

@brolin, from what I can tell, the only thing missing might be the call to (require 'platformio-mode) before calling platformio-setup-compile-buffer.

Looking at my own config, that's the only real difference.

Let me know if that fixes it for you, and I'll update the readme accordingly.

brolin commented 8 years ago

Thanks!!!

after add that line. Now all works fine!!

best regards!

b

On Fri, Mar 25, 2016 at 3:15 PM, Zach Massia notifications@github.com wrote:

@brolin https://github.com/brolin, from what I can tell, the only thing missing might be the call to (require 'platformio-mode) before calling platformio-setup-compile-buffer.

Looking at my own config https://github.com/ZachMassia/.emacs.d/blob/master/emacs.org#c, that's the only real difference.

Let me know if that fixes it for you, and I'll update the readme accordingly.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/ZachMassia/PlatformIO-Mode/issues/4#issuecomment-201474401

ZachMassia commented 8 years ago

Great, enjoy!