From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#1397: RFC: A "markup mode" Date: Mon, 29 Feb 2016 15:26:03 +1100 Message-ID: <874mcsywf8.fsf@gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456720041 927 80.91.229.3 (29 Feb 2016 04:27:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Feb 2016 04:27:21 +0000 (UTC) Cc: 1397@debbugs.gnu.org To: tomas@tuxteam.de Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 29 05:27:10 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 1aaFQL-000760-RU for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Feb 2016 05:27:09 +0100 Original-Received: from localhost ([::1]:33985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaFQL-0005pY-5p for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Feb 2016 23:27:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaFQH-0005nU-JN for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2016 23:27:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaFQE-0007sn-6r for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2016 23:27:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaFQE-0007sj-31 for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2016 23:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aaFQD-0007dB-T1 for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2016 23:27:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Feb 2016 04:27:01 +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: patch Original-Received: via spool by 1397-submit@debbugs.gnu.org id=B1397.145671999429284 (code B ref 1397); Mon, 29 Feb 2016 04:27:01 +0000 Original-Received: (at 1397) by debbugs.gnu.org; 29 Feb 2016 04:26:34 +0000 Original-Received: from localhost ([127.0.0.1]:51296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaFPm-0007cG-Dc for submit@debbugs.gnu.org; Sun, 28 Feb 2016 23:26:34 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:46998) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaFPk-0007c8-NZ for 1397@debbugs.gnu.org; Sun, 28 Feb 2016 23:26:33 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aaFPM-0001ip-Ow; Mon, 29 Feb 2016 05:26:09 +0100 In-Reply-To: (tomas's message of "Sun, 13 Jul 2008 23:04:49 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aaFPM-0001ip-Ow MailScanner-NULL-Check: 1457324769.81071@ARAhIbDPjph/ZN8Ihl461Q 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:114084 Archived-At: tomas@tuxteam.de writes: > Please find the current incarnation here: > > git http://tuxteam.de/~tomas/Repositories/am > > Some remarks: > > Design: > > The idea is to support (nested) mark-ups like XML or Wiki, rendering > them in a more-or-less WYSIWYG fashion (as far as Emacs supports that). > The mapping between the markup elements and rendering whithin Emacs is > done via a "style" file (which is at the moment just an elisp file > containing faces and assorted fix-ups for special cases. Several > examples of style files are contained in the above code sample. > > 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. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no