From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#11059: 24.0.94; Please add `face-spec-set' to the elisp manual Date: Thu, 22 Mar 2012 00:35:53 +0100 Message-ID: <871uola5nq.fsf@web.de> Reply-To: michael_heerdegen@web.de NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1332372926 27974 80.91.229.3 (21 Mar 2012 23:35:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Mar 2012 23:35:26 +0000 (UTC) To: 11059@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 22 00:35:25 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 1SAV3s-0005YA-UY for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Mar 2012 00:35:25 +0100 Original-Received: from localhost ([::1]:47545 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAV3s-0007zR-B0 for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Mar 2012 19:35:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAV3o-0007zF-Mh for bug-gnu-emacs@gnu.org; Wed, 21 Mar 2012 19:35:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAV3m-0000IZ-R1 for bug-gnu-emacs@gnu.org; Wed, 21 Mar 2012 19:35:20 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAV3m-0000IU-Mz for bug-gnu-emacs@gnu.org; Wed, 21 Mar 2012 19:35:18 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SAVXW-0007kS-B1 for bug-gnu-emacs@gnu.org; Wed, 21 Mar 2012 20:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Mar 2012 00:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11059 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.133237470429698 (code B ref -1); Thu, 22 Mar 2012 00:06:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Mar 2012 00:05:04 +0000 Original-Received: from localhost ([127.0.0.1]:60269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SAVWa-0007iw-8q for submit@debbugs.gnu.org; Wed, 21 Mar 2012 20:05:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38911) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SAVWX-0007iV-CW for submit@debbugs.gnu.org; Wed, 21 Mar 2012 20:05:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAV2l-0008W1-R5 for submit@debbugs.gnu.org; Wed, 21 Mar 2012 19:34:17 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:41767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAV2l-0008Vx-Ne for submit@debbugs.gnu.org; Wed, 21 Mar 2012 19:34:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAV2j-000755-Mc for bug-gnu-emacs@gnu.org; Wed, 21 Mar 2012 19:34:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAV2h-0008VV-O1 for bug-gnu-emacs@gnu.org; Wed, 21 Mar 2012 19:34:13 -0400 Original-Received: from fmmailgate07.web.de ([217.72.192.248]:42003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAV2h-0008VN-HW for bug-gnu-emacs@gnu.org; Wed, 21 Mar 2012 19:34:11 -0400 Original-Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate07.web.de (Postfix) with ESMTP id 230E3F487C0 for ; Thu, 22 Mar 2012 00:34:10 +0100 (CET) Original-Received: from snow.dragon ([80.226.24.12]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0MXpqx-1RpEj21TKp-00Wzia; Thu, 22 Mar 2012 00:34:09 +0100 X-Provags-ID: V02:K0:GuYP27BHX/prfIMaAUVI/Xuka8i7bhTreLR5qenaYmF TOPZPPVq0V6V0mPUykgRYJ1pL7/7ItJWvwxHtaSNTq4Ofx/sw+ dPbbFcz69cAZeTmHussoleeS+m51Ct90n3VCuVrL/hbiSCIqIv 5tSPZ9fJu/kvc9h326t7Tk9K777gmA/41KdZYUY4oXbjjo77wX RrPDI4RaVSlp9bkhNU1Y9mIJGBM4WPHV7cIUHK8NK0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:57944 Archived-At: Hello, Please add `face-spec-set' to the elisp manual. It's the preferred way for users/developers to redefine face specs (Or is there a better way? Then please describe it instead in the manual). The functions defined in the node "Attribute Functions" are not enough if I want to set face properties e.g for different background-modes, like here: (face-spec-set 'stripes-face '((((background dark)) (:background "grey7")) (t (:background "#f0f0f0")))) And `custom-set-faces' is deprecated - at least, the custom file warns to use it: ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. Michael In GNU Emacs 24.0.94.1 (i486-pc-linux-gnu, GTK+ Version 3.2.3) of 2012-03-19 on zelenka, modified by Debian (emacs-snapshot package, version 2:20120319-1) Windowing system distributor `The X.Org Foundation', version 11.0.11104000 Configured using: `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.0.94/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.0.94/site-lisp:/usr/share/emacs/site-lisp' '--without-compress-info' '--with-crt-dir=/usr/lib/i386-linux-gnu/' '--with-x=yes' '--with-x-toolkit=gtk3' '--with-imagemagick=yes' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2''