emacs-pretest-bug
[Top][All Lists]
Advanced

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

compose key on SUN keyboard creates 2 characters (and beeps)


From: Klaus Zeitler
Subject: compose key on SUN keyboard creates 2 characters (and beeps)
Date: Thu, 2 Oct 2003 14:41:20 +0200 (MEST)

Symptoms:

When I use the compose key, e.g. <Compose> a `, emacs beeps and then generates
"aà".
C-h k <Compose> returns "<Multi_key> is undefined"

This worked fine in 21.2.
In 21.3 emacs beeped, but still composed the desired character.

I added the following lines right after the call to XLookupString
(line 6284 in current CVS version):

          if ((compose_status.chars_matched == 1) ||
              (compose_status.chars_matched == 2))
            goto OTHER;

as an alternative

          if (nbytes <= 0)
            goto OTHER;

seems to suffice too.

Both changes make the compose feature work again under Solaris


In GNU Emacs 21.3.50.14 (sparc-sun-solaris2.8, Motif Version 2.1.0)
 of 2003-10-02 on sfsws4
configured using `configure '--with-gcc' 
'--prefix=/vol/freeware/SunOS-5.8/emacs/cvs' 
'--sharedstatedir=/vol/freeware/SunOS-5.8/emacs/cvs/share' 
'--with-x--toolkit=motif' 
'--x-includes=/usr/openwin/include:/usr/local/gnu/include' 
'--x-libraries=/usr/openwin/lib:/usr/local/gnu/lib' '--with-pop' 'CC=gcc''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Mail

Minor modes in effect:
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  unify-8859-on-encoding-mode: t
  line-number-mode: t

Recent input:
<down-mouse-1> <mouse-1> <Multi_key> a à <backspace> 
<backspace> <help-echo> <help-echo> <menu-bar> <help-menu> 
<report-emacs-bug>

Recent messages:
Loading mwheel...done
(/vol/freeware/SunOS-5.8/build/emacs-cvs/src/emacs -q --no-site-file)
Loading tool-bar...done
Loading image...done
Loading tooltip...done
For information about the GNU Project and its goals, type C-h C-p.
Loading emacsbug...done




reply via email to

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