From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: ruler support in hexl mode Date: Mon, 22 Mar 2004 12:52:39 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040322124450.ACDB.JMBARRANQUERO@wke.es> References: <20040318014101.C364.LEKTU@terra.es> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1079957201 6339 80.91.224.253 (22 Mar 2004 12:06:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Mar 2004 12:06:41 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Mar 22 13:06:37 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 1B5OCT-0002Vx-00 for ; Mon, 22 Mar 2004 13:06:37 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B5OCT-00070A-00 for ; Mon, 22 Mar 2004 13:06:37 +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 1B5OBk-0004yx-Hh for emacs-devel@quimby.gnus.org; Mon, 22 Mar 2004 07:05:52 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B5O8v-0004ZJ-H6 for emacs-devel@gnu.org; Mon, 22 Mar 2004 07:02:57 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B5O4l-0003yk-Ew for emacs-devel@gnu.org; Mon, 22 Mar 2004 06:59:10 -0500 Original-Received: from [62.22.181.117] (helo=idefix.laley.net) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5Nz2-0003NI-TD for emacs-devel@gnu.org; Mon, 22 Mar 2004 06:52:45 -0500 Original-Received: from [172.17.221.23] (jsredondo.wk.org [172.17.221.23]) by idefix.laley.net with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id HNSWZY19; Mon, 22 Mar 2004 12:51:52 +0100 Original-To: emacs-devel@gnu.org In-Reply-To: X-Mailer: Becky! ver. 2.08.01 [en] 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:20725 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20725 On Fri, 19 Mar 2004 23:48:23 -0500 Richard Stallman wrote: > 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. I had thought of adding a property to face-using functions, which would say what arguments can be faces, i.e.: (put 'copy-face 'byte-compile-uses-faces '(1 2)) and then checking when compiling. There should be also a way to mark functions that can receive faces in generic arguments, like `overlay-put'. I favor this kind of answer because assigning the property would be close to the function declaration, so harder to forget than going to emacs-lisp/bytecomp.el to update a list. But perhaps what you propose is better/easier, don't know. In any case, I'm no expert in emacs-lisp/byte*.el, so any pointer about when/how to check the arguments would be welcome. Juanma