From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Corneli Newsgroups: gmane.emacs.help Subject: Re: Is Emacs becoming Word? Date: Thu, 31 Mar 2005 15:26:03 -0600 Message-ID: References: <20050331205208.GA9378@dionysus.ucolick.org> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1112304514 1626 80.91.229.2 (31 Mar 2005 21:28:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 31 Mar 2005 21:28:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 31 23:28:32 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DH7D4-0006E6-3o for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Mar 2005 23:28:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DH7Tp-0005Jn-Mj for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Mar 2005 16:45:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DH7TF-0005Ga-T2 for help-gnu-emacs@gnu.org; Thu, 31 Mar 2005 16:44:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DH7TA-0005DH-D5 for help-gnu-emacs@gnu.org; Thu, 31 Mar 2005 16:44:53 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DH7TA-0005Ck-2i for help-gnu-emacs@gnu.org; Thu, 31 Mar 2005 16:44:52 -0500 Original-Received: from [146.6.139.124] (helo=dell3.ma.utexas.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DH7Ay-00027D-Ln for help-gnu-emacs@gnu.org; Thu, 31 Mar 2005 16:26:04 -0500 Original-Received: from lab45.ma.utexas.edu (mail@lab45.ma.utexas.edu [128.83.133.159]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id j2VLQ3C29579; Thu, 31 Mar 2005 15:26:03 -0600 Original-Received: from jcorneli by lab45.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1DH7Ax-0000m8-00; Thu, 31 Mar 2005 15:26:03 -0600 Original-To: help-gnu-emacs@gnu.org In-reply-to: <20050331205208.GA9378@dionysus.ucolick.org> (message from Greg Novak on Thu, 31 Mar 2005 12:52:08 -0800) 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 Xref: news.gmane.org gmane.emacs.help:25323 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25323 Neat proof of concept code. I think the best thing to do would be to post it to gnu-emacs-sources. A couple typos I noticed, in `write-out-dollar' you should have: (insert "$") and a few docstrings need periods at the end. Another thing you might consider would be to make it so that the `just-happened' function had a constant length (say, the last 50 events or whatever, this number could be customizable). And it should print out the name of the function that is being described. Finally, if you could find a way implement the whole system using advice to `write-out-star' & `write-out-dollar' rather than calling `this-just-happened' from within those functions, I think the system would have a cleaner feel to it, but that's just a personal opinion.