all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jadamson@partners.org (Joel J. Adamson)
To: help-gnu-emacs@gnu.org
Subject: Re: gnus font shortcuts
Date: Wed, 14 May 2008 10:24:09 -0400	[thread overview]
Message-ID: <87ej85neuu.fsf@W0053328.mgh.harvard.edu> (raw)
In-Reply-To: <87prrq6sjk.fsf@localhorst.mine.nu> (David Hansen's message of "Tue, 13 May 2008 19:08:15 +0200")

David Hansen <david.hansen@gmx.net> writes:

> On Tue, 13 May 2008 12:35:14 -0400 Joel J. Adamson wrote:
>
>> David Hansen <david.hansen@gmx.net> 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.







  reply	other threads:[~2008-05-14 14:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m37idzaz0e.fsf@home.sweet.home>
2008-05-13  1:48 ` gnus font shortcuts David Hansen
2008-05-13 15:00   ` Joel J. Adamson
2008-05-13 15:18     ` David Hansen
2008-05-13 16:35       ` Joel J. Adamson
2008-05-13 17:08         ` David Hansen
2008-05-14 14:24           ` Joel J. Adamson [this message]
2008-05-13 13:01 ` Ted Zlatanov
2008-05-13 14:59 ` Joel J. Adamson
2008-05-14  2:07   ` Myriam Abramson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ej85neuu.fsf@W0053328.mgh.harvard.edu \
    --to=jadamson@partners.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.