From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] About the :distant-foreground face attribute Date: Wed, 15 Jan 2014 13:15:06 -0800 Message-ID: <52D6FA5A.6050301@dancol.org> References: <87bnzo9cja.fsf@gnu.org> <52D3E689.6050902@dancol.org> <8E16225F-53EF-498A-AB35-66EB9B33B859@swipnet.se> <52D43360.6050605@dancol.org> <9BD01B88-AF13-44DD-8DBE-4598BAC136DD@swipnet.se> <52D45C73.6090906@dancol.org> <52D4EBA9.8050802@swipnet.se> <52D4F2C2.8080800@dancol.org> <52D504A7.80104@swipnet.se> <52D514FF.7010404@dancol.org> <52D52312.6070106@swipnet.se> <52D58632.3010106@dancol.org> <381DEBDC-71D8-4FAC-BA55-897FEC73A2FC@swipnet.se> <52D5A072.5010508@dancol.org> <064CFFB5-6E50-40D5-B2CB-2BECC656D93F@swipnet.se> <83txd545n7.fsf@gnu.org> <83fvop4265.fsf@gnu.org> <837ga13zh2.fsf@gnu.org> <8338kp3w0g.fsf@gnu.org> <83wqi12d3s.fsf@gnu.org> <52D6F7A1.80707@dancol.org> <83ob3d2bm0.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1389820540 374 80.91.229.3 (15 Jan 2014 21:15:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Jan 2014 21:15:40 +0000 (UTC) Cc: josh@foxtail.org, jan.h.d@swipnet.se, monnier@iro.umontreal.ca, cyd@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 15 22:15:48 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 1W3XoQ-0006AO-GQ for ged-emacs-devel@m.gmane.org; Wed, 15 Jan 2014 22:15:46 +0100 Original-Received: from localhost ([::1]:57246 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3XoQ-0002aM-3W for ged-emacs-devel@m.gmane.org; Wed, 15 Jan 2014 16:15:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3Xo4-0002QE-9I for emacs-devel@gnu.org; Wed, 15 Jan 2014 16:15:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3Xo0-0000Db-3M for emacs-devel@gnu.org; Wed, 15 Jan 2014 16:15:24 -0500 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:34778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3Xnq-0000BC-VH; Wed, 15 Jan 2014 16:15:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=t/9VQ6Qkzw1/L5m4niayjaBnpTDd2WHbcD4+gqzslxY=; b=Ivp77kTUacVZeAYIPBPvHq1/yMNrnmCucqP9yJg7Vuw51IxcghSNoIquFpviusVTaTT7OBcauuysbODsqYF9zG5GY6cU4h6eNeMXxivmJCsLcv/7q4zxVd03KYxDE94vRv73h+VqTKeEjtuqktnWDKLc2dWOYFg8Lu/C66zCnKcR3c1wInx90pAV+M7bbO1eMHBtZsx7tIAxdiQXSfK9SdRs9I7j8g1I8C0mIkPqUslh0Xgn0jqXSe4gdo4mM0Ptf3CBtwayaE+yXZCAg1aqiW/6ph+Lv3XRL6qSmNduD11DJ33QcXG6p7LLae9YKcLRiGCS3Ui+FQVQ/KjaFAwN7Q==; Original-Received: from c-67-161-114-125.hsd1.wa.comcast.net ([67.161.114.125] helo=[192.168.1.50]) by dancol.org with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1W3Xnp-0006ET-Gn; Wed, 15 Jan 2014 13:15:09 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <83ob3d2bm0.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 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:168499 Archived-At: On 01/15/2014 01:12 PM, Eli Zaretskii wrote: >> Date: Wed, 15 Jan 2014 13:03:29 -0800 >> From: Daniel Colascione >> CC: jan.h.d@swipnet.se, monnier@iro.umontreal.ca, cyd@gnu.org, >> emacs-devel@gnu.org >> >>> It has been a long tradition of Emacs not to generalize before there's >>> a clear and present need to. >> >> Sure. The problem with :adjust-colors or some other specific name, >> though, is what happens to ordering if we introduce other kinds of >> filters. If we have :adjust-colors and some hypothetical :adjust-foo, >> the order in which the adjustments are made becomes unclear. > > Again, why should we be bothered by hypothetical attributes? Let's > bother about them when they become a reality, or at least come close. We're not bothering with them now. We're making sure we won't *be* bothered by them later. >> Also, can we please include "post-" in the name of the attribute? I want >> to emphasize that the filtering happens *after* face merging. > > Is it wise to expose implementation details in the interfaces? Generally no, but I don't see how you can avoid it. Whether the filtering happens after face composition or face-by-face during attribute merging affects the values the filter function sees. It's part of the interface.