From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Goldin Newsgroups: gmane.emacs.orgmode,gmane.emacs.bugs Subject: Re: can't see emphasized text in org Date: Wed, 26 Aug 2009 14:20:22 -0700 Message-ID: <20090826212022.GA8214@dg> References: <20090823183402.GB20401@dg> <4A918D71.4030809@nickbell.org> <20090823211052.GB8346@dg> <28056.1251066657@gamaville.dokosmarshall.org> Reply-To: danielgoldin@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: ger.gmane.org 1251321676 3324 80.91.229.12 (26 Aug 2009 21:21:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Aug 2009 21:21:16 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org To: Nick Dokos Original-X-From: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Wed Aug 26 23:21:09 2009 Return-path: Envelope-to: geo-emacs-orgmode@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MgPvW-0004Me-2D for geo-emacs-orgmode@m.gmane.org; Wed, 26 Aug 2009 23:21:06 +0200 Original-Received: from localhost ([127.0.0.1]:46726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgPvV-0005g8-21 for geo-emacs-orgmode@m.gmane.org; Wed, 26 Aug 2009 17:21:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgPv5-0005fx-8A for emacs-orgmode@gnu.org; Wed, 26 Aug 2009 17:20:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MgPv0-0005fS-Qh for emacs-orgmode@gnu.org; Wed, 26 Aug 2009 17:20:38 -0400 Original-Received: from [199.232.76.173] (port=49689 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgPv0-0005fP-Ka; Wed, 26 Aug 2009 17:20:34 -0400 Original-Received: from mail-ew0-f211.google.com ([209.85.219.211]:59940) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MgPv0-0007zB-53; Wed, 26 Aug 2009 17:20:34 -0400 Original-Received: by ewy7 with SMTP id 7so612869ewy.31 for ; Wed, 26 Aug 2009 14:20:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:reply-to:mail-followup-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=ziqhsCY6tKgNThkXXsKkkY+/WEdmjFxszl7CMLkr8kU=; b=U7NERaGwOxu2UpLNuwU1fgTo3eZ7aF3PTcqq9BJs1Kvmqu0qMgZwid4PWaylCImJ8g bidjaopfTaze3J8eO9DBMgpWL1uailQZIYn8bclEaAe8CtOP2BLyZdCjAHkCSAQDwas9 8QN0j2Q3dF58U3x+P9AhvyMwa/NIzRDfzsPW0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; b=CMb/ZK+sRIDAC7LsjUQnIqEuEyRxIZTSzsXN4pfvLwt48xKapKtQUcjnO7Napr+xXZ os9LnSaxDf6tIsoN0jSpl2F8KPeoqM7cEa2dc2ocjg6jcU3YDin0OO2A1p7IvOJkSvo1 xUTfmkm9k4524rIMBVI3sE57DQC+Y50hC0tjw= Original-Received: by 10.216.6.198 with SMTP id 48mr1606587wen.200.1251321628060; Wed, 26 Aug 2009 14:20:28 -0700 (PDT) Original-Received: from localhost (cpe-76-87-85-12.socal.res.rr.com [76.87.85.12]) by mx.google.com with ESMTPS id 10sm313601eyd.2.2009.08.26.14.20.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 26 Aug 2009 14:20:26 -0700 (PDT) Mail-Followup-To: Nick Dokos , Nick Bell , emacs-orgmode@gnu.org, bug-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <28056.1251066657@gamaville.dokosmarshall.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.orgmode:16941 gmane.emacs.bugs:30597 Archived-At: Finally got a chance to try this. Works like a charm! Thanks. d. On Sun, 23 Aug 2009, Nick Dokos wrote: >Daniel Goldin wrote: > >> On Sun, 23 Aug 2009, Nick Bell wrote: >> >> > Daniel Goldin wrote: >> >> Non-programmer-type can't see markup like /this/ as emphasized. I >> >> looked through manual and searched web but found no answer. Any >> >> thoughts? >> > Are you using a font which has a separate italic form? Try switching >> > to a font which you know does, such as Courier New. >> > >> > Now wait for an expert to come along. >> > >> Doesn't help, I'm afraid. >> > >I've seen this problem before and I never chased it down but when I saw >Nick Bell's idea, I figured that's got to be it. It *almost* works >but not quite (as Daniel found out). > >If you enter /italic/ in an org buffer, place your cursor in there and >say M-x describe-text-properties, you get: > >,---- >| Text content at position 48: >| >| >| There are text properties here: >| face (italic) >| font-lock-multiline t >| fontified t >`---- > >You can then M-x describe-face italic . For me, that had >the :underline attribute set, and the :slant attribute unset. >If you customize the face, set the :slant attribute (e.g. to italic) >and unset the :underline attribute and *then* change to a font that >provides an italic form, then /italic/ is indeed italicized. > >The problem seems to be in faces.el: > >,---- >| (defface italic >| '((((supports :slant italic)) >| :slant italic) >| (((supports :underline t)) >| :underline t) >| (t >| ;; default to italic, even it doesn't appear to be supported, >| ;; because in some cases the display engine will do it's own >| ;; workaround (to `dim' on ttys) >| :slant italic)) >| "Basic italic face." >| :group 'basic-faces) >`---- > >which apparently looked at my default font[1], found that it does not >support italics but does support underlines and set the attributes >accordingly. *Why* it falls back to underlining is probably a question >that should be addressed to the emacs developers, but it looks like >a bug to me (hence copied to the emacs bugs list - version info appended[2]) > >HTH, >Nick > >[1] I have > >(set-default-font "-misc-fixed-medium-r-normal--15-120-100-100-c-90-iso8859-1") > >in my .emacs. I think this is what used to be called "9x15" at some point in >the past, but I'm really not sure. > > >[2] Version info: > >GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2009-08-09 on gamaville.dokosmarshall.org >Org-mode version 6.29trans (release_6.29c.55.ga48f) -- Daniel Goldin 213.926.1960 _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode