jed-users mailing list

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

Re: Namespaces for modes?


On Tue, Aug 12, 2003 at 09:52:11PM +0000, Joerg Sommer wrote:
> autoload("latex->", "latex.sl");
> 
> vs.
> 
> autoload("latex_foo", "latex.sl");
> autoload("latex_bar", "latex.sl");
> autoload("latex_bla", "latex.sl");
> autoload("latex_blub", "latex.sl");
> 
You can get by with the current implementation by placing
declarations for latex->foo() etc in a latex_space.sl and making sure
that functions calling latex->foo() etc first call latex_mode(),
which loads latex.sl. Or, if that's too restrictive, add an empty
latex_load() function.

On Wed, Aug 13, 2003 at 11:20:47AM -0400, John E. Davis wrote:
> support is relatively new in slang and is still evolving.  For
> example, I am toying with the idea of adding namespace objects to
> slang 2.
Why not beef up the structs to classes instead?

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


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