[ESS-bugs] ess-mode 13.09 [git: e9a3e4c08e01f40923d67d6d581f8fe67fb1b44a]; error while typing in an R buffer

Sam Steingold sds at gnu.org
Tue Sep 17 22:50:42 CEST 2013


> * Sam Steingold <fqf at tah.bet> [2013-09-17 16:44:32 -0400]:
>
> while typing in a comment line in an R buffer, I get this error:
> ("tim" is the part of the word "time" which I managed to finish before
> being hit with the error)
>
> Debugger entered--Lisp error: (wrong-type-argument sequencep tim)
>   replace-regexp-in-string("\\\\" "\\\\" tim nil t)
>   ess-quote-special-chars(tim)
>   ess-function-arguments(tim #<process R>)
>   ess-R-eldoc-function()

the cause is that `symbol-at-point' returns a symbol, not a string, and
that symbol is passed to ess-quote-special-chars which expects a
string.

The solution is to use (thing-at-point 'symbol) instead of
(symbol-at-point).

Do you want a patch (or git pull request)?

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 13.04 (raring) X 11.0.11303000
http://www.childpsy.net/ http://iris.org.il http://mideasttruth.com
http://ffii.org http://jihadwatch.org http://openvotingconsortium.org
Beauty is only a light switch away.



More information about the ESS-bugs mailing list