From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Adrian Robert" Newsgroups: gmane.emacs.devel Subject: Re: font-backend mechanism on Windows and Mac? Date: Sat, 15 Sep 2007 09:21:52 -0400 Message-ID: <55f7df060709150621v6f3dd140tcd332c56ef9a6ae@mail.gmail.com> References: <55f7df060709140652x54b42e4ax414969f07ad6ac21@mail.gmail.com> <20070914.235549.06787331.mituharu@math.s.chiba-u.ac.jp> <55f7df060709141705s27e268f5s2b14641b8c92ab36@mail.gmail.com> <20070915.104419.171325493.mituharu@math.s.chiba-u.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1189862527 8880 80.91.229.12 (15 Sep 2007 13:22:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 Sep 2007 13:22:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: "YAMAMOTO Mitsuharu" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 15 15:22:04 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IWXb0-0004bu-03 for ged-emacs-devel@m.gmane.org; Sat, 15 Sep 2007 15:22:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IWXay-0006sN-MT for ged-emacs-devel@m.gmane.org; Sat, 15 Sep 2007 09:22:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IWXau-0006rj-TC for emacs-devel@gnu.org; Sat, 15 Sep 2007 09:21:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IWXas-0006nA-DN for emacs-devel@gnu.org; Sat, 15 Sep 2007 09:21:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IWXas-0006mp-3i for emacs-devel@gnu.org; Sat, 15 Sep 2007 09:21:54 -0400 Original-Received: from rv-out-0910.google.com ([209.85.198.189]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IWXar-0006Q9-RA for emacs-devel@gnu.org; Sat, 15 Sep 2007 09:21:54 -0400 Original-Received: by rv-out-0910.google.com with SMTP id c27so909526rvf for ; Sat, 15 Sep 2007 06:21:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=fR1FT1X71GrQ2dAG8Vj+RqYInvmAEJhGGHQxd/A1AJk=; b=JyHrsMXERgzNyXHzf0thaJ7SN9RTZVNKUpY2tB9pROdGiEbwOZtxxUoxZu6d+DAseZTLPW08XZ0d3PNF8N0s59C9+Nu745Fx38Z14xOw8wBuUrKOQm5dgLm/bEzTiKe8QAAmzHpdsaCz6LbwY390ejESNgbtFC0g9monMp0lbw0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nkMqXgXjpj3UefHz0gk0bcdbZCYg27f9nSNF4ei73bA936kxwJQtv6GbH+/sS3SO50tOufW6gGky1OfYge1rwgI6Ew/hAMS5G4pfNzfBPbT/xWgg7Ixy11mNjDH6cJqSVGkrMShtWBMX8JWM568hxIYJAuenODjhV54YnDXv4xw= Original-Received: by 10.141.115.6 with SMTP id s6mr236261rvm.1189862512793; Sat, 15 Sep 2007 06:21:52 -0700 (PDT) Original-Received: by 10.141.164.19 with HTTP; Sat, 15 Sep 2007 06:21:52 -0700 (PDT) In-Reply-To: <20070915.104419.171325493.mituharu@math.s.chiba-u.ac.jp> Content-Disposition: inline X-Detected-Kernel: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:78964 Archived-At: On 9/14/07, YAMAMOTO Mitsuharu wrote: > >>>>> On Fri, 14 Sep 2007 20:05:27 -0400, "Adrian Robert" said: > > > Blank resize is due to NSApp going into a modal loop on resize drag, > > so emacs redisplay isn't called until finished. How did you work > > around this in Carbon+AppKit? > > `drawRect:' is called back automatically during the modal loop on > resize drag. You cannot do "redisplay" that may involve Lisp > evaluation in such a window-system-level event handling context, but > "expose" is OK as it just shows the contents of the "current matrix" > that was constructed by the previous "redisplay". Hmm.. the effect looks a little amateurish though. I guess it's useful on a resize-smaller to see more or less what will be shown, but.. it would be nice to drop out of the modal loop and track drags manually, as with scrolling, but even subclassing NSWindow I couldn't do it.