From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: "`read-from-buffer'" functionality Date: Sun, 06 Mar 2005 13:08:59 +0100 Organization: sometimes Message-ID: <7er7it2cys.fsf@ada2.unipv.it> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110110793 29613 80.91.229.2 (6 Mar 2005 12:06:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 6 Mar 2005 12:06:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 06 13:06:33 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D7uWd-0008W8-BP for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Mar 2005 13:06:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D7uqB-0007HB-UH for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Mar 2005 07:26:36 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.dfci.harvard.edu!news.ccs.neu.edu!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: ada2.unipv.it Original-X-Trace: quimby.gnus.org 1110110940 30968 193.204.44.145 (6 Mar 2005 12:09:00 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sun, 6 Mar 2005 12:09:00 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:oPbKGZKTJYSFSzl8WUGbwf/aiGw= Original-Xref: shelby.stanford.edu gnu.emacs.help:129008 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:24554 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24554 Joe Corneli writes: > some > tips. look at `vc-toggle-read-only' flow for an example. the key thing to keep in mind is to avoid completely "modal" interaction; you should not prohibit changing buffers and returning later to complete the input. here is an application that doesn't follow this advice: http://www.glug.org/people/ttn/software/etrack/ (see file etrack.el from the tarball.) the result is that it is not easily integrable w/ other packages, and an errant C-g is enough to confuse the program. another input-gathering paradigm is manifested by: http://www.glug.org/people/ttn/software/edb/ wherein you find relatively clean separation between elisp objects, print representation, and storage (on disk) representation, as well as a forms-oriented input mechanism. (see also forms.el, which EDB will probably move towards using internally in the future.) thi