From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Florian Beck Newsgroups: gmane.emacs.devel Subject: Re: face-remapping patch Date: Wed, 28 May 2008 04:03:46 +0200 Message-ID: <87ej7nb2wt.fsf@sophokles.streitblatt.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1211940245 27274 80.91.229.12 (28 May 2008 02:04:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 May 2008 02:04:05 +0000 (UTC) To: Emacs-Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 28 04:04:45 2008 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 1K1B1v-000401-13 for ged-emacs-devel@m.gmane.org; Wed, 28 May 2008 04:04:43 +0200 Original-Received: from localhost ([127.0.0.1]:41438 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1B19-0006KJ-Ky for ged-emacs-devel@m.gmane.org; Tue, 27 May 2008 22:03:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1B15-0006KC-0g for emacs-devel@gnu.org; Tue, 27 May 2008 22:03:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1B13-0006K0-Jg for emacs-devel@gnu.org; Tue, 27 May 2008 22:03:50 -0400 Original-Received: from [199.232.76.173] (port=36508 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1B13-0006Jx-Gh for emacs-devel@gnu.org; Tue, 27 May 2008 22:03:49 -0400 Original-Received: from mo-p07-ob.rzone.de ([81.169.146.188]:64334) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K1B12-00067V-VN for emacs-devel@gnu.org; Tue, 27 May 2008 22:03:49 -0400 X-RZG-CLASS-ID: mo07 X-RZG-AUTH: z4gYkBuibEUuEEkKOBbVf7V/z+MUYg== Original-Received: from aeschylus (p549960D8.dip.t-dialin.net [84.153.96.216]) by post.webmailer.de (fruni mo7) (RZmta 16.38) with ESMTP id 601f43k4RMSIRK for ; Wed, 28 May 2008 04:03:47 +0200 (MEST) (envelope-from: ) In-Reply-To: (Miles Bader's message of "Tue, 27 May 2008 11:49:15 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) 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:97854 Archived-At: "Miles Bader" writes: > I've attached my face-remapping patch to this message (I needed to > untangle it from some other changes). Hi, this seems to work very nicely so far.=20 Two questions: Firstly, this works strictly on faces, doesn't it? I cannot, say, have kanji =E2=80=93 or any non-latin characters - displayed at double height. Secondly, what I'd really like is a way to change fonts/faces not per buffer but per window. (Use cases: a secondary window which displays notes in a smaller font or which displays tabular data in monospace font.) I hoped I could set `face-remapping-alist' when a buffer is displayed in a certain window and clear it otherwise, but I am unable to find the right hook for that. Thanks anyway --=20 Florian Beck