From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Ridolfi Subject: Re: Org-style outline Date: Fri, 12 Feb 2010 11:53:57 +0100 Message-ID: <83ocjuohbu.fsf@yahoo.it> References: <3cbb63d01002112138l2a10bbfk60e12e1034bfc418@mail.gmail.com> <87r5oqx2lr.wl%maus.david@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nft9p-0007nz-J7 for emacs-orgmode@gnu.org; Fri, 12 Feb 2010 05:53:57 -0500 Received: from [140.186.70.92] (port=53141 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nft9o-0007mH-Hm for emacs-orgmode@gnu.org; Fri, 12 Feb 2010 05:53:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nft9n-00012Q-TF for emacs-orgmode@gnu.org; Fri, 12 Feb 2010 05:53:56 -0500 Received: from slim-2a.inet.it ([213.92.5.122]:40319) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nft9n-00012M-H8 for emacs-orgmode@gnu.org; Fri, 12 Feb 2010 05:53:55 -0500 In-Reply-To: <87r5oqx2lr.wl%maus.david@gmail.com> (David Maus's message of "Fri, 12 Feb 2010 09:47: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: David Maus Cc: Chao Lu , emacs-orgmode@gnu.org David Maus writes: > Hi Chao, > > At Fri, 12 Feb 2010 00:38:42 -0500, > Chao Lu wrote: >> >> Dear all, >> >> I'm writing to see if there's anyway to use org-like outline in ALL >> kinds of files, like my emacs configuration file, whose suffix is >> .el. Could I tell Emacs >> >> ;;; headline 1 >> ;; headline 2 >> >> And it begin to have the ability to display my el file just as Org >> does? >> > > I don't think so. Sorry for my previous email. I still think so: please have a look at: http://www.emacswiki.org/emacs/OrgMode Specific Tasks Org Mode can be easily configured to help edit Wikipedia articles by changing outline-regexp in the mode hook: (add-hook 'org-mode-hook '(lambda () (setq outline-regexp "=+"))) If you use WThreeM, add the following instead: (setq w3m-form-textarea-edit-mode 'org-mode) (add-hook 'w3m-form-input-textarea-mode-hook '(lambda nil (setq outline-regexp "=+"))) and a look at http://www.emacswiki.org/emacs/OutlineMode Customizing Heading Definition may give some suggestions. cheers, Giovanni