From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.bugs Subject: bug#1397: RFC: A "markup mode" Date: Mon, 29 Feb 2016 10:05:39 +0100 Message-ID: <20160229090539.GD14063@tuxteam.de> References: <874mcsywf8.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1456738885 10398 80.91.229.3 (29 Feb 2016 09:41:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Feb 2016 09:41:25 +0000 (UTC) Cc: Lars Ingebrigtsen , tomas@tuxteam.de, 1397@debbugs.gnu.org To: John Wiegley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 29 10:41:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1aaKKG-0008Iy-MP for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Feb 2016 10:41:12 +0100 Original-Received: from localhost ([::1]:35401 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaKKG-00040T-3G for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Feb 2016 04:41:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaKKB-00040J-9k for bug-gnu-emacs@gnu.org; Mon, 29 Feb 2016 04:41:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaKK7-0003ns-6Q for bug-gnu-emacs@gnu.org; Mon, 29 Feb 2016 04:41:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaKK7-0003nh-2j for bug-gnu-emacs@gnu.org; Mon, 29 Feb 2016 04:41:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aaKK6-0007a0-AO for bug-gnu-emacs@gnu.org; Mon, 29 Feb 2016 04:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: tomas@tuxteam.de Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Feb 2016 09:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1397 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix patch Original-Received: via spool by 1397-submit@debbugs.gnu.org id=B1397.145673882629080 (code B ref 1397); Mon, 29 Feb 2016 09:41:02 +0000 Original-Received: (at 1397) by debbugs.gnu.org; 29 Feb 2016 09:40:26 +0000 Original-Received: from localhost ([127.0.0.1]:51864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaKJV-0007Yw-3D for submit@debbugs.gnu.org; Mon, 29 Feb 2016 04:40:25 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:58948 helo=tomasium.tuxteam.de) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaKJP-0007Yd-L6 for 1397@debbugs.gnu.org; Mon, 29 Feb 2016 04:40:23 -0500 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aaJlr-0003t1-M2; Mon, 29 Feb 2016 10:05:39 +0100 In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114119 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, Feb 28, 2016 at 11:18:05PM -0800, John Wiegley wrote: > >>>>> Lars Ingebrigtsen writes: > > >> The markup model is more or less what we know from XML: spans of text > >> are attached with a "markup class" and a (possibly empty) list of > >> attributes. Those spans may be empty (the "singletons" in XML). > > > I think there's several of these markup modes in Emacs (and in the various > > package repos), so I don't think this is that relevant any more (seven years > > later). Closing. > > Isn't this very similar to what enriched-mode tried to be? It had a more general scope: the idea was to have a "pluggable" storage representation, and the markup itself was "abstract" in the sense that each "marked-up span of text", aka "element" in (rough) XML parlance, could have an arbitrary attribute list associated with it. But this has since been (nearly) superseded with far more powerful ideas, org-mode being one. While coming from another side, it actually covers much of what am tried to do, and a myriad of other things too. And much better at that. I still think there's a place for something along the lines of am (think representing and editing *losslessly* a pre-existing markup [1] while trying to show it to the user in a friendly way), but had I to do it, I'd pull my lessons from there and reboot. The repo still exists, for the curious :-) - - - - - [1] as long as it's hierarchical; I agonized a lot around this limitation (Emacs overlays are not hierarchical, and this opens up a lot of possibilities). Actually I hoped for some discussion on that point. regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbUCeMACgkQBcgs9XrR2kZDYQCeOgj7RWN0RwzrXMpJqAdWPtzc Bd8An1Nrd+U3Gj2nO9vHI7Ojk8Z/7dIk =BNJt -----END PGP SIGNATURE-----