emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs as word processor


From: Jambunathan K
Subject: Re: Emacs as word processor
Date: Tue, 26 Nov 2013 00:22:29 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

I am surprised that the discussion has more or less focussed on the
"character styles" part but has more or less ignored lists and tables.

John Yates <address@hidden> writes:

> structural elements

Please take a look at

    http://orgmode.org/worg/dev/org-syntax.html
    http://orgmode.org/worg/dev/org-export-reference.html

The parser is in org-element.el.  The "affiliated keywords" are a
primitive form of specifying up some attributes - HTML or LaTeX specific
- of an element (say a paragraph).

There are plenty of examples of real life Org files in
    
   http://orgmode.org/w/?p=worg.git;a=tree

It is instructive to run

   M-x pp-eval-expression (org-element-parse-buffer)

in an Org file to see how the text file is translated in to Lisp.

----------------------------------------------------------------

Ideally if a wordprocessing-mode buffer is DE-RICHIFIED one should could
end up with an Org-mode buffer.  This would be a good goal to have.

i.e., For all practical purposes, the new mode should be a "RICHIFIED"
Org-mode buffer.  The richness would come from attaching
display/rendering properties like margin, padding etc to an Org-mode
buffer.

Before finalizing the internal representation of document please pay
close attention to Org's parser infrastructure and representation and
see how it could be AUGMENTED to provide richification.

----------------------------------------------------------------

Real-life documents are a COLLECTION of files.  So, the default format
will be a zip file the usual bells and whistles like manifest etc.

----------------------------------------------------------------

Table editing:

We would need the ability to edit multiple paragraphs within a table
cell.  This means M-q working as expected, table rows expanding down
below if required etc. all with good responsiveness from display.

----------------------------------------------------------------

Markup format:

As for markup format, I see that there is not much demand for docbook.
(The org-docbook.el exporter which was part of earlier releases has been
removed and not even a single soul - this includes the original author -
has cried foul.)

The primary contenders are LaTeX, HTML (may be Epub) or OpenDocument
format.

There could be a native format which can be "read" in as a sexp.  (Think
stringified buffer with text properties)

----------------------------------------------------------------

Scripting?

Typically a document has a scripting language - HTML has Javascript,
OpenOffice files have the Basic Macros.  Emacs lisp can be considered as
a "scripting language" for Emacs generated files.   I am not sure what
this comment amounts to, just recording it ...

----------------------------------------------------------------

In-Document Change tracking

There is a lot of demand for in-document markup that highlights changes.
This permits colloboration.  Even if colloboration between two users
editing the SAME document but with different TOOLS (say Emacs,
LibreOffice, MS Word) could be an ideal to aspire to, ability to do
change tracking between two Emacs users should still be permissible.

This IMO is not a desirable but an essential feature of the proposed
wordprocessing mode.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]