jed-users mailing list

[2012 Date Index] [2012 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [Jed-users-l] Directory dependent settings


I tried but no success unfortunately. 

I tried setting a bunch of different settings in one .project.sl but none got picked up.
How do I start it so that I get s *traceback* or *debug* buffer?
 

-- 
Peter Bengtsson
home www.peterbe.com
work www.mozilla.org
fun aroundtheworldgame.com


On Tuesday, 25 September 2012 at 21:49, Dino Sangoi wrote:

> Sorry, I'm out of office now, so I have tried to create a gist from my table, hoping it works: the gist is 3786111.
> Raw url: https://raw.github.com/gist/3786111/1241b675ad9be2e208f303ede545593b3d267ccc/project.sl
> Hope this helps,
> Dino
> On Sep 25, 2012 10:27 PM, "Peter Bengtsson" <mail@xxxxxxxxxxx (mailto:mail@xxxxxxxxxxx)> wrote:
> > Hi Dino, 
> > Thanks for the tip about "project.sl (http://project.sl)". However, I think the attachment got stripped from the email. Would you mind sending it directory to me or to stick it on gists.github.com (http://gists.github.com)?
> > 
> > -- 
> > Peter Bengtsson
> > home www.peterbe.com (http://www.peterbe.com)
> > work www.mozilla.org (http://www.mozilla.org)
> > fun aroundtheworldgame.com (http://aroundtheworldgame.com)
> > 
> > 
> > On Tuesday, 25 September 2012 at 00:08, Dino Sangoi wrote:
> > 
> > > Hi,
> > > 
> > > Some years ago I needed this feature, so I wrote the attached script. load
> > > it with "() = evalfile("project.sl (http://project.sl)");' from your .jedrc.
> > > 
> > > this scripts looks for a file named ".project.sl (http://project.sl)" ("wproject.sl (http://wproject.sl) on windows)
> > > in the current working directory. when found the file is evaluated.
> > > otherwise it looks on the parent directory, and so on.
> > > 
> > > the script tries to stop going up when it reaches your home directory, but
> > > no other safety measures are taken, so you must be aware of the security
> > > implications when using it on a multiuser machine.
> > > 
> > > hope this helps.
> > > 
> > > Dino
> > > 
> > > 
> > > 
> > > 
> > > On Tue, Sep 25, 2012 at 1:31 AM, Peter Bengtsson <mail@xxxxxxxxxxx (mailto:mail@xxxxxxxxxxx)> wrote: 
> > > 
> > > > Some projects I work on require 4 spaces for javascript and some require 2
> > > > spaces.
> > > > I can edit ~/.jedrc every time by changing `variable C_INDENT = 2||4;` but
> > > > that's quite clumsy.
> > > > It would be better if I could put a jed rc file in the root directories of
> > > > the various projects. Is that possible?
> > > > 
> > > > --
> > > > Peter Bengtsson
> > > > home www.peterbe.com (http://www.peterbe.com)
> > > > work www.mozilla.org (http://www.mozilla.org)
> > > > fun aroundtheworldgame.com (http://aroundtheworldgame.com)
> > > > 
> > > > _______________________________________________
> > > > Jed-users-l mailing list
> > > > Jed-users-l@xxxxxxxx (mailto:Jed-users-l@xxxxxxxx)
> > > > http://mailman.jtan.com/mailman/listinfo/jed-users-l
> > > > 
> > > 
> > > 
> > > _______________________________________________
> > > Jed-users-l mailing list
> > > Jed-users-l@xxxxxxxx (mailto:Jed-users-l@xxxxxxxx)
> > > http://mailman.jtan.com/mailman/listinfo/jed-users-l
> > > 
> > > 
> > > 
> > 
> > 

_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l


[2012 date index] [2012 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]