
and actually it provides a third one, wisent python : /Applications/Aquamacs.app/Contents/Resources/lisp/cedet/semantic/wisent/python.el.
AQUAMACS OSX CODE
You don't say what command you are using to start up the python interpreter, but if you use 'py-shell' you will be using the code from the non-gnu version, and you should get the version of python you have set in py-python-command. python-shell-interpreter (the gnu variable)īut guess is that there is some interference between the two.I see you have tried to cover both bases by setting both:

their menus look very different, but confusingly, they both provide a a python-mode. I imagine GNU emacs 27.1 provides only the GNU one.

There are actually two emacs packages that provide python support. I'm not sure I have an answer, but I may have a clue. I have also set the environment variable PYTHON toĮxport PYTHON="/Users/pcolsen/opt/anaconda3/bin/python3"ĭespite all of this, my Aquamacs persists in running Python 2.7. #'(lambda () (setq python-shell-interpreter "/Users/pcolsen/opt/anaconda3/bin/python3"))) #'(lambda () (setq py-python-command "/Users/pcolsen/opt/anaconda3/bin/python3"))) (setq py-python-command "/Users/pcolsen/opt/anaconda3/bin/python3") However, I do get Python 3 when I run straight GNU emacs 27.1 both from the Command Line and using the MacPorts Emacs.app.
AQUAMACS OSX MAC
I have put the following lines in both my Preferences.el (the Mac equivalent of.
AQUAMACS OSX HOW TO

So you need to wrap a shell (script) around the launching of Aquamacs Emacs.

AQUAMACS OSX MAC OS X
The difference of Mac OS X is that it launches processes *without* a shell's aid. Likewise, '.bashrc' executes once per *nix shell, including for Emacs shell buffers. Aquamacs is an Emacs text editor for macOS.It is based on GNU Emacs, currently tracking the GNU Emacs version 25.3 branch.Although GNU Emacs has had native UI support on macOS using the Cocoa API since version 23, Aquamacs modifies the user interface to conform with macOS standards in favor of Emacs standards. > On *nix and Cygwin-on-NT, GNU Emacs works out of the box with '.bash_profile' and '.bashrc' in the expected way: '.bash_profile' is executed once on the *nix system, and all shells, including Emacs shell buffers, get the variables from that. > However, what is needed is to configure Aquamacs so that '~/.bash_profile' executes once per Aquamacs session, and '~/.bashrc' executes once per Aquamacs shell? Otherwise, for example with a link from '~/.emacs_bash' to '~/.bash_profile', concatenated shell variables (commonly, $PATH) get a lot of redundant values in them. Subject: Re: How to configure '~/.bash_profile' and '~/.bashrc' to work with Aquamacs?Īm um 02:35 schrieb Christopher M. The changes were: a) Remove the '~/.emacs_bash' symlink I'd created b) Create a '~/.bashrc' file containing an invocation of my alias-setting script c) Invoke '~/.bashrc' from '~/.bash_profile' (leaving exported env vars in ~/'.bash_profile' where they belong).Īquamacs seems to append '/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin' to the path it gets from '~/.bash_profile', but that doesn't seem to be a problem.
AQUAMACS OSX INSTALL
I made two changes that seem to do the trick (I had earlier done Aquamacs -> Tools -> Install Command Line Tools).
