No, I just couldn't be bothered to figure out the plist syntax. ;-) So, how does setting LANG in your environment.plist file differ from simply using set-language-environment?
jb On Nov 8, 4:53 pm, Eric Tiffany <[EMAIL PROTECTED]> wrote: > ~/.MacOS/environment.plist works in carbon emacs for me. > > Maybe you have broken syntax or permissions problems. > > For example, here is an abridged version of my file > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" > "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> > <plist version="1.0"> > <dict> > <key>JAVA_HOME</key> > <string>/Library/Java/Home</string> > <key>LANG</key> > <string>en_US.UTF-8</string> > </dict> > </plist> > > And if I do M-x genenv LANG, I get what I have here. > > ET > > On 11/8/07 4:03 PM, "darmabum" <[EMAIL PROTECTED]> wrote: > > > > > Great work getting emacs up on Mac OSX, and the packages are pretty > > comprehensive, but I've always used XSLide instead of XSL-process. > > Any reason why the former wasn't included by default? I installed > > XSLide and XT, and they're working great. > > > Also, if it saves anyone else the trouble: > > > It took some time to discover that applications on the Mac don't > > inherit environment variables the way they do in normal *nix through > > a .profile (or .bashrc, etc). Various info online suggested that > > applications need environment variables set in ~/.MacOS/ > > environment.plist, but this doesn't work either, at least for Carbon > > Emacs. > > > Turns out the path fix is quite simple: simply declare the environment > > variables in .emacs, thusly: > > > (setenv "CLASSPATH" "/usr/local/xt/xt.jar:/usr/local/xt/sax.jar:/ > > usr/local/xp.jar") > > > Now, XSLide and xt work great in Carbon Emacs (the only painless way I > > know of to do batch transforms). --~--~---------~--~----~------------~-------~--~----~ "Carbon Emacs" group mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/carbon-emacs?hl=en -~----------~----~----~----~------~----~------~--~---
