Per-directory settings
Tony Balinski
ajbj at free.fr
Sun Aug 27 09:54:05 CEST 2006
>
> >> >If this is the extent of your difficulties, you can probably do this
> using
> >> >macro code in your ~/.nedit/autoload.nm file.
> >>
> >> Again, only for nedit, not nc.
> >What? Autoload is read when the nedit process starts, whether started by
> nc
> >or by another program (shells, say).
>
> Sure, but only the first time. Your trick wouldn't work on subsequent
> onvocation, as autoload.nm wouldn't be read.
You're right, good point. Short of adding a -do argument, there is no way
of knowing from where nc is invoked when connecting to a nedit server.
I always invoke nc with a script so that it creates a nedit server for each
directory in which the script is invoked. It suits me fine.
Tony
More information about the Discuss
mailing list