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#11059: 24.0.94; Please add `face-spec-set' to the elisp manual Date: Thu, 12 Apr 2012 07:17:02 -0700 Message-ID: <3111D9DD73974E39AE9E1FBF4445B126@us.oracle.com> References: <871uola5nq.fsf@web.de> <87k41mer74.fsf@gnu.org><86bomyyzaf.fsf@web.de> <87aa2hwi2s.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1334240286 4112 80.91.229.3 (12 Apr 2012 14:18:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Apr 2012 14:18:06 +0000 (UTC) Cc: 'Michael Heerdegen' , 11059@debbugs.gnu.org To: "'Stefan Monnier'" , "'Chong Yidong'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 12 16:18:04 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 1SIKqa-00013j-Pd for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Apr 2012 16:18:04 +0200 Original-Received: from localhost ([::1]:32983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIKqZ-0005E2-PZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Apr 2012 10:18:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIKqR-0005Cs-R8 for bug-gnu-emacs@gnu.org; Thu, 12 Apr 2012 10:18:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIKqL-0008LC-GS for bug-gnu-emacs@gnu.org; Thu, 12 Apr 2012 10:17:55 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIKqL-0008L4-D6 for bug-gnu-emacs@gnu.org; Thu, 12 Apr 2012 10:17:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SIKrV-0006E9-Hb for bug-gnu-emacs@gnu.org; Thu, 12 Apr 2012 10:19:01 -0400 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: Thu, 12 Apr 2012 14:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11059 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11059-submit@debbugs.gnu.org id=B11059.133424030723896 (code B ref 11059); Thu, 12 Apr 2012 14:19:01 +0000 Original-Received: (at 11059) by debbugs.gnu.org; 12 Apr 2012 14:18:27 +0000 Original-Received: from localhost ([127.0.0.1]:54379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SIKqv-0006DM-A8 for submit@debbugs.gnu.org; Thu, 12 Apr 2012 10:18:26 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:24224) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SIKqt-0006DE-Qe for 11059@debbugs.gnu.org; Thu, 12 Apr 2012 10:18:24 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q3CEH81O031717 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 12 Apr 2012 14:17:09 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 q3CEH6Q9024695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 12 Apr 2012 14:17:07 GMT Original-Received: from abhmt102.oracle.com (abhmt102.oracle.com [141.146.116.54]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q3CEH6QT004212; Thu, 12 Apr 2012 09:17:06 -0500 Original-Received: from dradamslap1 (/10.159.56.242) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 12 Apr 2012 07:17:05 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac0YrbpxMniQ5ZFAQFSd/xMZBnD3DwACIw7g X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090206.4F86E3E6.0005,ss=1,re=0.000,fgs=0 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:58881 Archived-At: > > If you want your changes to play nicely with the Custom > > interface, you should use `custom-set-faces'. > > Indeed, but this has some downsides: Custom may decide to rewrite your > handwritten custom-set-faces. We should document an Elisp way to > configure faces, and I'd recommend a new function `custom-set-face' > which works just like custom-set-faces except it applies to a single > face and will be left alone by Custom. Haven't thought about it much, but that sounds good to me too. In addition, a user can try to make sure that s?he evaluates any hand-crafted `custom-set-faces' sexp outside of the init file and `custom-file', and after those are loaded. I also agree that whatever is implemented and recommended in this regard, it be documented in the Emacs manual. But I do think it is good to recommend using Customize first and foremost. There are lots of questions that come up (e.g. on help-gnu-emacs) because users make mistakes when hand-coding or they do not take into account other Customize treatments such as :set.