From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: cannot understand Elisp manual node Glyphs Date: Wed, 7 Feb 2007 08:21:17 -0800 Message-ID: References: <39241.128.165.123.18.1170864973.squirrel@webmail.lanl.gov> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1170865320 29253 80.91.229.12 (7 Feb 2007 16:22:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Feb 2007 16:22:00 +0000 (UTC) To: "Emacs-Devel" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 07 17:21:46 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 1HEpYH-0003nK-GZ for ged-emacs-devel@m.gmane.org; Wed, 07 Feb 2007 17:21:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HEpYG-0001Dl-Sk for ged-emacs-devel@m.gmane.org; Wed, 07 Feb 2007 11:21:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HEpY4-0001B7-1f for emacs-devel@gnu.org; Wed, 07 Feb 2007 11:21:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HEpY2-00019Z-MG for emacs-devel@gnu.org; Wed, 07 Feb 2007 11:21:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HEpY2-00019B-DK for emacs-devel@gnu.org; Wed, 07 Feb 2007 11:21:30 -0500 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HEpY2-0007qq-2v for emacs-devel@gnu.org; Wed, 07 Feb 2007 11:21:30 -0500 Original-Received: from rgmgw3.us.oracle.com (rgmgw3.us.oracle.com [138.1.186.112]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id l17GLRP7031050 for ; Wed, 7 Feb 2007 09:21:27 -0700 Original-Received: from rcsmt250.oracle.com (rcsmt250.oracle.com [148.87.90.195]) by rgmgw3.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l17GId2V012008 for ; Wed, 7 Feb 2007 09:21:26 -0700 Original-Received: from dhcp-4op11-4op12-west-130-35-178-179.us.oracle.com by rcsmt250.oracle.com with ESMTP id 2429017851170865277; Wed, 07 Feb 2007 09:21:17 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 In-Reply-To: <39241.128.165.123.18.1170864973.squirrel@webmail.lanl.gov> Importance: Normal X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= X-detected-kernel: Linux 2.4-2.6 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:66069 Archived-At: > For what it's worth, I offer > (defun string-to-glyphs (str &optional face) > "Return a glyph vector representing string STR with face FACE." > (vconcat (mapcar (lambda (c) (make-glyph-with-face c face)) str))) Just what I was going to do. But I agree that we might as well have such a function. (However, the case where FACE is nil needs to be treated also.)