From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: redisplay system of emacs Date: Thu, 28 Jan 2010 23:50:31 +0900 Message-ID: <871vhathag.fsf@xemacs.org> References: <27349166.post@talk.nabble.com> <873a1qtopd.fsf@xemacs.org> <27356155.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1264689671 685 80.91.229.12 (28 Jan 2010 14:41:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Jan 2010 14:41:11 +0000 (UTC) Cc: Emacs-devel@gnu.org To: "alin.s" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 28 15:41:07 2010 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.69) (envelope-from ) id 1NaVYN-0007JZ-G9 for ged-emacs-devel@m.gmane.org; Thu, 28 Jan 2010 15:41:03 +0100 Original-Received: from localhost ([127.0.0.1]:38499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaVYM-0002EO-H3 for ged-emacs-devel@m.gmane.org; Thu, 28 Jan 2010 09:41:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NaVVe-00076M-Lb for emacs-devel@gnu.org; Thu, 28 Jan 2010 09:38:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NaVVa-00070L-Jh for Emacs-devel@gnu.org; Thu, 28 Jan 2010 09:38:14 -0500 Original-Received: from [199.232.76.173] (port=57807 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaVVa-0006zz-EG for Emacs-devel@gnu.org; Thu, 28 Jan 2010 09:38:10 -0500 Original-Received: from mtps01.sk.tsukuba.ac.jp ([130.158.97.223]:42092) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NaVVZ-0001cn-Mq for Emacs-devel@gnu.org; Thu, 28 Jan 2010 09:38:10 -0500 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps01.sk.tsukuba.ac.jp (Postfix) with ESMTP id E8F4E1535AE; Thu, 28 Jan 2010 23:38:07 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id AAC891A3506; Thu, 28 Jan 2010 23:50:31 +0900 (JST) In-Reply-To: <27356155.post@talk.nabble.com> X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta29) "garbanzo" a03421eb562b XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:120580 Archived-At: alin.s writes: > > When I first started to write the tabs, I started from redisplay_internal. > Fortunatelly, I found the solution such that I did not touch that code. It's not "fortunate", it's designed that way. Redisplay is the lowest level of the display code, and tightly bound to the event loop. If there's an X display involved, life is very difficult, because X protocol is totally asynchronous. But most things (like adding a tab widget) should be able to work with higher level display features.