emacs-devel
[Top][All Lists]
Advanced

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

Re: POSIX_SIGNALS (was: BLOCK_INPUT on Mac OS X)


From: YAMAMOTO Mitsuharu
Subject: Re: POSIX_SIGNALS (was: BLOCK_INPUT on Mac OS X)
Date: Mon, 29 Nov 2004 19:12:49 +0900
User-agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Fri, 26 Nov 2004 09:24:58 -0500, Stefan Monnier <address@hidden> said:

>> To benefit from this on Mac OS X, we need to define POSIX_SIGNALS
>> in src/s/darwin.h.  In src/s/freebsd.h, there is a comment as:

> Hmm... shouldn't this be defined automatically by the configure
> script?

I agree with you.

For using SYNC_INPUT properly in Carbon Emacs, we need some more
changes.  Could you see the following patch (also appeared in
http://lists.gnu.org/archive/html/emacs-devel/2004-09/msg00094.html)
for the systems that use polling, and install if it is correct?

                                     YAMAMOTO Mitsuharu
                                address@hidden


Index: src/keyboard.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/keyboard.c,v
retrieving revision 1.791
diff -c -r1.791 keyboard.c
*** src/keyboard.c      20 Aug 2004 10:34:12 -0000      1.791
--- src/keyboard.c      4 Sep 2004 08:49:50 -0000
***************
*** 2097,2103 ****
--- 2097,2107 ----
       struct atimer *timer;
  {
    if (poll_suppress_count == 0)
+ #ifdef SYNC_INPUT
+     interrupt_input_pending = 1;
+ #else
      poll_for_input_1 ();
+ #endif
  }
  
  #endif /* POLL_FOR_INPUT */




reply via email to

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