emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Seeing Actual Emphasis in Orgmode Buffer
@ 2016-01-11 18:30 Kenneth Jacker
  2016-01-11 18:42 ` Marcin Borkowski
  0 siblings, 1 reply; 9+ messages in thread
From: Kenneth Jacker @ 2016-01-11 18:30 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

[ Orgmode v8.3.1 ]

How can I have Emacs actually display /foo/, *bar*, _blah_ emphasis *in an
Orgmode buffer*?
Note that I am not "exporting" HTML, LaTeX, or friends (where I assume the
above markups get correctly styled as italics, bold, etc.).


Is there some way to do this?

"org-fontify-emphasized-text" is non-nil.


Anyone know how to do this?  Sorry if I'm missing the obvious!

Thanks,

-Kenneth

-- 
Prof Kenneth H Jacker       khj@cs.appstate.edu
Computer Science Dept     www.cs.appstate.edu/~khj
Appalachian State Univ
Boone, NC  28608  USA

[-- Attachment #2: Type: text/html, Size: 1939 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Seeing Actual Emphasis in Orgmode Buffer
  2016-01-11 18:30 Seeing Actual Emphasis in Orgmode Buffer Kenneth Jacker
@ 2016-01-11 18:42 ` Marcin Borkowski
  2016-01-11 21:53   ` Kenneth Jacker
  0 siblings, 1 reply; 9+ messages in thread
From: Marcin Borkowski @ 2016-01-11 18:42 UTC (permalink / raw)
  To: Kenneth Jacker; +Cc: emacs-orgmode


On 2016-01-11, at 19:30, Kenneth Jacker <jackerkh@appstate.edu> wrote:

> [ Orgmode v8.3.1 ]
>
> How can I have Emacs actually display /foo/, *bar*, _blah_ emphasis *in an
> Orgmode buffer*?
> Note that I am not "exporting" HTML, LaTeX, or friends (where I assume the
> above markups get correctly styled as italics, bold, etc.).
>
> Is there some way to do this?
>
> "org-fontify-emphasized-text" is non-nil.
>
> Anyone know how to do this?  Sorry if I'm missing the obvious!

Are you sure you have a font that supports italic or boldface variants?
It works out of the box on my Emacs, but I didn't mess up with the
default font.

> Thanks,
>
> -Kenneth

Hth,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Seeing Actual Emphasis in Orgmode Buffer
  2016-01-11 18:42 ` Marcin Borkowski
@ 2016-01-11 21:53   ` Kenneth Jacker
  2016-01-13 13:41     ` Marco Wahl
  0 siblings, 1 reply; 9+ messages in thread
From: Kenneth Jacker @ 2016-01-11 21:53 UTC (permalink / raw)
  To: Marcin Borkowski; +Cc: Orgmode

[-- Attachment #1: Type: text/plain, Size: 639 bytes --]

>
> Are you sure you have a font that supports italic or boldface variants?
>

​Hmmm ... not sure I know how to check that ...

Might you suggest a "variable", "function"  or "menu item" that would​

​indicate whether the needed "font support" was there/enabled?
​

> It works out of the box on my Emacs, but I didn't mess up with the
> default font.


​I don't *think* I did anything with the "default font" either ...

So you actually see the "bold" rendering in the "buffer" corresponding to
the  ".org" file ​?

​If so, there is "hope" for me  ;-)​


​Thanks for your comments!

-Kenneth​

