emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: basic org questions


From: tomas
Subject: Re: basic org questions
Date: Tue, 15 Sep 2020 17:49:18 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Sep 15, 2020 at 05:29:05PM +0200, Emanuel Berg via General discussions 
about Org-mode. wrote:
> 1) How do I make a region italic?
> 
> This does not fontify and does not show up as
> italic type:
> 
> /En gång i tiden var även Spanien täckt av skog.
> En gammal berättelse menar att man i norra Spanien
> kunde hoppa upp på en apas rygg och ta sig ner till
> södra Spanien utan att klättra av en enda gång. Apan,
> underförstått, kunde hoppa från gren till gren genom
> hela halvön. Flyger man över Spanien idag ser man att
> det har gått åt ett och annat träd sen dess./
> 
> /This/ works tho.

This is not /really/ documented, so handle with some
care.

In a nutshell, org's emphasis was born to handle short
spans of text. To not slow the fontifier too much, the
matching is limited to at most (i believe) two lines.

But, given a bit of deep magic [1], you can increase that
limit.

The variable `org-emphasis-regexp-components' is documented,
so one might hope that the method is magic, but somewhat
official.

I use that for /normal/ texts: they tend to want longer
emphasised spans...

Cheers

[1] 
https://emacs.stackexchange.com/questions/18101/org-mode-multi-line-emphasis-and-bold

 - t

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]