|
Okay, I figure this thread is as good as any to ask this question, since it's emacs related. I'm using Aquamacs on OS X 10.5 and I'm trying to set stuff up like this guy for Python + emacs. Most of the stuff worked fine (I think I ran into issues with just ipdb which is probably another question entirely) and I skipped a few of the config steps for now (like I didn't bother installing the python documentation locally). However, I'm not getting IPython to work at all. Whenever I bring up the py-shell it displays the Python 2.5 shell which is the last thing I want. IPython works when I launch it in Terminal and seems to be installed fine to work with Python 3 but for some reason it won't come up in Aquamacs. Both python-mode.el and ipython.el are in my load-path.. I'm not sure what else to try. Any ideas? Need more info to help?
|
# ¿ Oct 7, 2011 01:50 |
|
|
# ¿ May 10, 2024 09:02 |
|
Thanks for the info. I will definitely keep playing around with 6.0.3 then, as I was using 6.0.2 before. edit: well that backfired. now I can't get any shell to come up. etcetera08 fucked around with this message at 17:34 on Oct 7, 2011 |
# ¿ Oct 7, 2011 16:16 |
|
Fren posted:Let me know what version of Emacs, python, python-mode, and ipython you're running, and the results of (getenv "PATH") and (getenv "PYTHONPATH"). If you're receiving an error, evaluate (setq debug-on-error t) and then provide the traceback produced by trying to open a shell. If you've been swapping out libraries live, you may need to restart Emacs. I've found unload-feature doesn't take care of all the crap that python-mode creates (I'm not even sure I'm meant to use unload-feature in that way ) Emacs: GNU Emacs 23.3.50.1 (Aquamacs on OS X) python: Attempting to use Python 3.2.1, but also have Python 2.5.1 installed, which is the py-shell that comes up when I'm using python-mode 6.0.2. When I use python-mode 6.0.3 I get an error from (C-c !). ('Symbol's value as variable is void: py-python-command') python-mode: Described above, tried 6.0.2 and 6.0.3. Restarted Emacs completely when switching out so that shouldn't have been the issue. IPython: 0.11 with Python 3. I, um, don't know how to get the results of (getenv "PATH") and (getenv "PYTHONPATH").. edit: got some help in IRC. "PATH": /Library/Frameworks/Python.framework/Versions/3.2/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin "PYTHONPATH": gives me No Match with 6.0.3 or 6.0.2 etcetera08 fucked around with this message at 23:28 on Oct 7, 2011 |
# ¿ Oct 7, 2011 23:14 |
|
pgroce posted:I also use the emacsformacosx builds and have no problems. As do I. Much better than Aquamacs, which I tried to use when this thread began.
|
# ¿ Mar 7, 2012 16:39 |
|
Fren posted:How do you make it look soooo pretty? I think a decent portion of the reason I haven't learned emacs as well as I should is because I'm repelled by its aesthetics out of the box.. but yours.. yours is gorgeous.
|
# ¿ Mar 13, 2012 23:50 |
|
Fren posted:Not sure what the font I'm using at work is, but at home I use Apple's Menlo font. The color theme above is solarized dark. I will have to mess around a bit more when I get a chance. I think I had solarized running on Aquamacs at some point last year. Speaking of learning Emacs, though, how do you feel about icicles? I installed it but haven't spent any time with it. Also, is AutoInstall supposed to update my .emacs? I only see it downloading the proper .el files but not doing anything else. EDIT: I guess I should ask this: In general, how should I be installing packages? I see there are some package managers? etcetera08 fucked around with this message at 00:56 on Mar 14, 2012 |
# ¿ Mar 14, 2012 00:51 |
|
Fren posted:I'm afraid I've never used Icicles. I would love to hear someone's opinion on it. Oh, wow, somehow I completely missed that feature in Emacs 24. I also didn't even have 24 until now. Cool. thanks a ton. I'm sure I'll have more stupid questions in the future.
|
# ¿ Mar 14, 2012 01:15 |
|
Fren posted:In response to your edit: Use Emacs 24 and AutoInstall. There's more sophisticated poo poo like el-get that can go so far as to install the proper OS-level dependencies (Debian packages, what-have-you) for your Emacs setup, but I find that to be overkill. Emacs 24's packages for the heavy things, AutoInstall for the lightweight (single-file-type) things, and very occasionally you have to get your hands dirty byte-compiling things manually (auctex, w3m) but those are the rare cases. I've been having success playing with these. Did this and now have a buncha packages with ease. Pretty cool.
|
# ¿ Mar 14, 2012 20:52 |
|
|
# ¿ May 10, 2024 09:02 |
|
h_double posted:Well, yes and no. The first public release of GNU Emacs was a few months after the Macintosh and DRI's GEM windowing system (and before those there was Xerox PARC and the Apple Lisa). I don't know when split-screen was added to Emacs, but for a long time it was a reasonable supposition that most people were using the editor on a TTY, and so calling the subscreens "windows" made sense. But GNU Emacs didn't add support for multiple frames (under X) until 1994, and by that time X workstations (and GUI OS on home computers) were common enough that it would have been sensible to rethink the terminology. I can't imagine it would involve a lot of code change, and there could always be an enable-legacy-window-mode variable so as not to break preexisting scripts. It's still common terminology in other programs that don't use "windows" like you're thinking of them too (irssi comes to mind immediately). It's sort of annoying, but it's not unprecedented for emacs.
|
# ¿ Apr 4, 2012 19:35 |