xwem-bugs
[Top] [All Lists]

Re: [XWEM Bug] keyboard macro execution problem

From: Zajcev Evgeny <zevlg@xxxxxxxxx>
Subject: Re: [XWEM Bug] keyboard macro execution problem
Date: Thu, 19 May 2005 02:53:35 +0400
Cc: XWEM Bugs <xwem-bugs@xxxxxxxx>
Organization: Home
User-agent: Gnus/5.1007 (Gnus v5.10.7) SXEmacs/22.1.2 (Audi, berkeley-unix)
Steve Youngs <steve@xxxxxxxxxxx> writes:

> Guten Tag bug team:
>
> H-x ( foo H-x )
> H-u 2 H-x e
>
> results in "XWEM-Error: No marked client"

This is understandable, but reasons are not.  Instead of executing
`xwem-keymacro-play-last' binded to `H-x e' it executes
`xwem-client-exchange-selected-and-mark' binded to `H-x H-x'

[...]
> 53843 x-event: !!: Reprocessing done 0 bytes pending.
> 53843 x-event: !!: Reprocessing: 32 bytes pending, msg=([1 success] nil ([1 
> integerp] [2 integerp] [4 integerp] [24 nil]))
> 53843 x-event: XLIB: Get new event 10(FocusOut) win=6292037.0 ....
> 53843 x-event: !!: Inter Evaluating event ..
> 53843 xwem-event: KBD Dispatcher: [#<keypress-event hyper-X>], lkm = 
> xwem-Hyper-X-prefix
> 53843 xwem-cl: CLIENT HANDLER: xev type="KeyPress", win=6292037.0
> 53843 x-event: Got X event: "KeyPress" for win 6292037.0 / 6292037.0
> 53843 xwem-cl: CLIENT HANDLER: xev type="KeyRelease", win=6292037.0
> 53843 x-event: Got X event: "KeyRelease" for win 6292037.0 / 6292037.0
> 53843 xwem-deffered: ---------> IN #<compiled-function nil "...(10)" 
> [xwem-kbd-global-map-current-p xwem-kbd-stop-command-keys-echoing 
> xwem-kbd-stop-grabbing] 1>
> 53843 xwem-event: KBD Dispatcher: [#<keypress-event hyper-X> #<keypress-event 
> hyper-X>], lkm = xwem-client-exchange-selected-and-mark
> 53843 xwem-cl: CLIENT HANDLER: xev type="KeyPress", win=6292037.0
[...]
> 53843 x-event: XLIB: Get new event 3(KeyRelease) win=8388654.0 ....
> 53843 xwem-event: KBD Dispatcher: [#<keypress-event hyper-X>], lkm = 
> xwem-Hyper-X-prefix
> 53843 xwem-cl: CLIENT HANDLER: xev type="KeyPress", win=8388654.0
> 53843 x-event: Got X event: "KeyPress" for win 8388654.0 / 8388654.0
> 53843 x-event: XLIB: Get new event 2(KeyPress) win=8388654.0 ....
> 53841 xwem-event: KBD Dispatcher: [#<keypress-event М>], lkm = 
> xwem-self-insert-or-undefined
> 53841 xwem-event: KBD Dispatcher: [#<keypress-event hyper-U> #<keypress-event 
> 2> #<keypress-event М>], lkm = xwem-universal-command
[...]
> 53838 xwem-deffered: ---------> IN #<compiled-function nil "...(10)" 
> [xwem-kbd-global-map-current-p xwem-kbd-stop-command-keys-echoing 
> xwem-kbd-stop-grabbing] 1>
> 53838 xwem-deffered: ---------> IN xwem-frame-export-frame-configuration-1
> 53838 xwem-event: KBD Dispatcher: [#<keypress-event hyper-U> #<keypress-event 
> 2>], lkm = xwem-universal-digit
> 53838 xwem-cl: CLIENT HANDLER: xev type="KeyPress", win=8388654.0

This is very weird :-\

Steve, can you please do two things:

  1) In fresh xwem(i.e. no any keyboard macros has been saved before),
     press `H-u 2 H-x e'

  2) Press `H-u 2 H-x', if nothing happens press H-g

  3) Do, `H-x ( foo H-x )' and show value of
     `xwem-keymacro-macros-stack' variable.

after performing these actions please report bug once again.

Thanks!

-- 
lg

<Prev in Thread] Current Thread [Next in Thread>