emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [RFC] Make QUOTE an export keyword instead of an element type


From: Bastien
Subject: Re: [O] [RFC] Make QUOTE an export keyword instead of an element type
Date: Mon, 03 Feb 2014 16:36:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Nicolas Goaziou <address@hidden> writes:

> Will
>
>   : and some fixed line
>   Some text
>
> also become
>
>   : and some fixed line
>   : Some text
>
> ?

Yes, if beg and end of the region are in each of those two lines.

> And what about headlines, e.g.
>
>   : and some fixed line
>
>   * Headline
>
>   Some text

becomes

: and some fixed line
:
: * Headline
:
: Some text

> or,
>
>   Some text
>
>   * Headline
>
>   : and some fixed line

becomes

: Some text
:
: * Headline
:
: and some fixed line

> Same question for verbatim blocks. What happens in the following region?
>
>   Some text
>
>   #+begin_example
>   contents
>   #+end_example
>
>   : and some fixed line

becomes

: Some text
:
: #+begin_example
: contents
: #+end_example
:
: and some fixed line

The baseline is this:

- always consider regions made of whole lines

- when all lines are fixed-width in the region, C-c : converts them to
  regular text

- when zero or more (but not all) lines are fixed-width, converts all
  lines to fixed-width lines, ignoring lines that are already fixed-width

Does that make more sense?

-- 
 Bastien



reply via email to

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