Re: [O] Structure editing

2013-02-08 Thread Suvayu Ali
Hi Sanjib,

On Fri, Feb 08, 2013 at 11:06:21AM +0530, Sanjib Sikder wrote:
 On Fri, Feb 8, 2013 at 2:18 AM, Suvayu Ali fatkasuvayu+li...@gmail.comwrote:
  On Fri, Feb 08, 2013 at 01:27:05AM +0530, Sanjib Sikder wrote:
  
   Is it possible to have a line between two tress which should not
   hide when folded, like the following example ?
 
  No this is not possible.  Any text following a headline is by definition
  a part of the tree and will be folded with it.
 
  Maybe if you tell us what you are trying to achieve, we can suggest an
  alternative?
 
 What I am trying to achieve is an 'ordinary' heading, which is not in the
 beginning of the document but somewhere in the middle of the document,
 before a particular level one heading of a tree. At present the 'ordinary'
 heading gets hidden in the previous tree/subtree.
 
 Unfolded state:
 ===
 * Heading 1
 ** Heading 1-1
 ** Heading 1-2
 AT THIS POINT, A LINE (heading for the section below) WHICH SHOULD NOT BE
 FOLDED
 * Heading 2
 ** Heading 2-1
 ** Heading 2-2
 

This sounds a bit superfluous.  Why can't you include that text in the
heading Heading 2.  I understand what you are trying to do, and it is
not possible with Org (at least not without some dirty hack), but you
still haven't said _why_ you are attempting this.  Is this document
aimed for export to a specific backend, or is it just the way you want
the org buffer to look?  If it is about export to a backend, you should
look for solutions in the backend and not Org.

Hope this helps,

PS: please do not top post, it becomes difficult to follow the
discussion after a while.

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] Structure editing

2013-02-08 Thread David Rogers
Sanjib Sikder sanjibju2...@gmail.com writes:

 Hi,

 What I am trying to achieve is an 'ordinary' heading, which is not in the
 beginning of the document but somewhere in the middle of the document,
 before a particular level one heading of a tree. At present the 'ordinary'
 heading gets hidden in the previous tree/subtree.


In org-mode, one star IS an 'ordinary' heading. In Org mode, no stars is
'only some text, not a heading'. That is the whole way it is set
up. Your first line should (normally) always have one star, and 'no stars'
should be saved for use as the lowest of all levels, not the highest.

It seems illogical that one star is the highest heading, two stars is a
lower-level heading, and so on, while zero stars is not a heading at all
- but if you try to change that fact, you will be always fighting with
org-mode instead of using it.

-- 
David



Re: [O] Structure editing

2013-02-08 Thread Sanjib Sikder
 Is this document aimed for export to a specific backend, - NO
 or is it just the way you want the org buffer to look? - YES

The org-mode is a fantastic tool the way it is. I was just enquiring
whether it is possible or not.

In one of my document I have to write few lines like The following case is
applicable only if you want to do this or that. and then a tree structure
which instructs something.

Orgmode is powerful enough to design the document in a way to meet the
objective. I will think about that. Thanks to all of you.


Re: [O] Structure editing

2013-02-08 Thread Torsten Wagner
Hi,

this is a easy one ;)

Unfolded state:
===
* Heading 1
** Heading 1-1
** Heading 1-2
* -
* Heading 2
** Heading 2-1
** Heading 2-2

Folded state
=
* Heading 1
* --
* Heading 2


Done, problem solved :D

Torsten


On 8 February 2013 10:08, Sanjib Sikder sanjibju2...@gmail.com wrote:

  Is this document aimed for export to a specific backend, - NO
  or is it just the way you want the org buffer to look? - YES

 The org-mode is a fantastic tool the way it is. I was just enquiring
 whether it is possible or not.

 In one of my document I have to write few lines like The following case
 is applicable only if you want to do this or that. and then a tree
 structure which instructs something.

 Orgmode is powerful enough to design the document in a way to meet the
 objective. I will think about that. Thanks to all of you.






[O] Structure editing

2013-02-07 Thread Sanjib Sikder
Hi,

Is it possible to have a line between two tress which should not hide when
folded, like the following example ?

Unfolded state:
===
* Heading 1
** Heading 1-1
** Heading 1-2
AT THIS POINT, A LINE WHICH SHOULD NOT BE FOLDED
* Heading 2
** Heading 2-1
** Heading 2-2

Folded state
=
* Heading 1
AT THIS POINT, A LINE WHICH SHOULD NOT BE FOLDED
* Heading 2

Thanks.

-
*Sanjib Sikder
*Ph.D. Fellow
Chemical Engineering
IIT Bombay*

*


Re: [O] Structure editing

2013-02-07 Thread Suvayu Ali
On Fri, Feb 08, 2013 at 01:27:05AM +0530, Sanjib Sikder wrote:
 
 Is it possible to have a line between two tress which should not hide when
 folded, like the following example ?

No this is not possible.  Any text following a headline is by definition
a part of the tree and will be folded with it.

Maybe if you tell us what you are trying to achieve, we can suggest an
alternative?

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] Structure editing

2013-02-07 Thread Sanjib Sikder
Hi,

What I am trying to achieve is an 'ordinary' heading, which is not in the
beginning of the document but somewhere in the middle of the document,
before a particular level one heading of a tree. At present the 'ordinary'
heading gets hidden in the previous tree/subtree.

Unfolded state:
===
* Heading 1
** Heading 1-1
** Heading 1-2
AT THIS POINT, A LINE (heading for the section below) WHICH SHOULD NOT BE
FOLDED
* Heading 2
** Heading 2-1
** Heading 2-2

Thanks.

-
*Sanjib Sikder
*Ph.D. Fellow
Chemical Engineering
IIT Bombay*

*


On Fri, Feb 8, 2013 at 2:18 AM, Suvayu Ali fatkasuvayu+li...@gmail.comwrote:

 On Fri, Feb 08, 2013 at 01:27:05AM +0530, Sanjib Sikder wrote:
 
  Is it possible to have a line between two tress which should not hide
 when
  folded, like the following example ?

 No this is not possible.  Any text following a headline is by definition
 a part of the tree and will be folded with it.

 Maybe if you tell us what you are trying to achieve, we can suggest an
 alternative?

 --
 Suvayu

 Open source is the future. It sets us free.