[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] 23.0.60; Unreleased Meta/Win modifier

From: Lennart Borgman (gmail)
Subject: Re: [h-e-w] 23.0.60; Unreleased Meta/Win modifier
Date: Mon, 01 Sep 2008 22:58:11 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071031 Thunderbird/ Mnenhy/

Beverley Eyre wrote:
> Lennart,
> With all due respect to the wonderful work you've done with emacs, your
> answer sucks.


What I tried to say was "look there and you can find the solution". If
you want to you can find the elisp solution there too.

Is not that fair?

It is an overall feature of Emacs that you in most cases rather easily
can find the code. (There are some things that can be easier. It is
still a bit hard to find out what a button does, but lets hope my or
someone elses code for that gets into Emcas some day.)

In this case I added a little hint on that Customize EmacsW32 page I
referred too. Here is how to find what you are looking for from that:

1) In the top section you can find a line

  Use keyboard Window keys as Emacs META (w32-meta-style): w32-lr

2) If you click on the link w32-meta-style there the doc string for that
option will be shown in the help buffer.

3) To find out what happens when you set that option through custom you
can click on the link to the option source code.

4) There you can see that it uses the function w32-meta-set-w32-style.

5) Go to the source code for that function and you will find how to do
what you want.

I myself really do not remember at all how I did it. I go there myself
if I want to know for some reason.

Obviously this was not that clear to you, but I do not know why. Could
you tell me why it was difficult for you to find it?

> It seems like you're saying "don't worry your little head
> about it, leave the tricky stuff to the experts."

We, all together, are the experts of Emacs ... ;-)

> Many people who use
> emacs, especially those who bother to learn elisp, don't want to have
> emacs be a black box that magically does wonderful things, but keeps you
> in the dark as to how to make it do what you want it to. We both know
> that the whole point of emacs is to allow the *user* to make the changes
> he wants, and not to have a magic black box that only high priests can
> manipulate.
> Aren't the customization functions there to make it easier to do certain
> things, not to be the only method of doing those things?
> I'm with Sergio. Is this a bug?
> Thanks Lennart.
> - Beverley Eyre
> Lennart Borgman (gmail) wrote:
>> Sergio Pokrovskij wrote:
>>>> This is a bug report for the PATCHED Emacs+EmacsW32.
>>>> Please test the unpatched version of Emacs+EmacsW32 before reporting
>>>> if you can. If the bug is also in the unpatched version then
>>>> report from the unpatched version else report here.
>>> I do not have unpatched version at hand.
>>>> Please describe exactly what actions triggered the bug
>>>> and the precise symptoms of the bug:
>>> The problem concerns using the WIN key as the META key.  I have this
>>> in my default.el:
>>> (setq w32-alt-is-meta nil               ; Alt be diffrent from Meta
>>>       w32-pass-lwindow-to-system nil    ; do not pass ...
>>>       w32-lwindow-modifier 'meta        ; lwindow acts as Meta
>>>       w32-apps-modifier nil)            ; can now bind [apps]
>>> It works for the first chord; but if I try a second M-chord without
>>> releasing the WIN key in between, the META is ignored.
>> Instead of entering this in your .emacs could you please try the
>> functions that comes with EmacsW32 for setting up this? The best way is
>> through the customization routines. Start from the menus
>>   Options - Customize EmacsW32

reply via email to

[Prev in Thread] Current Thread [Next in Thread]