all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tomas@tuxteam.de
To: John Wiegley <johnw@gnu.org>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,
	tomas@tuxteam.de, 1397@debbugs.gnu.org
Subject: bug#1397: RFC: A "markup mode"
Date: Mon, 29 Feb 2016 10:05:39 +0100	[thread overview]
Message-ID: <20160229090539.GD14063@tuxteam.de> (raw)
In-Reply-To: <m2vb583ryq.fsf@newartisans.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Feb 28, 2016 at 11:18:05PM -0800, John Wiegley wrote:
> >>>>> Lars Ingebrigtsen <larsi@gnus.org> 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-----





  reply	other threads:[~2016-02-29  9:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gkk5ay8509.fsf@fencepost.gnu.org>
2016-02-29  4:26 ` bug#1397: RFC: A "markup mode" Lars Ingebrigtsen
2016-02-29  7:18   ` John Wiegley
2016-02-29  9:05     ` tomas [this message]
2016-02-29 13:34       ` Richard Stallman
2016-02-29 13:26         ` tomas
2016-02-29  8:55   ` tomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160229090539.GD14063@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=1397@debbugs.gnu.org \
    --cc=johnw@gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.