[-- Attachment #2: Type: text/html, Size: 1980 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Seeing Actual Emphasis in Orgmode Buffer
  2016-01-11 21:53   ` Kenneth Jacker
@ 2016-01-13 13:41     ` Marco Wahl
  2016-01-16 18:34       ` Kenneth Jacker
  0 siblings, 1 reply; 9+ messages in thread
From: Marco Wahl @ 2016-01-13 13:41 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

Kenneth Jacker <jackerkh@appstate.edu> writes:

>> Are you sure you have a font that supports italic or boldface variants?
>>
>
> ​Hmmm ... not sure I know how to check that ...
>
> Might you suggest a "variable", "function"  or "menu item" that would​
>
> ​indicate whether the needed "font support" was there/enabled?
> ​
>
>> It works out of the box on my Emacs, but I didn't mess up with the
>> default font.
>
>
> ​I don't *think* I did anything with the "default font" either ...
>
> So you actually see the "bold" rendering in the "buffer" corresponding to
> the  ".org" file ​?
>
> ​If so, there is "hope" for me  ;-)​

Sure, always!  ;)

Maybe you get some insight if you do e.g. 'M-x customize-face italic'
and play with settings.


HTH
-- 
Marco Wahl
GPG: 0x49010A040A3AE6F2

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Seeing Actual Emphasis in Orgmode Buffer
  2016-01-13 13:41     ` Marco Wahl
@ 2016-01-16 18:34       ` Kenneth Jacker
  2016-01-16 19:27         ` Nick Dokos
  0 siblings, 1 reply; 9+ messages in thread
From: Kenneth Jacker @ 2016-01-16 18:34 UTC (permalink / raw)
  To: Marco Wahl; +Cc: Orgmode

[-- Attachment #1: Type: text/plain, Size: 389 bytes --]

Thanks for you suggestions Marco, but I still can't figure out how to get
the "styles"/"emphasis" displayed in a '.org' file buffer.

As mentioned before, the variable "org-fontify-emphasized-text" is set to
`t' (non-nil).

Documentation says this about that variable:

        Non-nil means fontify *bold*, /italic/ and _underlined_ text.

Anyone have any other ideas?

Thanks,

-Kenneth

[-- Attachment #2: Type: text/html, Size: 1277 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Seeing Actual Emphasis in Orgmode Buffer
  2016-01-16 18:34       ` Kenneth Jacker
@ 2016-01-16 19:27         ` Nick Dokos
  2016-01-17 17:59           ` Kenneth Jacker
  0 siblings, 1 reply; 9+ messages in thread
From: Nick Dokos @ 2016-01-16 19:27 UTC (permalink / raw)
  To: emacs-orgmode

Kenneth Jacker <jackerkh@appstate.edu> writes:

> Thanks for you suggestions Marco, but I still can't figure out how to get the "styles"/"emphasis" displayed in a '.org' file buffer.
>
> As mentioned before, the variable "org-fontify-emphasized-text" is set to `t' (non-nil). 
>
> Documentation says this about that variable:
>
>         Non-nil means fontify *bold*, /italic/ and _underlined_ text.
>
> Anyone have any other ideas?
>
> Thanks,
>
> -Kenneth
>

Open an org mode buffer, type

*bold*

in it, move the cursor over one of the letters of the word "bold" and
type

C-u C-x =

You should get a *Help* buffer and towards the bottom there should be a
section that looks something like this (this is what I get in my case):

,----
| There are text properties here:
|   face                 (bold)
|   font-lock-multiline  t
|   fontified            t
|   org-emphasis         t
`----

What do you get?

-- 
Nick

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Seeing Actual Emphasis in Orgmode Buffer
  2016-01-16 19:27         ` Nick Dokos
@ 2016-01-17 17:59           ` Kenneth Jacker
  2016-01-18  8:39             ` Eric S Fraga
  0 siblings, 1 reply; 9+ messages in thread
From: Kenneth Jacker @ 2016-01-17 17:59 UTC (permalink / raw)
  To: Nick Dokos; +Cc: Orgmode

[-- Attachment #1: Type: text/plain, Size: 807 bytes --]

> What do you get?

        character: o (111, #o157, #x6f)
      preferred charset: ascii (ASCII (ISO646 IRV))
       code point: 0x6F
           syntax: w which means: word
         category: .:Base, a:ASCII, l:Latin, r:Roman
      buffer code: #x6F
        file code: #x6F (encoded by coding system utf-8-unix)
          display: by this font (glyph code)
    x:-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1 (#x6F)

Character code properties: customize what to show
  name: LATIN SMALL LETTER O
  general-category: Ll (Letter, Lowercase)

There are text properties here:
  face                 (bold)
  font-lock-multiline  t
  fontified            t
  line-prefix          [Show]
  org-emphasis         t
  wrap-prefix          [Show]


​Thanks!

-Kenneth
​

[-- Attachment #2: Type: text/html, Size: 2384 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Seeing Actual Emphasis in Orgmode Buffer
  2016-01-17 17:59           ` Kenneth Jacker
@ 2016-01-18  8:39             ` Eric S Fraga
  2016-01-18 14:22               ` Kenneth Jacker
  0 siblings, 1 reply; 9+ messages in thread
From: Eric S Fraga @ 2016-01-18  8:39 UTC (permalink / raw)
  To: Kenneth Jacker; +Cc: Nick Dokos, Orgmode

On Sunday, 17 Jan 2016 at 12:59, Kenneth Jacker wrote:
>> What do you get?

[...]

>     x:-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1 (#x6F)

On my system, the combination of pxlsz and ptSx you have for that font
(misc-fixed) precludes the use of the italic or bold faces...

I use DejaVu Sans Mono as my font in Emacs.  Try

  (set-face-attribute 'default nil :font "DejaVu Sans Mono-18")

to see if you get better behaviour and, if so, then play around to look
for a font that pleases you.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.1.50.2, Org release_8.3.3-449-gd85ff3

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Seeing Actual Emphasis in Orgmode Buffer
  2016-01-18  8:39             ` Eric S Fraga
@ 2016-01-18 14:22               ` Kenneth Jacker
  0 siblings, 0 replies; 9+ messages in thread
From: Kenneth Jacker @ 2016-01-18 14:22 UTC (permalink / raw)
  To: Kenneth Jacker, Nick Dokos, Orgmode

[-- Attachment #1: Type: text/plain, Size: 142 bytes --]

Hey Eric!

Thanks for the fast and detailed help.

I'll try 'set-face-attribute' later.

Will advise how it goes ...

Thanks again,

-Kenneth

[-- Attachment #2: Type: text/html, Size: 874 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-01-18 14:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-11 18:30 Seeing Actual Emphasis in Orgmode Buffer Kenneth Jacker
2016-01-11 18:42 ` Marcin Borkowski
2016-01-11 21:53   ` Kenneth Jacker
2016-01-13 13:41     ` Marco Wahl
2016-01-16 18:34       ` Kenneth Jacker
2016-01-16 19:27         ` Nick Dokos
2016-01-17 17:59           ` Kenneth Jacker
2016-01-18  8:39             ` Eric S Fraga
2016-01-18 14:22               ` Kenneth Jacker

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).