emacsclient -eval "(insert \"something\")" is not working for me

Posted by manu on Stack Overflow See other posts from Stack Overflow or by manu
Published on 2010-05-10T13:44:44Z Indexed on 2010/05/10 14:24 UTC
Read the original article Hit count: 284

Filed under:

I recently upgraded to Ubuntu 10.04 which comes with Emacs 23. I need Jabref to push citations to Emacs.

However, despite I installed the Jabref plugin to push citations through emacsclient, it's not working.

I did my testing, and read some of the Emacs Lisp Intro.

Some commands do work, for instance if I type (in the console):

  emacsclient --eval "(switch-to-buffer \"*sratch*\")"

the emacs windows switches to that buffer. However if I issue an insert command:

  emacsclient --eval "(insert \"do you see me?\")"

no text is inserted in the current buffer.

Does Emacs 23 changed something about insert?

© Stack Overflow or respective owner

Related posts about emacs