From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.devel Subject: Re: [SPAM] Re: Rectangular regions Date: Sat, 02 Nov 2013 22:49:17 +0530 Message-ID: <87txfulo16.fsf@gmail.com> References: <52707D17.6010801@dancol.org> <8338niefba.fsf@gnu.org> <87a9hq8h7p.fsf@bzg.ath.cx> <29a14514-03d2-42ba-88c1-1bbac26f045a@default> <87iowbs4a9.fsf@uwakimon.sk.tsukuba.ac.jp> <87y557kyoj.fsf@gmail.com> <87bo23rut5.fsf@uwakimon.sk.tsukuba.ac.jp> <5274CE7F.9030906@poczta.onet.pl> <87a9hnrruq.fsf@uwakimon.sk.tsukuba.ac.jp> <87bo22yhrm.fsf@gmail.com> <8738nesps3.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1383412680 32586 80.91.229.3 (2 Nov 2013 17:18:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Nov 2013 17:18:00 +0000 (UTC) Cc: Jarek Czekalski , emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 02 18:18:04 2013 Return-path: Envelope-to: ged-emacs-devel@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 1Vcepk-0000wo-Qe for ged-emacs-devel@m.gmane.org; Sat, 02 Nov 2013 18:18:01 +0100 Original-Received: from localhost ([::1]:42731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vcepk-0003Jl-8i for ged-emacs-devel@m.gmane.org; Sat, 02 Nov 2013 13:18:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vcepc-0003JS-O2 for emacs-devel@gnu.org; Sat, 02 Nov 2013 13:17:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VcepX-0003eU-CL for emacs-devel@gnu.org; Sat, 02 Nov 2013 13:17:52 -0400 Original-Received: from mail-pb0-x22c.google.com ([2607:f8b0:400e:c01::22c]:38561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcepX-0003eJ-53 for emacs-devel@gnu.org; Sat, 02 Nov 2013 13:17:47 -0400 Original-Received: by mail-pb0-f44.google.com with SMTP id rp16so5554131pbb.3 for ; Sat, 02 Nov 2013 10:17:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=mqYcv7u+35aEiFNHdkukjZT23ZABH1bpKcfoyTRIztI=; b=Rb7ccORw34emhhZGtAn8wZmqVb3oad8+JTgI7U5oW5yxxREsizNq8SUoa1tQeHSEiN QxpbV4WrtXLknjhuWAxMg1ubbJKzynVd0yHiVAlkeU4KGHHjdgQLl9p1bT5JQ8OPSMlx S5P1glkaMoE2pagF+4adYiG99Ei3pu0lWJ5PriLCHF+C1so98n+DSFQ5l4TXAwTsE/EA uJqazE3iT60YmJqLbqVKIEblWGYZrIErGS9Tp/CiIYYv/k2Jgg0mIbQ4xNVVG/Npd/L5 9mc3wO8M8AKuqe+2wvzj/sI+5s5DXekEVgh31De8ZXhPu3Q1svfJeKF+V0nSHxv8hJJR 5n6g== X-Received: by 10.66.119.136 with SMTP id ku8mr9046760pab.121.1383412666025; Sat, 02 Nov 2013 10:17:46 -0700 (PDT) Original-Received: from debian-6.05 ([115.242.183.184]) by mx.google.com with ESMTPSA id at4sm17715000pbc.30.2013.11.02.10.17.43 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Sat, 02 Nov 2013 10:17:45 -0700 (PDT) In-Reply-To: <8738nesps3.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Sun, 03 Nov 2013 01:59:40 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c01::22c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164873 Archived-At: "Stephen J. Turnbull" writes: > > Rectangles are but table-cells - either belonging to table.el table or > > Org tables. > > Not the rectangles associated with C-x r 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.