Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Error in process filter #2

Open
mchampine opened this Issue · 7 comments

3 participants

Mark Champine dcluna cannyboy
Mark Champine

If I run M-x 4clojure-problem and supply a problem #, I get "error in process filter: End of buffer". GNU Emacs version 22.3.1. Json version 1.2. This occurs whether or not I'm in slime or not, in a clojure-mode buffer or not.

dcluna
Owner
dcluna commented

Could you please run the following commands:

(4clj-get-problem 1 '4clj-parse-problem)

(make-4clj-buffer "test")

In your scratch buffer? Which one of them returns an error?

Mark Champine
dcluna
Owner
dcluna commented
(let ((debug-on-error t))
  (4clj-get-problem 1 '4clj-parse-problem))

should do.

Also, can you show the contents of the "http www.4clojure.com" buffer?

Mark Champine
cannyboy

I'm getting the same issue. "error in process filter: End of buffer" after I've entered problem number.

Emacs 24.2 on mac. With Emacs Live - https://github.com/overtone/emacs-live ..

(4clj-get-problem 1 '4clj-parse-problem)
#<buffer *http www.4clojure.com:80*<51>> 
error in process filter: End of buffer


(make-4clj-buffer "test")  
nil


(let ((debug-on-error t))
   (4clj-get-problem 1 '4clj-parse-problem))
#<buffer  *http www.4clojure.com:80*<55>> 
dcluna
Owner
cannyboy

Sorry, I'm not sure how to do a stacktrace in emacs. Anyway, I got in working.

It's true that I could have got it working by following the instructions by the letter... by adding code to init.el in .emacs.d

(add-to-list 'load-path "~/.emacs.d/4clj-el/")
(require 'four-clj)

.. and then I putting four-el.clj in the 4clj-el folder.

However, my issue is that Emacs Live has a method to install extra stuff, so that it doesn't mess with the original (which means I can also pull the latest version without worrying about customisations). The installer creates a folder for the additional stuff (see lines 170-177 in this: https://github.com/overtone/emacs-live/blob/master/installer/install-emacs-live.sh ).

For future reference, in order to get it working, I put

 (live-load-config-file "four-clj.el")

in the init.el in the .live-packs folder, and put the four-clj.el file in the config folder.

Thanks for the 4clojure file!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.