From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Oliver Scholz Newsgroups: gmane.emacs.help Subject: Re: Question on Mule and Makor2, font display vs char input? Date: Sat, 04 Dec 2004 12:41:52 +0100 Message-ID: <87pt1q2su7.fsf@ID-87814.user.uni-berlin.de> References: <87u0r754pw.fsf@access4less.net> <01c4d7d3$Blat.v2.2.2$e02970a0@zahav.net.il> <01c4d82a$Blat.v2.2.2$4ebaaf60@zahav.net.il> <01c4d897$Blat.v2.2.2$e8559280@zahav.net.il> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1102160730 11493 80.91.229.6 (4 Dec 2004 11:45:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Dec 2004 11:45:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 04 12:45:24 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CaYLs-0003SV-00 for ; Sat, 04 Dec 2004 12:45:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CaYVW-0004tl-7d for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Dec 2004 06:55:22 -0500 Original-Newsgroups: gnu.emacs.help X-Attribution: os X-Face: "HgH2sgK|bfH$; PiOJI6|qUCf.ve<51_Od(%ynHr?=>znn#~#oS>",F%B8&\vus),2AsPYb -n>PgddtGEn}s7kH?7kH{P_~vu?]OvVN^qD(L)>G^gDCl(U9n{:d>'DkilN!_K"eNzjrtI4Ya6; Td% IZGMbJ{lawG+'J>QXPZD&TwWU@^~A}f^zAb[Ru;CT(UA]c& User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:ejdIJ2CXU47aDMfvZumpfD8svUE= Original-NNTP-Posting-Host: 84.57.72.30 Original-X-Trace: 4 Dec 2004 12:43:21 +0100, 84.57.72.30 Original-Lines: 38 Original-X-Complaints-To: abuse@arcor-ip.de Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor-ip.de!news.arcor-ip.de!84.57.72.30 Original-Xref: shelby.stanford.edu gnu.emacs.help:127141 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:22558 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22558 Joe Corneli writes: > > From: Joe Corneli > > Date: Wed, 01 Dec 2004 23:52:53 -0600 > > > > M-: (insert "\\mu") > > > > and I see something like this: > > > > %% example.tex > > \documentclass[12pt]{article} > > \begin{document} > > I am an example. $$$$ Rowr! > > \end{document} > > > > ( stands for the mu character). > > I think the preview-latex package (not yet part of Emacs) does what > you want. > > No, I want the characters , to be emacs glyphs, not > inline images. X-symbol is much closer to what I want! I'd use font-lock to put an composition or display text property on the string. Have a look at: http://www.emacswiki.org/cgi-bin/wiki/PrettyLambda However with using `compose-region' as suggested there you have to be a bit careful with auto-saved files (because they are encoded in emacs-mule, which preserves the composition property). Maybe it is better to use the `display' text property. That would be a bit more messy, though, if you want cursor movements to DTRT. Oliver -- 14 Frimaire an 213 de la Révolution Liberté, Egalité, Fraternité!