emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* boxquote in plain lists
@ 2012-11-28 22:03 Julien Cubizolles
  2012-12-03 12:35 ` Giovanni Ridolfi
  0 siblings, 1 reply; 7+ messages in thread
From: Julien Cubizolles @ 2012-11-28 22:03 UTC (permalink / raw)
  To: emacs-orgmode

I very often use boxquoted text in my org files to insert excerpts of
config files but I have trouble using it in plain lists : the boxquoted
text won't be folded by TAB, you have to manually indent each line of
the boxquote for the folding to work.

Julien.

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

* Re: boxquote in plain lists
  2012-11-28 22:03 boxquote in plain lists Julien Cubizolles
@ 2012-12-03 12:35 ` Giovanni Ridolfi
  2012-12-03 15:44   ` Julien Cubizolles
  0 siblings, 1 reply; 7+ messages in thread
From: Giovanni Ridolfi @ 2012-12-03 12:35 UTC (permalink / raw)
  To: Julien Cubizolles, emacs-orgmode@gnu.org

Da: Julien Cubizolles <j.cubizolles@free.fr>

Inviato: Mercoledì 28 Novembre 2012 23:03

> I very often use boxquoted text in my org files to insert excerpts of
> config files but I have trouble using it in plain lists : the boxquoted
> text won't be folded by TAB, you have to manually indent each line of
> the boxquote for the folding to work.

Hi, Julien,

I suggest to you to use headlines: 
-+---------------------------
**** boxquoted
,----
| The default style looks like this.
`----
-+----------------------------
and if you press TAB the text will be folded.

But if you insist ;-) to use tab... well....
use headlines :-), 
/then/ convert the headlines in list (selecting the headlines
and pressing C-c - .... and you''ll find a nicely
indented list
-----------------------------
    - boxquoted
      ,----
      | The default style looks like this.
      `----
---------------------------
that can be folded. 

hth, cheers,
Giovanni

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

* Re: boxquote in plain lists
  2012-12-03 12:35 ` Giovanni Ridolfi
@ 2012-12-03 15:44   ` Julien Cubizolles
  2012-12-03 16:11     ` Giovanni Ridolfi
  0 siblings, 1 reply; 7+ messages in thread
From: Julien Cubizolles @ 2012-12-03 15:44 UTC (permalink / raw)
  To: emacs-orgmode

Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> writes:

> Da: Julien Cubizolles <j.cubizolles@free.fr>
>
> Inviato: Mercoledì 28 Novembre 2012 23:03
>
>> I very often use boxquoted text in my org files to insert excerpts of
>> config files but I have trouble using it in plain lists : the boxquoted
>> text won't be folded by TAB, you have to manually indent each line of
>> the boxquote for the folding to work.
>
> Hi, Julien,
>
> I suggest to you to use headlines: 
> -+---------------------------
> **** boxquoted
> ,----
> | The default style looks like this.
> `----
> -+----------------------------
> and if you press TAB the text will be folded.

This one works, thanks

> But if you insist ;-) to use tab... well....
> use headlines :-), 
> /then/ convert the headlines in list (selecting the headlines
> and pressing C-c - .... and you''ll find a nicely
> indented list
> -----------------------------
>     - boxquoted
>       ,----
>       | The default style looks like this.
>       `----
> ---------------------------
> that can be folded. 

I must some options badly configured

This is what I get with headlines, it can indeed be folded
--8<---------------cut here---------------start------------->8---
* boxquoted
,----
| test
`----
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
- boxquoted
,----
| test
`----
--8<---------------cut here---------------end--------------->8---
with no indentation, can't be folded.

Julien.

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

* Re: boxquote in plain lists
  2012-12-03 15:44   ` Julien Cubizolles
@ 2012-12-03 16:11     ` Giovanni Ridolfi
  2012-12-03 16:34       ` Julien Cubizolles
  0 siblings, 1 reply; 7+ messages in thread
From: Giovanni Ridolfi @ 2012-12-03 16:11 UTC (permalink / raw)
  To: Julien Cubizolles, emacs-orgmode@gnu.org

Hi, Julien, 


Da: Julien Cubizolles <j.cubizolles@free.fr>

Inviato: Lunedì 3 Dicembre 2012 16:44

>Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> writes:

<--8<---------------cut here---------------start------------->8---
>- boxquoted
>,----
>| test
>`----
>--8<---------------cut here---------------end--------------->8---
> with no indentation, can't be folded.
> I must some options badly configured

Actually, I think you haven't converted the headline
like I said. Did you? How?

>> But if you insist ;-) to use _lists_   .. well....
>> use headlines :-), 

