sxemacs-devel
[Top] [All Lists]

Some things that I would like to see.

From: Freysteinn Alfredsson <freysteinn@xxxxxxxxx>
Subject: Some things that I would like to see.
Date: Sun, 20 Feb 2005 15:07:44 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=P4O04INndBuYs6lFO4B3ekYbxuP3v2IsERmP0wlvB2tzD44j6H8FgTlU4qjJZi6X7SJc/pVySiOMcTr3uU3l6b7min29IaeIt4eZ/JXh1gtiFpYE2b02T/51rkL9kPqLhP9sqTIToGNDn3D9IqaIsfOcSgOlVUblmJjpRPISNSo=
Reply-to: Freysteinn Alfredsson <freysteinn@xxxxxxxxx>
Myrkraverk told me to stop complaining and just send an email to the list. ;)

I know that some of these things have been talked about for some time,
but I just wanted to get them of my chest.

Basically I would like to see a more structured approach to manage
modules. Were modules are categorized in "modes", "libraries" and
"standard libraries". Making them easily distinguished.

I think that:
Users should be able to get a list modes with out other functions.
Users should be able to get a list of functions only in the stdlib or
in a specific module.
Users should be able to get a list of functions that are of a specific
category in the stdlib.
Users should be able to see what function is a part of which module
almost simultaneously.

Personally I think the respected way of using a prefix with the module
name on function names isn't a good way to categorizing modules. Lets
face it, emacs (and therefore sxemacs) is getting to big to manage
categories in modules in that way.

One way that I can think of to accomplish this is to use namespaces.
Example: (namespace ...)

Or using a commented one looking, something like this:
;;#namespace {
 ; code
;;#namespace }

Using the above method could be good for modules that don't have
namespaces. All the modules that don't have namespaces could be
categorized in a special namespace that bypasses the namespace
structure, making older code work with the new namespace structure.



Freysteinn Alfredsson.

<Prev in Thread] Current Thread [Next in Thread>