From: Richard Stallman <rms@gnu.org>
To: "David O'Toole" <dto@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Spreadsheet display mode
Date: Fri, 23 Nov 2007 22:13:13 -0500 [thread overview]
Message-ID: <E1IvlSD-0007IZ-OJ@fencepost.gnu.org> (raw)
In-Reply-To: <64bfe3d50711221703n6a2aa803refcae006b68a022a@mail.gmail.com> (dto@gnu.org)
I wrote something called "cell-mode" that seems similar to what you
describe. It holds a grid of cells whose "labels" are
application-defined strings with text properties, and draws them to a
buffer.
In your design, the buffer holds the text as it is displayed,
and the real underlying text is somewhere else.
In the design I have in mind, the real, underlying text is in the
buffer, so editing operates on the underlying text. The columnar
display form would NOT be in the buffer. It would be generated
inside the display code under the control of this new feature.
Maybe we could combine the two ideas using a hidden buffer. Your code
could operate on the user-visible buffer, generating text in another
buffer, and redisplay would use part of that other buffer in place of
parts of the user-visible buffer.
With this design, the C code would be more general, and the columnar
part of it would be entirely in Lisp.
In difference to your current design, the data that the user edits
would be in the buffer. Ordinary editing commands would mostly still
work.
What do you think?
next prev parent reply other threads:[~2007-11-24 3:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-23 1:03 Spreadsheet display mode David O'Toole
2007-11-23 8:18 ` Bastien
2007-11-24 3:12 ` Richard Stallman
2007-11-23 12:03 ` Johan Bockgård
2007-11-23 13:35 ` Johan Bockgård
2007-11-24 15:20 ` Richard Stallman
2007-11-23 14:00 ` David O'Toole
2007-11-24 3:13 ` Richard Stallman [this message]
2007-11-24 11:49 ` David O'Toole
2007-11-24 22:05 ` Richard Stallman
2007-11-25 5:31 ` David O'Toole
-- strict thread matches above, loose matches on Subject: below --
2007-11-22 16:23 Richard Stallman
2007-11-22 19:19 ` Glenn Morris
2007-11-23 4:35 ` Richard Stallman
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=E1IvlSD-0007IZ-OJ@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=dto@gnu.org \
--cc=emacs-devel@gnu.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).