Where is LEIM for cygwin's emacs 21.2?
Very rarely I need to type one or two japanese characters in my emacs, and I recall that I did it with LEIM and set-input-method quite easily. However, in my current installation, emacs says that LEIM isn't installed. The cygwin installer says: LEIM is part of emacs package now. The directory where LEIM used to be, /usr/share/21.2/leim/, exists but is empty, both on my machine and on http://cygwin.com/cgi-bin2/package-cat.cgi?file=emacs%2Femacs-21.2-12. There's no LEIM at all in http://cygwin.com/cgi-bin2/package-cat.cgi?file=emacs-el%2Femacs-el-21.2-12 but the title says (including LEIM). As a workaround, I fetched emacs-leim from the web, extracted the tar.bz2 and symlinked the contents to /usr/share/21.2/leim. Now set-input-method works as expected. But I doubt that this is how it ought to be. * Is there something wrong with my installation (old installation, carried over from another machine)? * Did I miss to install / re-install an emacs package? * Is it a packaging error with cygwin's emacs-el 21.2 package? * Would a switch to emacs and emacs-el 23.0.92 be the recommended solution (emacs-el 23.0.92 apparently contains LEIM)? -- Cheers, haj -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Where is LEIM for cygwin's emacs 21.2?
On 8/5/2009 4:16 AM, Harald Joerg wrote: Very rarely I need to type one or two japanese characters in my emacs, and I recall that I did it with LEIM and set-input-method quite easily. However, in my current installation, emacs says that LEIM isn't installed. The cygwin installer says: LEIM is part of emacs package now. The directory where LEIM used to be, /usr/share/21.2/leim/, exists but is empty, both on my machine and on http://cygwin.com/cgi-bin2/package-cat.cgi?file=emacs%2Femacs-21.2-12. There's no LEIM at all in http://cygwin.com/cgi-bin2/package-cat.cgi?file=emacs-el%2Femacs-el-21.2-12 but the title says (including LEIM). As a workaround, I fetched emacs-leim from the web, extracted the tar.bz2 and symlinked the contents to /usr/share/21.2/leim. Now set-input-method works as expected. But I doubt that this is how it ought to be. * Is there something wrong with my installation (old installation, carried over from another machine)? No. There was confusion a couple of years ago when it looked like emacs was going to be updated to version 22.1 (which did include leim). At that point emacs-leim was declared obsolete. Unfortunately, the emacs-22.1 build turned out to be unstable, but emacs-leim was never reinstated. * Would a switch to emacs and emacs-el 23.0.92 be the recommended solution (emacs-el 23.0.92 apparently contains LEIM)? Yes. BTW, emacs-el is irrelevant; it just contains the library source files (*.el). The byte-compiled libraries (*.elc), including leim, are in the emacs package. Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Thanks (was: Re: Where is LEIM for cygwin's emacs 21.2?)
Ken Brown kbr...@cornell.edu writes: On 8/5/2009 4:16 AM, Harald Joerg wrote: Very rarely I need to type one or two japanese characters in my emacs, and I recall that I did it with LEIM and set-input-method quite easily. However, in my current installation, emacs says that LEIM isn't installed. [...] As a workaround, I fetched emacs-leim from the web, extracted the tar.bz2 and symlinked the contents to /usr/share/21.2/leim. Now set-input-method works as expected. But I doubt that this is how it ought to be. * Is there something wrong with my installation (old installation, carried over from another machine)? No. There was confusion a couple of years ago when it looked like emacs was going to be updated to version 22.1 (which did include leim). At that point emacs-leim was declared obsolete. Unfortunately, the emacs-22.1 build turned out to be unstable, but emacs-leim was never reinstated. * Would a switch to emacs and emacs-el 23.0.92 be the recommended solution (emacs-el 23.0.92 apparently contains LEIM)? Yes. BTW, emacs-el is irrelevant; it just contains the library source files (*.el). The byte-compiled libraries (*.elc), including leim, are in the emacs package. Excellent! Many thanks for your clarfications, on both emacs-leim and cygwin's emacs-el package. I have just installed emacs 23.0.92 from setup.exe's experimental branch and Japanese characters work like charm. As an additional bonus I found that Emacs is able to save Japanese characters as Unicode which makes interoperation with other programs much easier. Excellent! All I had to do after the upgrade was to *remove* my private installation of gnus 5.10.6. It was outdated, didn't work with Emacs23, and is not necessary since a perfectly working Gnus v5.13 comes bundled with cygwin's emacs 23.0.92. Wonderful! -- Cheers, haj -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple