* Structure editing
@ 2013-02-07 19:57 Sanjib Sikder
2013-02-07 20:48 ` Suvayu Ali
0 siblings, 1 reply; 8+ messages in thread
From: Sanjib Sikder @ 2013-02-07 19:57 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 481 bytes --]
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*
*
[-- Attachment #2: Type: text/html, Size: 772 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Structure editing
2013-02-07 19:57 Structure editing Sanjib Sikder
@ 2013-02-07 20:48 ` Suvayu Ali
2013-02-08 5:36 ` Sanjib Sikder
0 siblings, 1 reply; 8+ messages in thread
From: Suvayu Ali @ 2013-02-07 20:48 UTC (permalink / raw)
To: emacs-orgmode
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Structure editing
2013-02-07 20:48 ` Suvayu Ali
@ 2013-02-08 5:36 ` Sanjib Sikder
2013-02-08 8:24 ` Suvayu Ali
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Sanjib Sikder @ 2013-02-08 5:36 UTC (permalink / raw)
To: Suvayu Ali; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1131 bytes --]
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+linux@gmail.com>wrote:
> 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.
>
>
[-- Attachment #2: Type: text/html, Size: 1826 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Structure editing
2013-02-08 5:36 ` Sanjib Sikder
@ 2013-02-08 8:24 ` Suvayu Ali
2013-02-08 8:51 ` David Rogers
2013-02-08 9:31 ` A line in between top level headings (was: Structure editing) Karl Voit
2 siblings, 0 replies; 8+ messages in thread
From: Suvayu Ali @ 2013-02-08 8:24 UTC (permalink / raw)
To: Sanjib Sikder; +Cc: emacs-orgmode
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+linux@gmail.com>wrote:
> > 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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Structure editing
2013-02-08 5:36 ` Sanjib Sikder
2013-02-08 8:24 ` Suvayu Ali
@ 2013-02-08 8:51 ` David Rogers
2013-02-08 9:08 ` Sanjib Sikder
2013-02-08 9:31 ` A line in between top level headings (was: Structure editing) Karl Voit
2 siblings, 1 reply; 8+ messages in thread
From: David Rogers @ 2013-02-08 8:51 UTC (permalink / raw)
To: emacs-orgmode
Sanjib Sikder <sanjibju2002@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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Structure editing
2013-02-08 8:51 ` David Rogers
@ 2013-02-08 9:08 ` Sanjib Sikder
2013-02-08 21:18 ` Torsten Wagner
0 siblings, 1 reply; 8+ messages in thread
From: Sanjib Sikder @ 2013-02-08 9:08 UTC (permalink / raw)
To: Suvayu Ali; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 539 bytes --]
" 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.
[-- Attachment #2: Type: text/html, Size: 616 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* A line in between top level headings (was: Structure editing)
2013-02-08 5:36 ` Sanjib Sikder
2013-02-08 8:24 ` Suvayu Ali
2013-02-08 8:51 ` David Rogers
@ 2013-02-08 9:31 ` Karl Voit
2 siblings, 0 replies; 8+ messages in thread
From: Karl Voit @ 2013-02-08 9:31 UTC (permalink / raw)
To: emacs-orgmode
* Sanjib Sikder <sanjibju2002@gmail.com> wrote:
>
> 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
I also do think that you did not express the thing you want to
achieve yet. But if it is purely cosmetically, you might be happy
with:
| * Heading 1
| ** Heading 1-1
| ** Heading 1-2
| * =====================================================
| * Heading 2
| ** Heading 2-1
| ** Heading 2-2
--
Karl Voit
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Structure editing
2013-02-08 9:08 ` Sanjib Sikder
@ 2013-02-08 21:18 ` Torsten Wagner
0 siblings, 0 replies; 8+ messages in thread
From: Torsten Wagner @ 2013-02-08 21:18 UTC (permalink / raw)
To: Sanjib Sikder; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 939 bytes --]
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 <sanjibju2002@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.
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 1521 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-02-08 21:18 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-07 19:57 Structure editing Sanjib Sikder
2013-02-07 20:48 ` Suvayu Ali
2013-02-08 5:36 ` Sanjib Sikder
2013-02-08 8:24 ` Suvayu Ali
2013-02-08 8:51 ` David Rogers
2013-02-08 9:08 ` Sanjib Sikder
2013-02-08 21:18 ` Torsten Wagner
2013-02-08 9:31 ` A line in between top level headings (was: Structure editing) Karl Voit
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).