all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Multi_key and dead keys under irix 6.5, emacs 21.2
@ 2003-10-31 14:24 Ingo Bremer
  2003-11-02  0:08 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Ingo Bremer @ 2003-10-31 14:24 UTC (permalink / raw)



hallo,

under sgi irix (6.5.13m) the XK_Multi_key and the dead_keys are
not working in emacs-21.2.

the reason is a difference between the run-time behaviour
of XmbLookupString and the description in the manual:

---
XLookupNone       No consistent input has been composed so
                            far.  The contents of buffer_return and
                            keysym_return are not modified, and the
                            function returns zero.
---

in fact, after pressing Multi_key ' a we have status_return == XLookupNone
AND nbytes == 1 with the correct latin1-character "á" in the buffer.
my little patch helps emacs to deal with this situation

patch for 
eamcs-21.2/src/xterm.c near line 10449


	if (status_return == XLookupNone && nbytes >0) { /* should not appear, but... 
*/
		keysym = NoSymbol;
	}
		else {
		      if (status_return == XLookupNone)
			break;
		      else if (status_return == XLookupChars)
			{
			  keysym = NoSymbol;
			  modifiers = 0;
			}
		      else if (status_return != XLookupKeySym
			       && status_return != XLookupBoth)
			abort ();
		}

best regards
i.b.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Multi_key and dead keys under irix 6.5, emacs 21.2
  2003-10-31 14:24 Multi_key and dead keys under irix 6.5, emacs 21.2 Ingo Bremer
@ 2003-11-02  0:08 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2003-11-02  0:08 UTC (permalink / raw)
  Cc: bug-gnu-emacs

    under sgi irix (6.5.13m) the XK_Multi_key and the dead_keys are
    not working in emacs-21.2.

Do they work in Emacs 21.3?
How about in the current development version on savannah.gnu.org?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-02  0:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-31 14:24 Multi_key and dead keys under irix 6.5, emacs 21.2 Ingo Bremer
2003-11-02  0:08 ` Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.