From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Problem exporting code Date: Tue, 22 Jan 2013 20:45:39 +0100 Message-ID: <87ehhd9f30.fsf@googlemail.com> References: <87libnmdjx.fsf@ucl.ac.uk> <87pq0zkmrt.fsf@ucl.ac.uk> <87wqv5irnp.fsf@bzg.ath.cx> <87wqv5wjw8.fsf@googlemail.com> <87ehhdh1pz.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxjnB-0008CI-9f for emacs-orgmode@gnu.org; Tue, 22 Jan 2013 14:45:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Txjn9-0004Dp-MK for emacs-orgmode@gnu.org; Tue, 22 Jan 2013 14:45:57 -0500 Received: from plane.gmane.org ([80.91.229.3]:54865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Txjn9-0004Dh-Fu for emacs-orgmode@gnu.org; Tue, 22 Jan 2013 14:45:55 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TxjnN-00056C-AB for emacs-orgmode@gnu.org; Tue, 22 Jan 2013 20:46:09 +0100 Received: from e178054230.adsl.alicedsl.de ([85.178.54.230]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jan 2013 20:46:09 +0100 Received: from tjolitz by e178054230.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jan 2013 20:46:09 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bastien writes: Hi Bastien, >> Why do you consider outline(-minor-mode) as completely unusable? > > Because of the keybindings. I found a really nice alternative keymap here: http://emacswiki.org/emacs/OutlineMinorMode ,---------------------------------------------------------------------------------------------- | ; Outline-minor-mode key map | (define-prefix-command 'cm-map nil "Outline-") | ; HIDE | (define-key cm-map "q" 'hide-sublevels) ; Hide everything but the top-level headings | (define-key cm-map "t" 'hide-body) ; Hide everything but headings (all body lines) | (define-key cm-map "o" 'hide-other) ; Hide other branches | (define-key cm-map "c" 'hide-entry) ; Hide this entry's body | (define-key cm-map "l" 'hide-leaves) ; Hide body lines in this entry and sub-entries | (define-key cm-map "d" 'hide-subtree) ; Hide everything in this entry and sub-entries | ; SHOW | (define-key cm-map "a" 'show-all) ; Show (expand) everything | (define-key cm-map "e" 'show-entry) ; Show this heading's body | (define-key cm-map "i" 'show-children) ; Show this heading's immediate child sub-headings | (define-key cm-map "k" 'show-branches) ; Show all sub-headings under this heading | (define-key cm-map "s" 'show-subtree) ; Show (expand) everything in this heading & below | ; MOVE | (define-key cm-map "u" 'outline-up-heading) ; Up | (define-key cm-map "n" 'outline-next-visible-heading) ; Next | (define-key cm-map "p" 'outline-previous-visible-heading) ; Previous | (define-key cm-map "f" 'outline-forward-same-level) ; Forward - same level | (define-key cm-map "b" 'outline-backward-same-level) ; Backward - same level | (global-set-key "\M-o" cm-map) `---------------------------------------------------------------------------------------------- -- cheers, Thorsten