From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: GianUberto.Lauri@eng.it (Gian Uberto Lauri) Newsgroups: gmane.emacs.help Subject: Re: Special characters on Emacs/Mac? Date: Tue, 8 Mar 2005 05:45:10 +0100 Message-ID: <16941.11734.284988.657561@mail.eng.it> References: <392a0eF5u0gl1U1@individual.net> <87zmxfcz62.fsf-monnier+gnu.emacs.help@gnu.org> Reply-To: saint@eng.it NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1110258387 3969 80.91.229.2 (8 Mar 2005 05:06:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2005 05:06:27 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 08 06:06:26 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D8Wv3-0002qR-Qt for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Mar 2005 06:06:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8X9S-00081n-PD for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Mar 2005 00:21:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D8X71-00073q-1d for help-gnu-emacs@gnu.org; Tue, 08 Mar 2005 00:18:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D8X6w-00072E-I8 for help-gnu-emacs@gnu.org; Tue, 08 Mar 2005 00:18:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8X6s-0006qh-I2 for help-gnu-emacs@gnu.org; Tue, 08 Mar 2005 00:18:23 -0500 Original-Received: from [213.205.33.42] (helo=mail-relay-2.tiscali.it) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D8Wb4-0006u3-P7 for help-gnu-emacs@gnu.org; Mon, 07 Mar 2005 23:45:31 -0500 Original-Received: from cyrano (217.133.20.189) by mail-relay-2.tiscali.it (7.1.021.3) id 420202CD004E92C7; Tue, 8 Mar 2005 05:45:29 +0100 Original-To: Stefan Monnier Original-Newsgroups: gnu.emacs.help In-Reply-To: <87zmxfcz62.fsf-monnier+gnu.emacs.help@gnu.org> X-Mailer: VM 7.18 under Emacs 21.3.50.1 X-attribution: CC X-Zippy: Who wants some OYSTERS with SEN-SEN an' COOL WHIP? 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 X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:24615 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24615 >>>>> "SM" == Stefan Monnier writes: >> Actually I think the problem is not the input, but the font: how do >> I change my (set-face-font 'default "-apple-Bitstream Vera Sans >> Mono-regular-r-normal--13-140-75-75-m-120-mac-roman") to use >> ISO-Latin-1 encoding instead of mac-roman? The documentation >> didn't really help me there... (and my tries were worthless) SM> No, the font itself uses mac-roman encoding, so you'd have to SM> change the font-data itself. Emacs happily uses fonts with SM> mac-roman encodings, so there's no reason to make such a change. It was a long and weary battle but I got some advice and solved the problem with this: (create-fontset-from-fontset-spec "-apple-monaco-medium-r-normal--12-*-*-*-*-*-fontset-monaco, ascii:-apple-monaco-medium-r-normal--12-120-75-75-m-120-mac-roman, mule-unicode-0100-24ff:-apple-lucida grande-medium-r-normal--0-0-75-75-m-0-mac-roman, mule-unicode-2500-33ff:-apple-bitstream vera sans mono bold-medium-r-normal--0-0-75-75-m-0-mac-roman, latin-iso8859-15:-apple-monaco-medium-r-normal--12-120-75-75-m-120-mac-roman, latin-iso8859-1:-apple-monaco-medium-r-normal--12-120-75-75-m-120-mac-roman" ) (set-face-font 'default "-apple-monaco-medium-r-normal--12-*-*-*-*-*-fontset-monaco") for 9 points (create-fontset-from-fontset-spec "-apple-monaco-medium-r-normal--9-*-*-*-*-*-fontset-monaco, ascii:-apple-monaco-medium-r-normal--9-90-75-75-m-90-mac-roman, mule-unicode-0100-24ff:-apple-lucida grande-medium-r-normal--0-0-75-75-m-0-mac-roman, mule-unicode-2500-33ff:-apple-bitstream vera sans mono bold-medium-r-normal--0-0-75-75-m-0-mac-roman, latin-iso8859-15:-apple-monaco-medium-r-normal--9-90-75-75-m-90-mac-roman, latin-iso8859-1:-apple-monaco-medium-r-normal--9-90-75-75-m-90-mac-roman") Sadly I lost the references for the credits :(. Hmmm... I think thak the use of mac roman is in second place for deserving a rightful spanking (for Apple developers) after the implementation of cp, mv and so on ... :) -- /\ ___ /___/\__|_|\_|__|___Gian Uberto Lauri_____________________ //--\ | | \| | Integralista GNUslamico \/ e coltivatore diretto di software