From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Steven Tamm Newsgroups: gmane.emacs.devel Subject: OSX Patch for fixing C-g problem (Preliminary) Date: Sun, 6 Oct 2002 14:06:21 -0700 Sender: emacs-devel-admin@gnu.org Message-ID: <76F84EFD-D96F-11D6-B548-00039390AB82@mac.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 (Apple Message framework v546) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1033938930 32511 127.0.0.1 (6 Oct 2002 21:15:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 6 Oct 2002 21:15:30 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17yIkJ-0008S6-00 for ; Sun, 06 Oct 2002 23:15:27 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17yJX5-00087T-00 for ; Mon, 07 Oct 2002 00:05:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17yIh4-0005aF-00; Sun, 06 Oct 2002 17:12:06 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17yIf1-0003PW-00 for emacs-devel@gnu.org; Sun, 06 Oct 2002 17:09:59 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17yIcp-0000cW-00 for emacs-devel@gnu.org; Sun, 06 Oct 2002 17:07:44 -0400 Original-Received: from smtpout.mac.com ([204.179.120.87]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17yIbd-0007Dy-00 for emacs-devel@gnu.org; Sun, 06 Oct 2002 17:06:29 -0400 Original-Received: from asmtp02.mac.com (asmtp02-qfe3 [10.13.10.66]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id g96L6DaS024307 for ; Sun, 6 Oct 2002 14:06:13 -0700 (PDT) Original-Received: from mac.com ([12.236.43.16]) by asmtp02.mac.com (Netscape Messaging Server 4.15) with ESMTP id H3KVYQ00.G8V for ; Sun, 6 Oct 2002 14:06:26 -0700 Original-To: emacs-devel@gnu.org X-Mailer: Apple Mail (2.546) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8434 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8434 I've written a patch for Mac OS X/Carbon version of emacs 21-3. It's a rewrite of the event handling code to have the UI placed in a separate thread from the lisp eval loop; the main benefit is that on Jaguar, C-g will break synchronous processes. It is preliminary, so although emacs will rarely hang, it will often crash. It also increases UI responsiveness of emacs and reduces CPU usage. The main problems have to do with scrolling and menu handling. I would appreciate it if Mac Emacs developers with both 10.1 and 10.2 tried it out and let me know any other problems, and hopefully fix the bugs. The web page below has the link to the patch and a fair amount of explanation about how the patch works. http://homepage.mac.com/steventamm/software/jagemacs.html Thanks, -Steven