Menu

#53 XEmacs and Emacs read-char differs

closed-fixed
semantic (53)
5
2003-12-31
2003-12-01
Anonymous
No

Submitted by <marcus.harnisch@gmx.net>

Xemacs' read-char doesn't take arguments. Thus
semantic-lex-debug fails. Using (next-command-event
'nil ...) instead worked for me, but might not be a
correct workaround. Please double check.

-- Marcus

`read-char' is a compiled Lisp function

Documentation:
Read a character from the command input (keyboard or
macro). If a mouse click or non-ASCII character is
detected, an error is signalled. The character typed
is returned as an ASCII value. This is most likely the
wrong thing for you to be using: consider using the
`next-command-event' function instead.

Discussion

  • Eric M. Ludlam

    Eric M. Ludlam - 2003-12-31
    • assigned_to: nobody --> zappo
    • status: open --> closed-fixed
     
  • Eric M. Ludlam

    Eric M. Ludlam - 2003-12-31

    Logged In: YES
    user_id=88537

    Semantic already had semantic-read-event as a compatibililty
    function, so I used that.