From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Phillip Lord" Newsgroups: gmane.emacs.devel Subject: Re: Differences between Org-Mode and Hyperbole Date: Mon, 4 Jul 2016 22:33:42 +0100 Message-ID: <058583919239409e2607da119d0a5f29.squirrel@cloud103.planethippo.com> References: <87h9cdmj6t.fsf@delle7240.chemeng.ucl.ac.uk> <87eg7f13re.fsf@delle7240.chemeng.ucl.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1467668044 14574 80.91.229.3 (4 Jul 2016 21:34:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2016 21:34:04 +0000 (UTC) Cc: emacs-devel@gnu.org, e.fraga@ucl.ac.uk, Kaushal Modi To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 04 23:33:56 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bKBV6-0003t5-2F for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2016 23:33:56 +0200 Original-Received: from localhost ([::1]:50624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKBV5-0005Vc-EX for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2016 17:33:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKBUz-0005VU-LK for emacs-devel@gnu.org; Mon, 04 Jul 2016 17:33:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKBUy-0003hs-Jc for emacs-devel@gnu.org; Mon, 04 Jul 2016 17:33:49 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:42013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKBUu-0003hE-7P; Mon, 04 Jul 2016 17:33:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Cc:To:From:Subject:Date:References:In-Reply-To:Message-ID; bh=dSrOcBV4Z2kY42//ABQBsaLAMuOq6dy94pjQXRsh/uk=; b=WXV5QWpeebjE/1MeeV+YgTlx0K BKHJnmd/cy8mlf8pm8D1JGYayFzyhkHTQu1xqWxXxmUhIfOo5mSY8t9v8alkox0LGwXAqKgXY+zbB /C30W5uKzNp+1lCRefLcGERjDmH90DFU+NRgAYCqpYK3Gw5+2QTFEPCGoj8LmRFoKtqWLQAIBfLGV oyCL89VXb7syuawAZvsAEkrqYyZ1l64Ziij/SP2T7dOGYw3vOEgLrsJlvYp0Q+PMVP7T7lMOUhb24 9w+9c9axUAOp8tLSU9yEEOswPCRc8oUjcov+YbWD7Aa4b3lCmH45dzBGzZj418Mp6v0my9rfE3Hov hbW3Hyvw==; Original-Received: from [127.0.0.1] (port=35147 helo=cloud103.planethippo.com) by cloud103.planethippo.com with esmtpa (Exim 4.86_1) (envelope-from ) id 1bKBUs-002iiW-HQ; Mon, 04 Jul 2016 22:33:42 +0100 Original-Received: from 77.98.219.118 ([77.98.219.118]) (SquirrelMail authenticated user phillip.lord@russet.org.uk) by cloud103.planethippo.com with HTTP; Mon, 4 Jul 2016 22:33:42 +0100 In-Reply-To: User-Agent: SquirrelMail/1.5.2 [SVN] X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 31.216.48.48 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:205151 Archived-At: On Mon, July 4, 2016 10:20 pm, Richard Stallman wrote: >> The beauty is that only that specific line has to contain the TODO >> information. The whole buffer is not a TODO list. If you think along >> those lines, org-mode has made it possible to have different major mode >> like behaviors in the same buffer. > > If you want to keep a todo list in the same file as your code, and > have special editing commands, you'd want to be able to do that in any kind > of file, with any major mode. Not only in files for which you use Org > mode. In C files, and Lisp files, and LaTeX files, and HTML files, and so > on. > > Correct me if I'm wrong, but I think Org mode doesn't do that. > > > So what we would want is a general package for having different major > modes in different parts of a buffer. I believe there is at least one > such project under way. My own package (lentic) achieves this already although by a different mechanism from having two major modes in one buffer -- rather it allows two buffers to share related text. It allows use of org-mode TODO lists (or any other org-mode markup) in lisp files (also, currently, lua, bash, python). Or you can mix and match lisp and latex. >> - The TODO headlines can have a "property block" which can contain a >> wide range of meta properties to be used during export, tangling, etc. > > What does it mean to "export", and why would you want to do that to a > TODO list? So you can put it on the web. I think exporting is more useful for things other than a TODO list though. This is the source code of lentic, for example, turned into org-mode, then exported to HTML with skinned with an info like javascript. http://homepages.cs.ncl.ac.uk/phillip.lord/lentic/lenticular.html >> - Different face for displaying and different export style based on the >> headline level of that TODO line. - Under those TODO headlines, you can >> have regular or check-list style children TODO headlines. - Some of those >> could have just regular paragraphs or numbered/plain/definition lists or >> source blocks or quotation blocks or ..... which should behave in >> display/export as per the org mode convention. > >> - They can have internal/external links, footnotes, etc. >> > > Why is it useful to do these fancy things for a TODO list? For all of these I cannot say (although it is useful to do these things for other reasons). But checkboxes are great. Org counts how many you have done as you check them off. Phil