From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Brian Palmer <bpalmer@gmail.com> Newsgroups: gmane.emacs.devel,gmane.emacs.xemacs.beta Subject: Re: intern-soft, find-face/get-face, and facep for determining faces' definedness Date: Tue, 2 Nov 2004 01:48:11 -0700 Message-ID: <847aaaf20411020048201a2419@mail.gmail.com> References: <0whwtx5meng.fsf@rescomp.Stanford.EDU.i-did-not-set--mail-host-address--so-tickle-me> <87k6t4rd5b.fsf@tleepslib.sk.tsukuba.ac.jp> <847aaaf204110123282bb4ddd8@mail.gmail.com> <buofz3szobh.fsf@mctpc71.ucom.lsi.nec.co.jp> Reply-To: Brian Palmer <bpalmer@gmail.com> 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 1099385357 4076 80.91.229.6 (2 Nov 2004 08:49:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Nov 2004 08:49:17 +0000 (UTC) Cc: "Stephen J. Turnbull" <stephen@xemacs.org>, emacs-devel@gnu.org, Brian Palmer <bpalmer@rescomp.stanford.edu>, xemacs-beta@xemacs.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 02 09:49:12 2004 Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org> Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1COuLn-0001KQ-00 for <ged-emacs-devel@m.gmane.org>; Tue, 02 Nov 2004 09:49:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1COuTq-0000Z4-6L for ged-emacs-devel@m.gmane.org; Tue, 02 Nov 2004 03:57:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1COuTD-0000VG-1w for emacs-devel@gnu.org; Tue, 02 Nov 2004 03:56:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1COuTA-0000US-6k for emacs-devel@gnu.org; Tue, 02 Nov 2004 03:56:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1COuTA-0000UN-0D for emacs-devel@gnu.org; Tue, 02 Nov 2004 03:56:48 -0500 Original-Received: from [216.239.56.243] (helo=mproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1COuKt-0005Vc-Tx for emacs-devel@gnu.org; Tue, 02 Nov 2004 03:48:16 -0500 Original-Received: by mproxy.gmail.com with SMTP id u52so82295cwc for <emacs-devel@gnu.org>; Tue, 02 Nov 2004 00:48:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=gpouau9d3P3cmah2R3XtVc9X2gWl2HsFqu3vm+1h/TgUlrzSskObZ+t+XTZ1Hk4x1ZBiHjY824Qyk49SE+O8U6AW1DZ/7eKAahHUSagv/XNx+vuc2NX/tmSIuDGiH75DFp8z0y7FimiU0mak4nmwgN2If27N0OPVWbMVCAiC1Yo= Original-Received: by 10.11.119.66 with SMTP id r66mr283206cwc; Tue, 02 Nov 2004 00:48:11 -0800 (PST) Original-Received: by 10.11.117.68 with HTTP; Tue, 2 Nov 2004 00:48:11 -0800 (PST) Original-To: Miles Bader <miles@gnu.org> In-Reply-To: <buofz3szobh.fsf@mctpc71.ucom.lsi.nec.co.jp> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." <emacs-devel.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>, <mailto:emacs-devel-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/emacs-devel> List-Post: <mailto:emacs-devel@gnu.org> List-Help: <mailto:emacs-devel-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>, <mailto:emacs-devel-request@gnu.org?subject=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: main.gmane.org gmane.emacs.devel:29294 gmane.emacs.xemacs.beta:16651 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29294 On Tue, 02 Nov 2004 16:45:38 +0900, Miles Bader <miles@lsi.nec.co.jp> wrote: > Brian Palmer <bpalmer@gmail.com> writes: > In Emacs this is equivalent to > > (defun find-face (face) (and (facep face) face)) > > Why exactly do you want to use `find-face' anyway? Why not just avoid > using `facep' except in a boolean context? Well, find-face returns a face object in xemacs. I'm proposing a new function to add to gnu emacs so that there's <rant>one fewer arbitrary difference between emacs and xemacs that causes inconvenience and unnecessary friction for those of us who code third-party applications or help users of both xemacs and emacs</rant>. If find-face in emacs didn't return a face object, it wouldn't be doing a very good job of compatibility, now. The proposed patch I outlined, and the stupid way in which it has to differ across emacs and xemacs, shows that there's a use for improving compatibility.