From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Layered display API Date: Thu, 14 Aug 2014 17:12:35 +0400 Message-ID: <53ECB5C3.20309@yandex.ru> References: <86tx5r7l1j.fsf@yandex.ru> <53E097F7.5050407@gmx.at> <53E0ABF9.7070506@yandex.ru> <8338dbqcai.fsf@gnu.org> <53E14AF4.6050804@yandex.ru> <83k36mpbxg.fsf@gnu.org> <53E22245.4070307@yandex.ru> <8361i5pmch.fsf@gnu.org> <53E294BD.1000500@yandex.ru> <837g2knwb2.fsf@gnu.org> <53E818F0.2080104@yandex.ru> <8361hzjciv.fsf@gnu.org> <53EAD0B1.1010405@yandex.ru> <83iolwif2l.fsf@gnu.org> <53EC205F.7030801@yandex.ru> <8361hvixxz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1408021993 706 80.91.229.3 (14 Aug 2014 13:13:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2014 13:13:13 +0000 (UTC) Cc: rudalics@gmx.at, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 14 15:13:05 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XHupy-00043J-4D for ged-emacs-devel@m.gmane.org; Thu, 14 Aug 2014 15:13:02 +0200 Original-Received: from localhost ([::1]:53987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHupx-0004NJ-K7 for ged-emacs-devel@m.gmane.org; Thu, 14 Aug 2014 09:13:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHupm-0004MH-7F for emacs-devel@gnu.org; Thu, 14 Aug 2014 09:12:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHupd-0003TG-2G for emacs-devel@gnu.org; Thu, 14 Aug 2014 09:12:50 -0400 Original-Received: from mail-la0-x233.google.com ([2a00:1450:4010:c03::233]:64590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHupc-0003Sz-QI; Thu, 14 Aug 2014 09:12:40 -0400 Original-Received: by mail-la0-f51.google.com with SMTP id pn19so1004423lab.10 for ; Thu, 14 Aug 2014 06:12:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=qyKFh62psn3dlBxG/9ZYKuUJSk7EzbnosLR0VB0KuZ4=; b=IMa1qKmmzTVMnskUeKl/5AYj1Ud96l2cXiGm+xwwoqq0nor2Uqt/CQ0L8etw6m25JY taDNPb4Fmlg7IKpJjemG2A6WDwnUimVaXanbiudEk7ArIb2W8HTrKrlUhivctBMw8CHO t1J8k7m9SjI0IxOQDourmfG4XnJSZk9iz5CvhOfSNVKOer/qd0gojiFKKPLn0zXHAmNm 7CyTwT2kwyc/GlNJJ90lmiy8OVtKdI8MYMk6zMsDXhZJ8EkwkmXuxr4fBireXskBhE1W vHCcdEWlmruCIHIN+RqdPuUvRbiYqkO6tI+pEIjh5yRiDE+jWJLkikwMtWt4kGC2ioRA InZg== X-Received: by 10.112.56.206 with SMTP id c14mr3302586lbq.27.1408021959495; Thu, 14 Aug 2014 06:12:39 -0700 (PDT) Original-Received: from [192.168.1.3] ([178.252.98.87]) by mx.google.com with ESMTPSA id g8sm3097513lam.23.2014.08.14.06.12.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Aug 2014 06:12:38 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 In-Reply-To: <8361hvixxz.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173664 Archived-At: On 08/14/2014 06:53 AM, Eli Zaretskii wrote: > Doing the same on GUI frames would hit all the difficulties that we've > been discussing in this thread, due to proportional and variable-size > fonts, and other display features that don't exist on a TTY. Guess so. We've been living without non-monospaced fonts support for quite a while, though, so that wouldn't be much of a problem, if the menus solved at least some other problems. >> Why use the special new property, then? Just put a new overlay over it. >> If it also has `display' and higher priority, it would take over. > > Because you want to get priority not only over other overlays, but > also over display properties and maybe other things. Doesn't any overlay's `display' get priority over text's `display'? If I want to get priority over "maybe other things", the first problem would how to know the list of all those things, and to retrieve the text that gets displayed in stead of each of those things. Which would be, again, reimplementing the display engine.