>> /then/ CONVERT the headlines in list

>> (selecting the headlines
>> and pressing C-c - .... and you''ll find a nicely
>> indented list
>> -----------------------------
>>     - boxquoted
>>       ,----
>>       | The default style looks like this.
>>       `----
>> ---------------------------
>> that can be folded. 

ah, please, let us know your:
- Org version
-  Emacs version
- Operating system

thanks,
Giovanni

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

* Re: boxquote in plain lists
  2012-12-03 16:11     ` Giovanni Ridolfi
@ 2012-12-03 16:34       ` Julien Cubizolles
  2012-12-03 20:42         ` Giovanni Ridolfi
  0 siblings, 1 reply; 7+ messages in thread
From: Julien Cubizolles @ 2012-12-03 16:34 UTC (permalink / raw)
  To: emacs-orgmode

Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> writes:


> Actually, I think you haven't converted the headline
> like I said. Did you? How?

I think I did :
* created headline with star
* add boxquoted text
* checked that the headline can be folded
* C-c - on the headline
* headline gets converted to a plain list that can't be folded anymore




> ah, please, let us know your:
> - Org version

Org-mode version 7.9.2 (release_7.9.2-632-gd344fd)

> -  Emacs version

GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.6.0) of 2012-11-22 

> - Operating system

Linux, Ubuntu 12.10

Julien.

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

* Re: boxquote in plain lists
  2012-12-03 16:34       ` Julien Cubizolles
@ 2012-12-03 20:42         ` Giovanni Ridolfi
  2012-12-05 17:15           ` Julien Cubizolles
  0 siblings, 1 reply; 7+ messages in thread
From: Giovanni Ridolfi @ 2012-12-03 20:42 UTC (permalink / raw)
  To: Julien Cubizolles; +Cc: Orgmode

Da: Julien Cubizolles <j.cubizolles@free.fr>

Inviato: Lunedì 3 Dicembre 2012 17:34

> Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> writes:

> I think I did :
> * created headline with star
> * add boxquoted text
> * checked that the headline can be folded

C-c @ on the headline
so that the whole text is selected

> * C-c - on the headline
Actually,
C-c - on the selected text: i.e. the first line ( the headline
                                and the whole text below)

> * headline gets converted to a plain list that can't be folded anymore

the whole text, i.e.  headline+text is converted
in an item of a list and indented correctly.

for further information, please, read the manual regarding plain lists.

cheers,
Giovanni


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

* Re: boxquote in plain lists
  2012-12-03 20:42         ` Giovanni Ridolfi
@ 2012-12-05 17:15           ` Julien Cubizolles
  0 siblings, 0 replies; 7+ messages in thread
From: Julien Cubizolles @ 2012-12-05 17:15 UTC (permalink / raw)
  To: emacs-orgmode

Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> writes:

> C-c @ on the headline
> so that the whole text is selected
>
>> * C-c - on the headline
> Actually,
> C-c - on the selected text: i.e. the first line ( the headline
>                                 and the whole text below)
>
>> * headline gets converted to a plain list that can't be folded anymore
>
> the whole text, i.e.  headline+text is converted
> in an item of a list and indented correctly.

Thanks, I'm not used to C-c @. I guess it's boxquote being at fault
here.

Julien.

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

end of thread, other threads:[~2012-12-05 17:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-28 22:03 boxquote in plain lists Julien Cubizolles
2012-12-03 12:35 ` Giovanni Ridolfi
2012-12-03 15:44   ` Julien Cubizolles
2012-12-03 16:11     ` Giovanni Ridolfi
2012-12-03 16:34       ` Julien Cubizolles
2012-12-03 20:42         ` Giovanni Ridolfi
2012-12-05 17:15           ` Julien Cubizolles

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).