Re: [julia-users] Indenting by 2 spaces in ESS[Julia]

2015-03-13 Thread Shiv
Thanks you! I'll try it out. --shiv--

On Thu, Mar 12, 2015 at 11:15 PM, Tamas Papp  wrote:

> (defun customize-julia ()
>   ;; also put other Julia customizations here
>   (interactive)
>   (setq julia-basic-offset 2))
>
> (add-hook 'julia-mode-hook 'customize-julia)
>
> BTW, I am working on ESS & Julia repl interaction, you might find this
> useful (will be merged eventually I hope):
>
> https://github.com/tpapp/ESS-julia-extensions
>
> Best,
>
> Tamas
>
> On Fri, Mar 13 2015, Shivkumar Chandrasekaran wrote:
>
> > I have tried all possible combinations of suggestions from the ESS manual
> > to get the ESS[Julia] mode to convert indentation to 2 spaces rather
> than 4
> > with no luck. Has anybody else succeeded, and if so could you please post
> > your magic sauce? Thanks. --shiv--
>



-- 

--shiv--


Re: [julia-users] Indenting by 2 spaces in ESS[Julia]

2015-03-12 Thread Tamas Papp
(defun customize-julia ()
  ;; also put other Julia customizations here
  (interactive)
  (setq julia-basic-offset 2))

(add-hook 'julia-mode-hook 'customize-julia)

BTW, I am working on ESS & Julia repl interaction, you might find this
useful (will be merged eventually I hope):

https://github.com/tpapp/ESS-julia-extensions

Best,

Tamas

On Fri, Mar 13 2015, Shivkumar Chandrasekaran wrote:

> I have tried all possible combinations of suggestions from the ESS manual
> to get the ESS[Julia] mode to convert indentation to 2 spaces rather than 4
> with no luck. Has anybody else succeeded, and if so could you please post
> your magic sauce? Thanks. --shiv--


[julia-users] Indenting by 2 spaces in ESS[Julia]

2015-03-12 Thread Shivkumar Chandrasekaran
I have tried all possible combinations of suggestions from the ESS manual 
to get the ESS[Julia] mode to convert indentation to 2 spaces rather than 4 
with no luck. Has anybody else succeeded, and if so could you please post 
your magic sauce? Thanks. --shiv--