problem with 4.7 and emacs21 M-x

( Marc A. Lehmann ) pcg at goof.com
Tue Jan 11 18:07:28 CET 2005


On Sun, Jan 09, 2005 at 08:14:24PM -0500, Joel Reed <joelwreed at comcast.net> wrote:
> On Thu, Jan 06, 2005 at 03:20:47PM +0100,  Marc A. Lehmann  wrote:
> > On Wed, Jan 05, 2005 at 08:49:53PM -0500, Joel Reed <joelwreed at comcast.net> wrote:
> > > On Wed, Jan 05, 2005 at 04:11:29AM +0100,  Marc A. Lehmann  wrote:
> > > > On Tue, Jan 04, 2005 at 09:19:27PM -0500, Joel Reed <joelwreed at comcast.net> wrote:
> 
> hmmm. i hit the escape key then the "w" key for M-w.

Hmm.. But that doesn't seem to be the problem.

> ok. done below. it feels to me like the issue is the len/newlen is maybe
> one char to many. i'm thinking this because emacs correctly picks up my M-w,
> but then ALSO inserts "w" into the buffer.
> 
> i don't know if this helps or not, but the following code also works
> for me:

What the following change does it basically disable the functionality of
generating an escape sequence for keys that don't usually generate a sequence
on their own.

That means that some key on your keyboard does not usually geenrate
output, but rxvt will assign it a keycode of \033[<modifier>;<keysym>A

Can you find out which key that is?

> original 4.7:
> 
> (%:~/src/lm-4.0)- od -a 
> ^[w
> 0000000 esc   w  nl
> 0000003
> 
> patched 4.7:
> (%:/opt/src/rxvt-unicode-4.7)- od -a
> ^[w
> 0000000 esc   w  nl
> 0000003
> 
> darn they are the same.

Yes, what would have to be done is find out which keys are typed, which
sequence is produced and which seuqndce should have been produced :)

-- 
                The choice of a
      -----==-     _GNU_
      ----==-- _       generation     Marc Lehmann
      ---==---(_)__  __ ____  __      pcg at goof.com
      --==---/ / _ \/ // /\ \/ /      http://schmorp.de/
      -=====/_/_//_/\_,_/ /_/\_\      XX11-RIPE




More information about the rxvt-unicode mailing list