jwiegley / emacs-async

Simple library for asynchronous processing in Emacs
GNU General Public License v3.0
832 stars 68 forks source link

Shouldn't print-level/length be let bound to nil? #48

Closed Malabarba closed 9 years ago

Malabarba commented 9 years ago

Looking at the source code of async--insert-sexp, I see it uses prin1. I think there should be a let form around that expression to prevent truncation of the printed data, like:

(let (print-level print-length)
  (prin1 sexp (current-buffer)))

I've had users reporting errors involving ellipses in the background function.

(Namely bruce-connor/paradox#37 and bruce-connor/paradox#50)

thierryvolpiatto commented 9 years ago

Done thanks.