From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jadamson@partners.org (Joel J. Adamson) Newsgroups: gmane.emacs.help Subject: Re: gnus font shortcuts Date: Wed, 14 May 2008 10:24:09 -0400 Message-ID: <87ej85neuu.fsf@W0053328.mgh.harvard.edu> References: <87ej877z3v.fsf@localhorst.mine.nu> <878wyep7u8.fsf@W0053328.mgh.harvard.edu> <87y76e6xn8.fsf@localhorst.mine.nu> <87mymunovx.fsf@W0053328.mgh.harvard.edu> <87prrq6sjk.fsf@localhorst.mine.nu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210775111 5515 80.91.229.12 (14 May 2008 14:25:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 May 2008 14:25:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 14 16:25:39 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JwHv6-0001zQ-SK for geh-help-gnu-emacs@m.gmane.org; Wed, 14 May 2008 16:25:29 +0200 Original-Received: from localhost ([127.0.0.1]:48625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwHuN-00015k-FM for geh-help-gnu-emacs@m.gmane.org; Wed, 14 May 2008 10:24:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwHu0-00015Q-M0 for help-gnu-emacs@gnu.org; Wed, 14 May 2008 10:24:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JwHu0-000156-2e for help-gnu-emacs@gnu.org; Wed, 14 May 2008 10:24:20 -0400 Original-Received: from [199.232.76.173] (port=48409 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwHtz-000153-US for help-gnu-emacs@gnu.org; Wed, 14 May 2008 10:24:19 -0400 Original-Received: from phsmgmx10.partners.org ([155.52.251.101]:26560) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1JwHtz-0000Xt-Kc for help-gnu-emacs@gnu.org; Wed, 14 May 2008 10:24:19 -0400 X-IronPort-AV: E=Sophos;i="4.27,487,1204520400"; d="scan'208";a="143207839" Original-Received: from phsxcon3.mgh.harvard.edu (HELO PHSXCON3.partners.org) ([132.183.130.41]) by phsmgmx10.partners.org with ESMTP; 14 May 2008 10:24:11 -0400 Original-Received: from PHSXMB8.partners.org ([170.223.201.47]) by PHSXCON3.partners.org with Microsoft SMTPSVC(6.0.3790.3959); Wed, 14 May 2008 10:24:11 -0400 Original-Received: from W0053328.mgh.harvard.edu.partners.org ([132.183.29.121]) by PHSXMB8.partners.org with Microsoft SMTPSVC(6.0.3790.3959); Wed, 14 May 2008 10:24:11 -0400 In-Reply-To: <87prrq6sjk.fsf@localhorst.mine.nu> (David Hansen's message of "Tue, 13 May 2008 19:08:15 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-OriginalArrivalTime: 14 May 2008 14:24:11.0062 (UTC) FILETIME=[2D756D60:01C8B5CE] X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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: news.gmane.org gmane.emacs.help:53986 Archived-At: David Hansen writes: > On Tue, 13 May 2008 12:35:14 -0400 Joel J. Adamson wrote: > >> David Hansen writes: >> >>> On Tue, 13 May 2008 11:00:31 -0400 Joel J. Adamson wrote: >>> >>>> I stand corrected; I'll put in that since I choose to use a font that >>>> doesn't have slants, and underlining was originally a printing order for >>>> italics, underlining is still good ;) >>> >>> You can use a different font for italic faces. >> >> Interesting: what variable do I customize? > > Actually every face that has set the "italic" flag. I don't know if > there is a way to find out about all these faces. A good start is to > customize-face italic and then set every face you want to be italic to > "inherit" from the `italic' face. > > IMHO italic looks pretty ugly on computer screens, so there are just > very few cases where I want that (the gnus emphasize thing is one of > them). This works: I set an alternative font family (Utopia, same as variable-pitch) for the italic face, then set the inherit attribute on the default face to "italic" and now I get italics in a different face. Very cool. Here's the excerpt from custom-set-faces: '(italic ((t (:slant italic :family "Utopia")))) '(default ((t (:inherit italic)))) Joel -- Joel J. Adamson Biostatistician Pediatric Psychopharmacology Research Unit Massachusetts General Hospital Boston, MA 02114 (617) 643-1432 (303) 880-3109 Public key: http://pgp.mit.edu http://www.unc.edu/~adamsonj Ineffective security measure: The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information.