[ESS] \delta for julia?
Tamas Papp
tkp@pp @end|ng |rom gm@||@com
Fri May 6 16:05:54 CEST 2016
Thanks for writing this, it is very useful. But I could not figure out
what to do with 2-letter sequences, eg \mu, apart from using M-x
company-complete explicitly. Should one set
company-minimum-prefix-length to 2 for company-math mode?
Also, I get error messages like
Company: An error occurred in auto-begin
Company: backend company-ess-julia-objects error "Wrong type argument:
stringp, nil" with args (candidates rho)
using latest ESS. A workaround is disabling everything else but
company-math-symbols-unicode, eg
(setq-local company-backends '(company-math-symbols-unicode))
Best,
Tamas
On Thu, May 05 2016, Vitalie Spinu wrote:
> In emacs you should look for generic solutions. One such solution is
> company-math:
>
> https://github.com/vspinu/company-math
>
> You can activate unicode completion in any mode you want.
>
> Vitalie
>
>
>>> On Thu, May 05 2016 18:22, Boylan, Ross wrote:
>
>> From the julia docs http://docs.julialang.org/en/release-0.4/manual/variables/:In the Julia REPL and several other Julia editing environments, you can type
>> many Unicode math symbols by typing the backslashed LaTeX symbol name followed
>> by tab. For example, the variable name δ can be entered by typing \delta-tab, or
>> even α̂₂ by \alpha-tab-\hat-tab-\_2-tab.
>
>> Any prospect of getting this behavior in ESS? Or is it already there and I don't know how to use it?
>> I'm using ESS from git as of a couple days ago (just before the 16.04 pre-release announcement). I did a make, though I suppose it's possible I'm picking up some older julia-mode.el.
>
>> When I run julia from a terminal outside emacs the completion behavior shown above happens; when I run it inside Emacs/ESS it does not.
>
>> Ross Boylan
>> ______________________________________________
>> ESS-help using r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help
>
> ______________________________________________
> ESS-help using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
More information about the ESS-help
mailing list