Python emacs mode (newbie)
Charles R Martin
crmartin at indra.com
Thu Feb 15 20:14:20 EST 2001
I don't know Python at all, but what you're describing sounds like
require/provide.
See C-h f require RET
C-h f provide RET
"Syver Enstad" <syver at NOSPAMcyberwatcher.com> writes:
> Is there anybody who has any idea on how to implement a module loading
> function in GNU Emacs like the one Pythonwin has?
>
> The basic idea is that instead of writing a file name you write a module
> name, like ex:
> httplib or win32com.client.dynamic and the editor will load the specified
> module.
>
> I guess the implementation would work around searching the python path, but
> I am total newbie in elisp (and lisp itself for that matter) and could use
> some pointers as to how to search the filesystem from elisp, get the
> registry keys or environment variables for the pythonpath, and how to load a
> file into the current window.
>
>
--
Whatever you can do or dream you can do, begin it. Boldness has genius, power
and magic in it. Begin it now." --Goethe
------------------------------------------------------------------------------
Charlie Martin, Broomfield, CO USA 40 N 105 W
More information about the Python-list
mailing list