|
From: Tadashi M. <ta...@my...> - 2015-11-10 17:35:24
|
Hi, Hugo, The error is caused by the arguments of the function 'nth'. The function 'nth' receives an index first and a list second. ref: https://www.gnu.org/software/emacs/manual/html_node/elisp/List-Elements.html#index-nth But, in this case, you do not have to call 'nth'. The variable 'statuses' is bound to a list of statuses (tweets). You can obtain the first tweet by (car statuses). In addition, (assq 'text ...) returns a cons cell whose car equals 'text. To extract a text of the first tweet, the final argument of 'start-process' should be replaced with (cdr (assq 'text (car statuses))). Please try it. Regards, Tadashi MATSUO |