tkf / emacs-request

Request.el -- Easy HTTP request for Emacs Lisp
http://tkf.github.com/emacs-request/
GNU General Public License v3.0
629 stars 93 forks source link

Extra error like message in the Message buffer #208

Closed davidshen84 closed 2 years ago

davidshen84 commented 2 years ago

Hi,

I just installed the latest request.el in my Emacs and tried a few examples on the Github page. I got these messages in the Message buffer, but I also got the expected result in the notification panel. I wonder if this is the expected behaviour? Is there's a way to suppress these error-like messages?

#s(request-response nil nil nil nil nil "http://httpbin.org/get?key=value&key2=value2" nil (:params (("key" . "value") ("key2" . "value2")) :parser json-read :success (lambda (&rest --cl-rest--) "

(fn &key DATA &allow-other-keys)" (let* ... ...)) :error #[128 "ÆÇ\"A@ȉÉ!    !
!]X…H\0ÊËÉÊÌÀ¢
##Xƒ<\0rÍ!qˆÎ‰dbˆ‰Ï±ˆ*X…F\0ÐÑ\"²¶ƒ²‡" [... request-log-level request-message-level request-log-buffer-name buffer-read-only inhibit-read-only plist-member :symbol-status #[257 "‰¨ƒ\0‡‰žA†\0Á‡" [request--log-level-def 0] 3 "

(fn LEVEL)"] error format "[%s] %s" ...] 14 "

(fn &rest ARGS &key SYMBOL-STATUS &allow-other-keys)"] :url "http://httpbin.org/get?key=value&key2=value2" :response #0 ...) #<buffer  *request curl*> nil nil ...)
dickmao commented 2 years ago

No there is not. Your question may seem reasonable now, but as you gain experience with emacs, you'll find it odd.