Python emacs mode (newbie)

Kai Großjohann Kai.Grossjohann at CS.Uni-Dortmund.DE
Sun Feb 18 17:01:47 EST 2001


On 18 Feb 2001, syvere at cyberwatcher.com wrote:

> Kai.Grossjohann at CS.Uni-Dortmund.DE (Kai
> =?iso-8859-1?q?Gro=DFjohann?=) writes:
> 
>> Oh, I'm sorry.  With M-x find-file-at-point RET, you could type it
>> on the `import MyClass' statement above and then you'll get a
>> default filename prompt of /some/path/here/MyClass.py.
> 
> You mean this is implemented, or do you mean I'll have to implement
> this to support ffap?
> 
> I am not with you here, what are you trying to say.

By adding an entry to ffap-alist, you can implement the behavior I
describe.  ffap.el does not currently support Python.

But by adding an entry into ffap-alist, you can NOT implement the
behavior that you were asking for: being able to enter a module name
in the minibuffer and have Emacs open the right *.py file.

Hm.  I think it should be possible to also get the behavior you want,
with just a little Lisp hacking.

kai
-- 
Be indiscrete.  Do it continuously.



More information about the Python-list mailing list