From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "alin.s" Newsgroups: gmane.emacs.devel Subject: Re: redisplay system of emacs Date: Fri, 12 Feb 2010 00:31:10 -0800 (PST) Message-ID: <27560255.post@talk.nabble.com> References: <27349166.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1265964543 32570 80.91.229.12 (12 Feb 2010 08:49:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Feb 2010 08:49:03 +0000 (UTC) To: Emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 12 09:49:00 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 1NfrCt-0008Ar-GH for ged-emacs-devel@m.gmane.org; Fri, 12 Feb 2010 09:48:59 +0100 Original-Received: from localhost ([127.0.0.1]:51737 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfrCs-0006eU-W5 for ged-emacs-devel@m.gmane.org; Fri, 12 Feb 2010 03:48:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nfqvh-0005v5-9h for emacs-devel@gnu.org; Fri, 12 Feb 2010 03:31:13 -0500 Original-Received: from [140.186.70.92] (port=57431 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nfqvf-0005uY-NW for Emacs-devel@gnu.org; Fri, 12 Feb 2010 03:31:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nfqvf-0005dv-2H for Emacs-devel@gnu.org; Fri, 12 Feb 2010 03:31:11 -0500 Original-Received: from kuber.nabble.com ([216.139.236.158]:33557) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nfqve-0005dr-Ug for Emacs-devel@gnu.org; Fri, 12 Feb 2010 03:31:11 -0500 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Nfqve-0003KK-A8 for Emacs-devel@gnu.org; Fri, 12 Feb 2010 00:31:10 -0800 In-Reply-To: <27349166.post@talk.nabble.com> X-Nabble-From: alinsoar@voila.fr X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:121066 Archived-At: An improvement in redisplay for X can be done by defining in the edit area of every window a subwindow for every character. For a window of geometry 200x70 of characters, it would be 1400 windows registered in X-server. The advantage is that redisplay would work automatically; every character has associated its own expose event; the event PointerMotionMask would simply signify LeaveWindow and EnterWindow; so it will always be able to be captured without resource consuming. To say more, in order to clear a character it would require no computation, but only a simply call of XClearWindow(). Every window could have its own font. And to say more, an image of high dimension will be divided in many subwindows, and emacs will be able to display images normally, not as a huge glyph. And finally, because this structure is identical to the geometry of the console, the code for X and console can be unified in many places. -- View this message in context: http://old.nabble.com/redisplay-system-of-emacs-tp27349166p27560255.html Sent from the Emacs - Dev mailing list archive at Nabble.com.