[ESS-bugs] ?<topic> fails in julia-mode

Stephen Eglen S.J.Eglen at damtp.cam.ac.uk
Thu Mar 20 14:02:32 CET 2014


On Thu, Mar 20 2014, Martin Maechler wrote:

> As the subject says...
>
> Not a big issue, but a bit embarrassing notably for Julia
> beginners.
>
> Note that  "C-c C-v <...>" nicely works (with IDO) to find Julia
> help pages..
> (but they typically have *no* examples, contrary to R's).

Not sure I follow Martin.  

C-c C-v readdir RET brings up a help buffer.

?readdir at the repl brings the following error, both in a terminal and
*julia* emacs buffer:

julia> ?readdir
ERROR: syntax: extra token "readdir" after end of expression

Isn't this expected behaviour?  I think a julia user wouldn't expect
?topic to work at the prompt.  ? is reserved for the ternary
if-elseif-else ternary:operator from C:

julia> 3 == 2? 10 : 20
20

Stephen



More information about the ESS-bugs mailing list