Re: All Hail Quail

"Stephen J. Turnbull" <[email protected]> 19 Apr 2002 13:36:59 +0900
Newsgroups gmane.emacs.xemacs.mule
Organization The XEmacs Project
Message-ID <[email protected]>
>>>>> "Hrvoje" == Hrvoje Niksic <[email protected]> writes:

    Hrvoje> I hated Quail for *years*.  Until I decided to try it out.
    Hrvoje> And now I hate it with a renewed passion bordering on
    Hrvoje> insanity.

Scary thought.

    Hrvoje> * Don't they ever use `undo' in the land of the MULEs?
    Hrvoje>   Apparently not, because `undo' is broken under Quail.

Probably not; I don't think very many people use Quail as their
primary input method, and those who do have been doing so for so
long....

    Hrvoje>   One could understand that inputting a character using a
    Hrvoje> multi-character combination would break the undo boundary.
    Hrvoje> But so does inserting a key that just had the bad luck of
    Hrvoje> being rebound to another key using Quail.

I don't understand the undo processing, in particular, how does it
keep count.  If you do, maybe the comment on the following problem
will help.

    Hrvoje> * Quail is in fact calling the proper function, but
    Hrvoje>   possibly before or after doing Something Else.  How
    Hrvoje>   ingenious!  Someone will have to patent this and become a
    Hrvoje>   millionair!

Before.  It pushes the current command event on the unread queue,
changes the keymap back to the pre-quail value, and puts a form to
give control back to quail on post-command-hook.

    Hrvoje> * Or is it that the M-\ patent applied to M-y is flawed in
    Hrvoje>   a subtle way?

Yup.  Probably if you insert (setq this-command last-command) in the
right place in quail-start-translation M-y will work.  I can't imagine
why anyone would ever want to know that quail-start-translation had
happened, but you do need to know what happened _before_
quail-start-translation for yank-pop to work.

I think this would work right if instead of redefining the key mapping
quail-start-translation hung itself (no! no! Hrvoje, no period here
yet!) on pre-command-hook.  (Now you can kick out the stool.)

    Hrvoje> * Quail sucks donkey balls through nano tubes.

Sorry, nope, that's capillary action.



-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
              Don't ask how you can "do" free software business;
              ask what your business can "do for" free software.