brittAnderson / Intro2Computing4Psychology

A guided introduction to computing tools useful for research in psychology - targeted to complete beginners
46 stars 159 forks source link

Opening a new file ending with .py in Emacs #93

Closed alinawirthx closed 1 year ago

alinawirthx commented 1 year ago

When I try to open a new file in Emacs that ends in .py it gives me the following error:

Screenshot 2023-06-08 at 13 20 29

What does this error mean?

brittAnderson commented 1 year ago

Those are warnings not errors. You can ignore them and everything should work.

We can try to make them go away, but for the moment I think you can just type, no?

You could as a test try to install and enable the optional package elpy (in emacs using the emacs package system). That might fix things.

https://github.com/jorgenschaefer/elpy

alinawirthx commented 1 year ago

The warnings won't let me type on the file. I do have elpy installed but under status it says "dependency".

Screenshot 2023-06-08 at 14 03 59
brittAnderson commented 1 year ago

Are you sure you can't write in your file? Maybe when the warning comes up the buffer changes to a new one and your old file.py is in the back some where? Did you look for it with C-x C-b?

alinawirthx commented 1 year ago

It turned out that I could write in my file. I think you're right it was just changing to a new file. Thank you!