GNU bug report logs - #4242
[Orgmode] can't see emphasized text in org

Previous Next

Package: emacs;

Reported by: nicholas.dokos <at> hp.com

Date: Sun, 23 Aug 2009 22:40:04 UTC

Severity: normal

Merged with 4244, 4269

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4242 in the body.
You can then email your comments to 4242 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4242; Package emacs. (Sun, 23 Aug 2009 22:40:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to nicholas.dokos <at> hp.com:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 23 Aug 2009 22:40:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Nick Dokos <nicholas.dokos <at> hp.com>
To: Daniel Goldin <danielgoldin <at> gmail.com>, Nick Bell <mail <at> nickbell.org>,
        emacs-orgmode <at> gnu.org
Cc: nicholas.dokos <at> hp.com, bug-gnu-emacs <at> gnu.org
Subject: Re: [Orgmode] can't see emphasized text in org
Date: Sun, 23 Aug 2009 18:30:57 -0400
Daniel Goldin <danielgoldin <at> gmail.com> 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 <RET>. 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)




Merged 4242 4244. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Mon, 24 Aug 2009 21:45:05 GMT) Full text and rfc822 format available.

Merged 4242 4244 4269. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Fri, 28 Aug 2009 18:35:16 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to nicholas.dokos <at> hp.com Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 08 Oct 2010 22:29:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 06 Nov 2010 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.