emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Python mode and eldoc "freeze"


From: John Sullivan
Subject: Re: Python mode and eldoc "freeze"
Date: Tue, 31 Oct 2006 15:22:09 -0500
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Slawomir Nowaczyk <address@hidden> writes:

> Current code works fine for me with __builtins__... or did you mean
> "keywords"?
>

I mean built-in functions, like
http://docs.python.org/lib/built-in-funcs.html.

Running down that list now, some of them work and some of them don't.

For example, pow() and ord() work. open() and property() and reversed() do not.
I gather this is because the latter are classes in __builtin__, and so their
doc strings look different.

[...]

> On my machine, nothing is echoed for keywords. I don't use eldoc
> normally, though, so I do not know if it always used to work like this.
>
> What would you like to see displayed for things like import or except?
> The output of "help('import')" is pretty long... First sentence might
> make some sense, but I am not sure if it would be useful?
>

The Python Pocket Reference gives an abbreviated version of the grammar (from
the beginning of the docstrings) for import. Even that's a little long, so
maybe just "import module [, module]*..." would be good.

Unfortunately help("except") shows the documentation for try. Not sure what to
do about that one.

-- 
-John Sullivan
-http://www.wjsullivan.net
-GPG Key: AE8600B6





reply via email to

[Prev in Thread] Current Thread [Next in Thread]