From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#15900: 24.3.50; foreground-color-at-point returns wrong results Date: Sun, 17 Nov 2013 09:29:57 -0800 (PST) Message-ID: <69fed86b-8fdb-4563-88f5-715dc7fce1be@default> References: <<87siuyxvw7.fsf@web.de>> <<83li0qhxyl.fsf@gnu.org>> <<878uwpgvh8.fsf@web.de>> <<83y54ohh1n.fsf@gnu.org>> <<87siuv21v8.fsf@web.de>> <<83eh6fhegu.fsf@gnu.org>> <<87eh6flhfc.fsf@web.de>> <<83d2lzgd04.fsf@gnu.org>> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1384709481 23445 80.91.229.3 (17 Nov 2013 17:31:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Nov 2013 17:31:21 +0000 (UTC) Cc: 15900@debbugs.gnu.org To: Eli Zaretskii , Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 17 18:31:24 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Vi6Bv-0003Ij-RN for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Nov 2013 18:31:23 +0100 Original-Received: from localhost ([::1]:39796 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vi6Bv-0000P1-EW for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Nov 2013 12:31:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vi6Bj-0000O0-98 for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2013 12:31:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vi6Ba-0002Z7-N0 for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2013 12:31:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vi6Ba-0002Z3-Jw for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2013 12:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vi6Ba-000221-2X for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2013 12:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Nov 2013 17:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15900 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15900-submit@debbugs.gnu.org id=B15900.13847094117750 (code B ref 15900); Sun, 17 Nov 2013 17:31:02 +0000 Original-Received: (at 15900) by debbugs.gnu.org; 17 Nov 2013 17:30:11 +0000 Original-Received: from localhost ([127.0.0.1]:58882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vi6Aj-00020u-Rm for submit@debbugs.gnu.org; Sun, 17 Nov 2013 12:30:10 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:35452) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vi6Ag-0001zG-4z for 15900@debbugs.gnu.org; Sun, 17 Nov 2013 12:30:06 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rAHHTx97008481 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 17 Nov 2013 17:30:00 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rAHHTwAJ019803 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 17 Nov 2013 17:29:59 GMT Original-Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rAHHTweI020094; Sun, 17 Nov 2013 17:29:58 GMT In-Reply-To: <<83d2lzgd04.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:80689 Archived-At: > > For your solution, I can use a different predicate, but would > > still have to find all faces at point, no? What do I miss? >=20 > I don't know, and I don't know what am I missing, either. >=20 > When you say "all the faces at point", what exactly do you mean by > that? There can only be one 'face' text property at point, so do > you mean faces that come from overlays? If that is what you mean, > then why isn't get-char-property all you need to have your answer? > I feel I'm missing something very basic here. I think he means that the value of property `face' (whether from a text property or an overlay property) can be a list of faces. Normally, the attributes of the faces in the list are merged for display. See (elisp) `Special Properties' and (elisp `Overlay Properties'.