Hi John,
In addition to Remy's comments, you can also consider using this version of emacs:
https://github.com/railwaycat/emacs-mac-port
Here is the full list of features of this port:
https://github.com/railwaycat/emacs-mac-port/blob/master/README-mac
Cheers
On Wed, Aug 20, 2014 at 10:50 AM, Remy Haemmerle <remy(a)clip.dia.fi.upm.es> wrote:
Hi John,
To load the emacs mode of recent versions of Ciao you have to include the following lines in your .emacs
(if (file-exists-p "/usr/local/lib/ciao/ciao-mode-init.el") (load-file "/usr/local/lib/ciao/ciao-mode-init.el") )
This should work with aquamacs, /usr/bin/emacs or Carbon emacs ( http://emacsformacosx.com/)
Otherwise to use the Alt (Option) key as Meta Key under Terminal.app, do the following: Go to Preferences > Settings > Keyboard > Use option as meta key.
In general you can find other useful tips about Emacs and MacOS on emacswiki.org http://www.emacswiki.org/emacs/EmacsForMacOS
I hope it will help.
Best,
Remy
8/14/14 7:07 AM, John O'Gorman:
Hi
Further problems.
I decided to try /usr/bin/emacs in place of Aquamacs. Problems The Alt (Option) key is not treated by emacs as the Meta key. (It was by Aquamacs). But ESC followed by say x did work as expected. But nothing else did. The DOTemacs.el file does not execute properly. I haven't yet figured out how to debug where emacs lisp is going wrong. Emacs version is 22.1.1 on OS X 10.9.4
Can anyone suggest how to get the Alt (Option) key to be mapped to Meta for emacs? And how can I get the load-file instructions to produce debugging messages?
Regards John O'Gorman
On 14/08/14 09:51, John O'Gorman wrote:
Hi
I started out on the journey of compiling CiaoDE source on the Mac. I immediately ran into the problem you mentioned about Clang instead of GNU gcc being supplied with Xcode.
Rather than reinstalling the gcc stuff, I will wait for your next distribution for Mac OS X 10.9.4.
Incidentally, when I tried /usr/bin/emacs it did not complain about ciao-mode but nevertheless it did not change into ciao-mode. When I tried to M-x ciao-mode it did not jump into the minibuffer. So I will continue to investigate that.
Regards John O'Gorman
On 13/08/14 11:33, ciao(a)clip.dia.fi.upm.es wrote:
This could be because Ciao is using the default Emacs on MacOS (/usr/bin/emacs) instead of Aquamacs during installation. Can you try to clean up and restart installation from scratch with:
./ciaosetup configure --menu
(you may also need to set --cc=/usr/local/Cellar/gcc/4.8.3_1/bin/gcc-4.8 or wherever your gcc is, since that 1.15 still needed gcc --newer versions compile with clang but we have not got around making a distro, sorry; this should happen shortly). Select
Please select level of interaction:
1 -- Fully automatic (recommended). 2 -- Manually configure just a minimum set of options. 3 -- Manually configure an extended set of options.INTERACTIVE_CONFIG=[1] ? 2
Select the type of installation:
global -- Install the system in a separate location from the sources and set up things to use the installed version. The system will not require the sources to run, and they can be erased after installation. local -- The system will be compiled in, and run from the sources (this is specially useful for developers).INSTYPE=[global] ? local
Registration type:
all -- Make the system available to all users. Typically you you will need to complete the installation as root. user -- Make the system available only for the current user (configure it in the user's home directory).REGISTRATION_TYPE=[user] ? user
and, simply 'enter' for everything else, except:
The version of emacs that you wish to use with Ciao. The development environment will be compiled for use with this version.
EMACS_FOR_CIAO=[/usr/bin/emacs] ?
/Applications/Aquamacs.app/Contents/MacOS/Aquamacs
(with no space at the end of the line). And then './ciaosetup build', './ciaosetup docs', './ciaosetup install'. This should work. Please let us know.
MH
Ciao-users mailing list Ciao-users(a)clip.dia.fi.upm.es http://clip.dia.fi.upm.es/cgi-bin/mailman/listinfo/ciao-users
Ciao-users mailing list Ciao-users(a)clip.dia.fi.upm.es http://clip.dia.fi.upm.es/cgi-bin/mailman/listinfo/ciao-users
-- Jose