I'm using emacs on OSX Terminal, just installed newer version 23.2, its located on /Applications/Emacs/Content/Emacs, it's an executable, so i linked it to /usr/bin/emacs, and moved the older one to /usr/bin/emacs.old as it was a bin file.
Now when i use "emacs -nw "" (with no .emacs and empty ".emacs.d") it opens the file, with no syntax highlight (php in my case, but it's understandable), and when i close it, there are the following errors:
Warning: arch-dependent data dir (/Users/david/src/emacs-dev/ftp-versions/emacs-23.2/nextstep/Emacs.app/Contents/MacOS/libexec/emacs/23.2/x86_64-apple-darwin/) does not exist. Warning: arch-independent data dir (/Users/david/src/emacs-dev/ftp-versions/emacs-23.2/nextstep/Emacs.app/Contents/Resources/share/emacs/23.2/etc/) does not exist. Error: charsets directory (/Users/david/src/emacs-dev/ftp-versions/emacs-23.2/nextstep/Emacs.app/Contents/Resources/share/emacs/23.2/etc/charsets) does not exist. Emacs will not function correctly without the character map files. Please check your installation!
If i move my .emacs.old to .emacs and put the contents of my .emacs.d.old to .emacs.d, when open some file, emacs shows an error, saying it couldn'y open the file due to warnings, and when i close it, the same warnings appear.
The strange thing is my username isn't david, as it looks on the warning "/Users/david/...", so where did it come from? Can i fix it?
edit: here's the error i get when i try to open a .module file:
Cannot open load file: warnings
All i wanted is shift-selection on the 'emacs -nw', if anyone got a better sugestion, i'd love it. I'm using the older emacs now, new one is too buggy on the -nw.