From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: ruler support in hexl mode Date: Fri, 19 Mar 2004 23:48:23 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040311152724.4EF0.JMBARRANQUERO@wke.es> <20040318014101.C364.LEKTU@terra.es> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1079758619 6523 80.91.224.253 (20 Mar 2004 04:56:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 20 Mar 2004 04:56:59 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Mar 20 05:56:55 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B4YXX-0004d0-00 for ; Sat, 20 Mar 2004 05:56:55 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B4YXW-0000Bw-00 for ; Sat, 20 Mar 2004 05:56:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4YWb-0004vH-5Z for emacs-devel@quimby.gnus.org; Fri, 19 Mar 2004 23:55:57 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B4YUD-00043T-9v for emacs-devel@gnu.org; Fri, 19 Mar 2004 23:53:29 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B4YTI-0003b6-OT for emacs-devel@gnu.org; Fri, 19 Mar 2004 23:52:58 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4YTH-0003ac-Ov for emacs-devel@gnu.org; Fri, 19 Mar 2004 23:52:31 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1B4YPH-0007ad-F8; Fri, 19 Mar 2004 23:48:23 -0500 Original-To: lektu@mi.madritel.es In-reply-to: <20040318014101.C364.LEKTU@terra.es> (message from Juanma Barranquero on Thu, 18 Mar 2004 01:53:43 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20627 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20627 but the problem is, how to make the byte-compiler warn when using an obsolete face? AFAICS, face names are just symbols, so other uses of the symbol would trigger the warning too. That is indeed the hard part. Perhaps one could make a list of functions that faces are commonly specified to, and check for use of an obsolete face name quoted as an argument. For instance, (overlay-put ... 'face 'OBSOLETE-FACE-NAME) would trigger the warning.