From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: A few faces.el questions Date: Wed, 31 Jan 2007 13:28:59 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1170246572 23300 80.91.229.12 (31 Jan 2007 12:29:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 31 Jan 2007 12:29:32 +0000 (UTC) To: "Emacs Devel" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 31 13:29:17 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HCEaQ-0003fE-H4 for ged-emacs-devel@m.gmane.org; Wed, 31 Jan 2007 13:29:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HCEaP-0001ah-UH for ged-emacs-devel@m.gmane.org; Wed, 31 Jan 2007 07:29:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HCEaE-0001aK-Ho for emacs-devel@gnu.org; Wed, 31 Jan 2007 07:29:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HCEaD-0001a1-1v for emacs-devel@gnu.org; Wed, 31 Jan 2007 07:29:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HCEaC-0001Zy-Rr for emacs-devel@gnu.org; Wed, 31 Jan 2007 07:29:00 -0500 Original-Received: from an-out-0708.google.com ([209.85.132.242]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HCEaC-0000dN-JF for emacs-devel@gnu.org; Wed, 31 Jan 2007 07:29:00 -0500 Original-Received: by an-out-0708.google.com with SMTP id b8so70770ana for ; Wed, 31 Jan 2007 04:29:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=RyWPDFhSr11PrH3vGOOYiDuuqvf6PNCsafQq1LL4fOabRFx8Fuc2Dh/+7T4lFhgUIdRxZkjgfEkKPibYrD+RJgpFX8Dzzq6QXTaI/grfTAkHm/LLVzruQ0wN3PBo9QCGoB6bY/RquKTHyKcgt2yilfTj2Kxv1UJrJwv92enNAUw= Original-Received: by 10.114.60.19 with SMTP id i19mr49726waa.1170246539547; Wed, 31 Jan 2007 04:28:59 -0800 (PST) Original-Received: by 10.115.93.4 with HTTP; Wed, 31 Jan 2007 04:28:59 -0800 (PST) Content-Disposition: inline X-detected-kernel: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:65690 Archived-At: - The set-face-*-p family of functions all have an argument *-P (for example, INVERSE-VIDEO-P, BOLD-P, etc.). However, in the case of `set-face-underline-p' this is misleading, because UNDERLINE-P is not a flag (it can also be a color). Will someone object if I just change arg UNDERLINE-P to UNDERLINE and fix the info in the Emacs Lisp Reference (which doesn't mention the color option)? (This would also affect `modify-face', BTW.) - I know `internal-find-face' and `internal-get-face' are obsolete since 21.1, but their docstrings lie horribly about the FRAME argument. Wouldn't be better to just say "The argument FRAME is ignored"? - Shouldn't `face-id' return an answer also for face aliases? I.e., instead of (get face 'face) shouldn't it be (or (get face 'face) (get (get face 'face-alias) 'face)) Or is this intended: (put 'my-alias-face 'face-alias 'my-face) (eq (facep 'my-face) (facep 'my-alias-face)) => t (eq (face-id 'my-face) (face-id 'my-alias-face)) => nil ? - `face-differs-from-default-p' checks all face attributes except :inherit (obviously) and :stipple. Should it check :stipple? /L/e/k/t/u