Hi, On 2008/07/18, at 16:17, Joshua Taylor wrote: > >Thanks for the quick response! The third option, > >(set-keyboard-coding-system 'utf-8) > >seems to work the best of the three. (The first two didn't have a >noticeable effect for me.)
So, it may be useful to pre-configure utf-8 by default in the next release. >I do notice, though, and perhaps this is the expected behavior (I am >not knowledgeable about multiple languages in Emacs), that now when >the keyboard setting is /not/ U.S. Extended, and I press C-\, the >(global, that is, visible in the OS X menubar) keyboard changes to >U.S. Extended, and C-\ again doesn't switch out. If I choose another >input method with C-x RET C-\, then C-\ will toggle between them >within Emacs, but not globally. > >Is the above line something that's appropriate to leave in a .emacs >file, given that I don't always leave they keyboard as U.S. Extended? > I have not yet understand what is happening. C-\ just toggles emacs IM, not OSX scripts like Command + space. When emacs uses OSX IM (input-method = "MacOSX"), it tries to synchronize IM status and scripts. Seiji >On Jul 18, 4:00!)pm, Seiji Zenitani <[EMAIL PROTECTED]> wrote: >> Does any of below lines improve your issue? >> >> Seiji >> >> 1. >> (setq default-input-method "MacOSX") >> >> 2. >> (setq mac-pass-key-to-system-on-read-only-buffer t) >> ;; (setq mac-pass-key-to-system-on-read-only-buffer nil) >> >> 3. >> (set-keyboard-coding-system 'utf-8) >> >> On 2008/07/18, at 15:38, Joshua Taylor wrote: >> >> >> >> >Hi, >> >> >I just downloaded the Summer 2008 Carbon Emacs, and I'm running on OS >> >X 10.5.4. Using the plain U.S. keyboard, after C-s "I-Search:" appears >> >in the minibuffer and keyboard input appears in the minibuffer and >> >searching is as usual. With the U.S. Extended keyboard, after C-s, >> >"I-Search []:" appears in the minibuffer, and keyboard input doesn't >> >seem to go anywhere. >> >> >I've put up a video of this behavior >> >at:http://www.cs.rpi.edu/~tayloj/BUGS/emacs-keyboard.mov >> >> >[edit... My first post didn't go through, as I wasn't a member of the >> >group, but in the meanwhile, I found the thread >> >http://groups.google.com/group/carbon-emacs/browse_thread/thread/b519... >> >, which seems to be related.] >> >> >I've managed to partially fix my problem. If I select Options > Mule > >> >Set Language Environment > UTF-8, (the same effect also from C-x RET >> >l, UTF-8) then Toggle-Input C-\ begins to have an effect, and I can >> >start to search again (after a toggle). The effect of toggling is >> >clear after a a search is begun with C-s; the "[]" appears and >> >disappears. >> >> >Now, it seems that I could add (set-language-environment "UTF-8") to >> >my .emacs file, but I don't always use the U.S. Extended keyboard, and >> >so I imagine that there is a better way to get around this issue. >> >> >All help is greatly appreciated! >> >> >//JT > --~--~---------~--~----~------------~-------~--~----~ Carbon Emacs User Group http://groups.google.com/group/carbon-emacs?hl=en -~----------~----~----~----~------~----~------~--~---