librelist archives

« back to archive

[Fwd: [lightning,boson] quick editing of boson configuration and commands with emacs]

[Fwd: [lightning,boson] quick editing of boson configuration and commands with emacs]

From:
Zhando
Date:
2010-12-03 @ 22:43
2nd try..

---------------------------- Original Message ----------------------------
Subject: [lightning,boson] quick editing of boson configuration and
commands with emacs
Date:    Fri, December 3, 2010 11:40 am
To:      ruby.cmd.line@librelist.com
--------------------------------------------------------------------------

With bash I've aliased "emacsclient -nw" to e, 'lightning' to lg and
'lightning-reload to 'lgr'

Then I created the bolt 'b':

 $ lg b c b '~/.boson/**/*.{rb,yml}'

Then created the function.

 $ lg f c e b eb && lgr

end result:

 $ eb b[TAB] # expands to eb boson.yml for me. ymmv.

Of course 'emacs --daemon' is now always running in the background on my
linux systems. I don't know how I managed in the past without that.



Re: [ruby.cmd.line] [Fwd: [lightning, boson] quick editing of boson configuration and commands with emacs]

From:
Gabriel Horner
Date:
2010-12-04 @ 03:39
Cool. If you're interested in some of my lightning config:
https://github.com/cldwalker/dotfiles/blob/master/.lightningrc and
https://github.com/cldwalker/dotfiles/blob/master/.lightning.

I like the goals of this list. To get more people interested, perhaps
mention this list on the ruby-talk mailing list:
http://www.ruby-forum.com/forum/ruby. I'd also encourage you to share
as much of you're lightning/boson/ripl configurations as you can on
github.

Gabriel

On Fri, Dec 3, 2010 at 5:43 PM, Zhando <zhando@opensourceliving.com> wrote:
> 2nd try..
>
> ---------------------------- Original Message ----------------------------
> Subject: [lightning,boson] quick editing of boson configuration and
> commands with emacs
> Date:    Fri, December 3, 2010 11:40 am
> To:      ruby.cmd.line@librelist.com
> --------------------------------------------------------------------------
>
> With bash I've aliased "emacsclient -nw" to e, 'lightning' to lg and
> 'lightning-reload to 'lgr'
>
> Then I created the bolt 'b':
>
>  $ lg b c b '~/.boson/**/*.{rb,yml}'
>
> Then created the function.
>
>  $ lg f c e b eb && lgr
>
> end result:
>
>  $ eb b[TAB] # expands to eb boson.yml for me. ymmv.
>
> Of course 'emacs --daemon' is now always running in the background on my
> linux systems. I don't know how I managed in the past without that.
>
>
>
>
>

Re: [ruby.cmd.line] [Fwd: [lightning, boson] quick editing of boson configuration and commands with emacs]

From:
Zhando
Date:
2010-12-04 @ 05:32
> Cool. If you're interested in some of my lightning config:
> https://github.com/cldwalker/dotfiles/blob/master/.lightningrc and
> https://github.com/cldwalker/dotfiles/blob/master/.lightning.
>
> I like the goals of this list. To get more people interested, perhaps
> mention this list on the ruby-talk mailing list:
> http://www.ruby-forum.com/forum/ruby. I'd also encourage you to share
> as much of you're lightning/boson/ripl configurations as you can on
> github.
>
> Gabriel
>
Great suggestions. I'll follow up.