emacs-devel
[Top][All Lists]
Advanced

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

Re: [SPAM] Re: Rectangular regions


From: Stephen J. Turnbull
Subject: Re: [SPAM] Re: Rectangular regions
Date: Sun, 03 Nov 2013 17:41:51 +0900

Jambunathan K writes:

 > Table-cells are rectangles with fancy and visible orders.

No, they aren't.  A "rectangle" in Emacs as currently implemented is
the intersection of the rows between the row position of point and the
row position of mark (both inclusive) and the columns between the
column position of point and the column position of mark (both
inclusive).  In other words, it is (implemented as) two buffer
positions.

Table cells (in table.el, restructured text, and markdown) are defined
rather by their borders, as indicated by actual buffer text (possibly
implicit for most cells, as in the case of restructured text simple
tables).  IIRC, in those modes, there is no "internal" (ie, Lispy)
representation of a table; rather, each table command parses the
buffer.

And that's the design issue here.  There is *no* unity, certainly not
based on the rectangle commands.  One needs to be created before it
makes sense to talk about adding a facility to core.

Steve







reply via email to

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