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#12853: 24.2.50; doc of `color-defined-p' Date: Sat, 10 Nov 2012 08:46:24 -0800 Message-ID: <10495ABA26F14041A1E374AC3B820F6E@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1352566016 27074 80.91.229.3 (10 Nov 2012 16:46:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Nov 2012 16:46:56 +0000 (UTC) To: 12853@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 10 17:47:06 2012 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 1TXED3-000183-Vw for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Nov 2012 17:47:06 +0100 Original-Received: from localhost ([::1]:40667 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXECu-0005l3-Kb for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Nov 2012 11:46:56 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXECp-0005kx-R6 for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2012 11:46:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXECm-0008Sa-PG for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2012 11:46:51 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXECm-0008SS-Lg for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2012 11:46:48 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TXECz-0001yx-VL for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2012 11:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Nov 2012 16:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12853 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.13525660197609 (code B ref -1); Sat, 10 Nov 2012 16:47:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Nov 2012 16:46:59 +0000 Original-Received: from localhost ([127.0.0.1]:59720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXECx-0001yf-1I for submit@debbugs.gnu.org; Sat, 10 Nov 2012 11:46:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56271) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXECu-0001yY-EF for submit@debbugs.gnu.org; Sat, 10 Nov 2012 11:46:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXECd-0008Qs-I2 for submit@debbugs.gnu.org; Sat, 10 Nov 2012 11:46:42 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:50237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXECd-0008Qm-Es for submit@debbugs.gnu.org; Sat, 10 Nov 2012 11:46:39 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXECa-0005jb-CT for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2012 11:46:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXECX-0008Pz-9w for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2012 11:46:36 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:28947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXECX-0008Po-2u for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2012 11:46:33 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id qAAGkVFx007507 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 10 Nov 2012 16:46:32 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id qAAGkUsS020504 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 10 Nov 2012 16:46:31 GMT Original-Received: from abhmt111.oracle.com (abhmt111.oracle.com [141.146.116.63]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id qAAGkUvG009410 for ; Sat, 10 Nov 2012 10:46:30 -0600 Original-Received: from dradamslap1 (/71.202.147.44) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 10 Nov 2012 08:46:30 -0800 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac2/YuuxI1yih7lXSreq2CWOuEFaSA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-Spam-Score: -4.2 (----) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:66729 Archived-At: The doc string is missing the most basic information: What data type parameter COLOR is. It should say that COLOR must be a string or the symbol `unspecified' (an error is raised otherwise). It should say that the string can be any string, and that the function returns non-nil for #1 or #2, and nil otherwise: 1. a defined (recognized) color name 2. a color RGB code, with prefix `#' The doc should not say anything about the particular strings "unspecified-fg" or "unspecified-bg": there is nothing special about them. The function returns nil for ANY string other than #1 or #2. Consider adding to the doc string the "Note..." that is in the Elisp manual and that refers to `color-supported-p'. For the Elisp manual doc of `color-defined-p': change "X" to "X Window". If the same bug occurs elsewhere in the manual, please fix those occurrences too. In GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600) of 2012-10-22 on DANI-PC Bzr revision: 110618 monnier@iro.umontreal.ca-20121022132928-232zm0fecassmhfb Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.7) --no-opt --enable-checking --cflags -I../../libs/libxpm-3.5.8/include -I../../libs/libxpm-3.5.8/src -I../../libs/libpng-1.4.10 -I../../libs/zlib-1.2.6 -I../../libs/giflib-4.1.4-1/include -I../../libs/jpeg-6b-4/include -I../../libs/tiff-3.8.2-1/include -I../../libs/libxml2-2.7.8-w32-bin/include/libxml2 -I../../libs/gnutls-3.0.16/include -I../../libs/libiconv-1.14-2-mingw32-dev/include'