unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: "Stephen J. Turnbull" <stephen@xemacs.org>
Cc: Jarek Czekalski <jarekczek@poczta.onet.pl>, emacs-devel@gnu.org
Subject: Re: [SPAM] Re: Rectangular regions
Date: Sat, 02 Nov 2013 22:49:17 +0530	[thread overview]
Message-ID: <87txfulo16.fsf@gmail.com> (raw)
In-Reply-To: <8738nesps3.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Sun, 03 Nov 2013 01:59:40 +0900")

"Stephen J. Turnbull" <stephen@xemacs.org> writes:

>  > Rectangles are but table-cells - either belonging to table.el table or
>  > Org tables.
>
> Not the rectangles associated with C-x r <key> commands -- they're
> defined by arbitrary row and column positions in the buffer between
> point and mark, quite a different notion.

Table-cells are rectangles with fancy and visible orders.  A useful
question to ask in the context of current discussion is this:

I want to clear a table-cell.  Will the rectangle command consult the
oracle, figure out the region and clear it.

I have a rectangular region.  Can I draw a border around it so that I
get a table cell or an artist's text box.

Can I choose a select a column - a stack of rectangles - presumably to
shift it right or left (but not to cut)

> You'll need to get people to agree on a specific table format before
> that will make sense.  Eg, is org-mode table compatible with table.el
> table (in either direction)?  How about REST or markdown tables, etc?

Emacs will be a mother supporting all the children and unlikely that it
will side with or prefer one markup over the other.

To give an example, in iimage mode I can configure a custom variable
which says how "in this buffer inline images that match this pattern".
When I insert such a pattern in the buffer and turn on iimage mode, I
get an image rich document.

In similar vein, rectangular command can provide per-mode and per-buffer
borders so that I can table-cell-ize a rectangle.

As an aside, I have had much success with table.el tables where I set up
a grid of say 25x25 cells.  Then "erase" the top, left, right and left
borders one at a time - i.e., merging adjacent cells - so that I get a
box diagram out of it.

This is an easier way to "align" the rectangles to a "baseline" rather
than having two independently drawn rectangles and having their borders
aligned along a vertical or an horizontal axis.




  reply	other threads:[~2013-11-02 17:19 UTC|newest]

Thread overview: 92+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-30  1:59 Rectangular regions Stefan Monnier
2013-10-30  2:15 ` Dmitry Gutov
2013-10-30  2:59   ` Stefan Monnier
2013-10-30  3:22 ` Leo Liu
2013-10-30  3:29   ` Daniel Colascione
2013-10-30 18:09     ` Stefan Monnier
2013-10-30 18:24       ` Bastien
2013-10-30 19:20       ` Eli Zaretskii
2013-10-30 23:35         ` Bastien
2013-10-31 12:05           ` Jose E. Marchesi
2013-11-05 18:57             ` Stefan Monnier
2013-11-05 19:31               ` Drew Adams
2013-10-31 17:17           ` Stefan Monnier
2013-10-31 18:11             ` Jambunathan K
2013-10-31 18:36             ` Jay Finger
2013-10-31 18:54               ` Eli Zaretskii
2013-10-31 19:28                 ` Daniel Colascione
2013-10-31 19:38               ` Daniel Colascione
2013-10-31 19:44                 ` Eli Zaretskii
2013-11-01  1:50                 ` Stefan Monnier
2013-11-01  8:01                   ` Eli Zaretskii
2013-10-31 22:50               ` Xue Fuqiao
2013-11-01 17:12                 ` Jay Finger
2013-11-01 18:25                   ` Stefan Monnier
2013-11-01 19:05                     ` Drew Adams
2013-11-01 19:25                       ` John Yates
2013-11-05 22:44                     ` Davis Herring
2013-11-01  1:40               ` Stefan Monnier
2013-11-01  2:13                 ` Leo Liu
2013-11-01  3:06                   ` Josh
2013-11-01  4:42                     ` Leo Liu
2013-11-01  5:55                       ` Josh
2013-11-01  8:33                         ` Jambunathan K
2013-11-02 10:25                           ` Xue Fuqiao
2013-11-01 15:04                       ` Drew Adams
2013-11-02  6:31                         ` Stephen J. Turnbull
2013-11-02  8:14                           ` Jambunathan K
2013-11-02  9:56                             ` Stephen J. Turnbull
2013-11-02 10:05                               ` [SPAM] " Jarek Czekalski
2013-11-02 11:00                                 ` Stephen J. Turnbull
2013-11-02 14:56                                   ` Jambunathan K
2013-11-02 16:59                                     ` Stephen J. Turnbull
2013-11-02 17:19                                       ` Jambunathan K [this message]
2013-11-03  8:41                                         ` Stephen J. Turnbull
2013-11-02 15:30                             ` Drew Adams
2013-11-02 17:03                               ` Jambunathan K
2013-11-03  0:59                           ` Stefan Monnier
2013-11-03  0:36                             ` Jambunathan K
2013-11-01 15:04                     ` Drew Adams
2013-11-01  8:04                   ` Eli Zaretskii
2013-11-01 15:04                   ` Drew Adams
2013-11-01  7:57                 ` Eli Zaretskii
2013-11-01 12:35                   ` Stefan Monnier
2013-11-01 19:26                     ` Eli Zaretskii
2013-11-01 19:55                       ` Stefan Monnier
2013-11-01 19:59                         ` Eli Zaretskii
2013-11-01 20:02                           ` Daniel Colascione
2013-11-01 20:20                             ` Eli Zaretskii
2013-11-01 23:35                               ` Josh
2013-11-02  7:00                                 ` Eli Zaretskii
2013-11-02 18:20                                   ` Josh
2013-11-02 19:35                                     ` Eli Zaretskii
2013-11-01 16:57                 ` Jay Finger
2013-10-31 21:03             ` Josh
2013-11-01  2:01               ` Stefan Monnier
2013-11-05 19:47             ` Mathias Dahl
2013-10-30 20:31       ` John Yates
2013-10-31 20:23     ` Richard Stallman
2013-11-01  7:40       ` Eli Zaretskii
2013-10-30  4:55   ` Stephen J. Turnbull
2013-10-31 13:39   ` Xue Fuqiao
2013-10-30  3:52 ` Eli Zaretskii
2013-10-30  4:22   ` Stefan Monnier
2013-10-31 20:23   ` Richard Stallman
2013-11-01  1:59     ` Stefan Monnier
2013-10-30  3:55 ` Eli Zaretskii
2013-10-30 10:36 ` Bastien
2013-10-30 10:39   ` Bastien
2013-10-30 10:49   ` Andreas Schwab
2013-10-31 20:22     ` Richard Stallman
2013-11-01  0:54       ` Leo Liu
2013-10-30 13:19 ` Jambunathan K
2013-10-30 14:53   ` Josh
2013-10-30 16:56   ` Jambunathan K
2013-10-30 18:07 ` Jambunathan K
2013-10-31 20:22 ` Richard Stallman
2013-11-01  9:25 ` Yuri Khan
2013-11-01 11:20   ` Eli Zaretskii
2013-11-01 12:57     ` Stefan Monnier
2013-11-01 14:31       ` Eli Zaretskii
2013-11-01 15:08       ` Yuri Khan
2013-11-02 17:36 ` Jambunathan K

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87txfulo16.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=jarekczek@poczta.onet.pl \
    --cc=stephen@xemacs.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).