|
From: Hugo M <ha...@gm...> - 2015-11-10 18:18:09
|
Thanks, it worked!! [image: Hugo Massaroli on about.me] Hugo Massaroli about.me/hugo.massaroli <http://about.me/hugo.massaroli> 2015-11-10 14:08 GMT-03:00 Tadashi MATSUO <ta...@my...>: > 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 > |