From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hopsing K Subject: RE: org mode in multi-mode Date: Sun, 2 Jan 2011 20:42:12 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001485f1e46a5155150498e23bf9 Return-path: Received: from [140.186.70.92] (port=44787 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZTom-0005K1-O3 for emacs-orgmode@gnu.org; Sun, 02 Jan 2011 14:42:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZTok-0008LE-Jg for emacs-orgmode@gnu.org; Sun, 02 Jan 2011 14:42:15 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:34334) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZTok-0008Kr-DK for emacs-orgmode@gnu.org; Sun, 02 Jan 2011 14:42:14 -0500 Received: by wwb17 with SMTP id 17so13304535wwb.30 for ; Sun, 02 Jan 2011 11:42:13 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --001485f1e46a5155150498e23bf9 Content-Type: multipart/alternative; boundary=001485f1e46a51550c0498e23bf7 --001485f1e46a51550c0498e23bf7 Content-Type: text/plain; charset=ISO-8859-1 Appended is a patch to implement kind of a "break" on a child entry: -- a.org --- a a * s1 b b * # c c ----------- When doing a TAB on "* s1" only the "b" section will fold. "* #" (a heading with name "#") is implemented as a child that is made visible by default when when unfolding. It is also shown by default when cycling globally. Works at all sublevels. -- Greetings Konrad --001485f1e46a51550c0498e23bf7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Appended is a patch to implement kind of a "break" on
a child = entry:

-- a.org ---
a
a
* s1b
b
* #
c
c
-----------

When doing a TAB on "*= s1" only the "b" section will fold.
"* #" (a heading with name "#") is implemented as a child that is made visible by default when when unfolding.
It is also s= hown by default when cycling globally.=A0
Works at all sublevels.

-- Greetings Konrad

--001485f1e46a51550c0498e23bf7-- --001485f1e46a5155150498e23bf9 Content-Type: text/x-patch; charset=US-ASCII; name="e.diff" Content-Disposition: attachment; filename="e.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gigci8p00 LS0tIGVtYWNzLTIzLjIvbGlzcC9vcmcvb3JnLmVsCTIwMTAtMDQtMDQgMDA6MjY6MDguMDAwMDAw MDAwICswMjAwCisrKyBzcmMvYzUxL21rL29yZy5lbAkyMDExLTAxLTAyIDIwOjI2OjEwLjI2Njg2 MDgyNyArMDEwMApAQCAtNTI0NSw2ICs1MjQ1LDggQEAKIChkZWZ1biBvcmctY3ljbGUtaW50ZXJu YWwtbG9jYWwgKCkKICAgIkRvIHRoZSBsb2NhbCBjeWNsaW5nIGFjdGlvbi4iCiAgIChvcmctYmFj ay10by1oZWFkaW5nKQorICAoY29uZCAKKyAgICgobm90IChsb29raW5nLWF0IChjb25jYXQgb3V0 bGluZS1yZWdleHAgIlxzKiMiICkpKQogICAobGV0ICgoZ29hbC1jb2x1bW4gMCkgZW9oIGVvbCBl b3MgbGV2ZWwgaGFzLWNoaWxkcmVuIGNoaWxkcmVuLXNraXBwZWQpCiAgICAgOzsgRmlyc3QsIHNv bWUgYm91bmRhcmllcwogICAgIChzYXZlLWV4Y3Vyc2lvbgpAQCAtNTMxOCw3ICs1MzIwLDcgQEAK ICAgICAgIChoaWRlLXN1YnRyZWUpCiAgICAgICAobWVzc2FnZSAiRk9MREVEIikKICAgICAgIChz ZXRxIG9yZy1jeWNsZS1zdWJ0cmVlLXN0YXR1cyAnZm9sZGVkKQotICAgICAgKHJ1bi1ob29rLXdp dGgtYXJncyAnb3JnLWN5Y2xlLWhvb2sgJ2ZvbGRlZCkpKSkpCisgICAgICAocnVuLWhvb2std2l0 aC1hcmdzICdv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xhbWJkYSAoKQogCSAoaWYgKDw9IChm dW5jYWxsIG91dGxpbmUtbGV2ZWwpIGxldmVsKQotCSAgICAgKG91dGxpbmUtc2hvdy1oZWFkaW5n KSkpCisJICAgICAgIChpZiAobG9va2luZy1hdCAoY29uY2F0IG91dGxpbmUtcmVnZXhwICJccyoj IiApKQorCQkgICAocHJvZ24KKwkJICAgICAob3V0bGluZS1zaG93LWhlYWRpbmcgKQorCQkgICAg IChzaG93LWVudHJ5ICkpCisJCSAgIChvdXRsaW5lLXNob3ctaGVhZGluZykpKSkKICAgICAgICAo cG9pbnQpCiAgICAgICAgKHByb2duIChvdXRsaW5lLWVuZC1vZi1zdWJ0cmVlKQogCSAgICAgIChp ZiAoZW9icCkgKHBvaW50LW1heCkgKDErIChwb2ludCkpKSkpKSkK --001485f1e46a5155150498e23bf9 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --001485f1e46a5155150498e23bf9-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: RE: org mode in multi-mode Date: Wed, 26 Jan 2011 19:31:57 +0100 Message-ID: <871v3za542.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=46687 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiAAG-0001j6-1S for emacs-orgmode@gnu.org; Wed, 26 Jan 2011 13:32:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PiAAC-0001p2-EA for emacs-orgmode@gnu.org; Wed, 26 Jan 2011 13:32:17 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:55037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PiAAC-0001ow-7C for emacs-orgmode@gnu.org; Wed, 26 Jan 2011 13:32:16 -0500 Received: by wwb17 with SMTP id 17so1287425wwb.30 for ; Wed, 26 Jan 2011 10:32:15 -0800 (PST) In-Reply-To: (Hopsing K.'s message of "Sun, 2 Jan 2011 20:42:12 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Hopsing K Cc: emacs-orgmode@gnu.org Hi Hopsing, Hopsing K writes: > Appended is a patch to implement kind of a "break" on > a child entry: > > -- a.org --- > a > a > * s1 > b > b > * # > c > c > ----------- > > When doing a TAB on "* s1" only the "b" section will fold. > "* #" (a heading with name "#") is implemented as a > child that is made visible by default when when unfolding. > It is also shown by default when cycling globally.  > Works at all sublevels. Are you actually using this patch yourself? I couldn't not apply it because of trailing whitespaces. I'm skeptical about the real benefit, and I'm reluctant to add more syntactical complexity to the handling of headline. I'd be curious to head if anyone else would find this useful. Thanks! -- Bastien