unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* patch for macterm.c
@ 2007-06-27  9:55 Jose E. Marchesi
  2007-06-28 10:21 ` YAMAMOTO Mitsuharu
  0 siblings, 1 reply; 2+ messages in thread
From: Jose E. Marchesi @ 2007-06-27  9:55 UTC (permalink / raw)
  To: emacs-devel; +Cc: jemarch


Hi.

I am the gv maintainer.

Someone (anonymous) inserted the following patch in the gv savannah
project. I dont know why :)

Friday 03/09/2007 at 08:37, original submission:

Carbon Emacs built with current CVS crash if I use MacUIM as a input
method component. This is because MacUIM try to get
kEventTextInputOffsetToPos information at the startup, but Emacs
haven't yet created echo area window at the time and this causes crash
in f = WINDOW_XFRAME (w) with w with NULL.

--- macterm.c.orig	2007-02-13 17:28:39.000000000 +0900
+++ macterm.c	2007-03-09 17:21:29.000000000 +0900
@@ -10198,6 +10198,8 @@
 	  {
 	    /* Active input area is displayed in the echo area.  */
 	    w = XWINDOW (echo_area_window);
+	    if (!w)
+	      return eventNotHandledErr;
 	    f = WINDOW_XFRAME (w);
 	  }
 	else


--
Jose E. Marchesi <jemarch@gnu.org>
                 <jemarch@es.gnu.org>

GNU Project      http://www.gnu.org
GNU Spain        http://es.gnu.org

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

* Re: patch for macterm.c
  2007-06-27  9:55 patch for macterm.c Jose E. Marchesi
@ 2007-06-28 10:21 ` YAMAMOTO Mitsuharu
  0 siblings, 0 replies; 2+ messages in thread
From: YAMAMOTO Mitsuharu @ 2007-06-28 10:21 UTC (permalink / raw)
  To: Jose E. Marchesi; +Cc: jemarch, emacs-devel

>>>>> On Wed, 27 Jun 2007 11:55:24 +0200, "Jose E. Marchesi" <jose.marchesi@deimos-space.com> said:

> I am the gv maintainer.

> Someone (anonymous) inserted the following patch in the gv savannah
> project. I dont know why :)

Thanks for forwarding this to the right place.  I've installed
different fixes.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

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

end of thread, other threads:[~2007-06-28 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-27  9:55 patch for macterm.c Jose E. Marchesi
2007-06-28 10:21 ` YAMAMOTO Mitsuharu

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).