From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.devel Subject: Re: progress reporting again Date: Wed, 17 Nov 2004 22:25:31 +0200 Message-ID: <200411172225.31806.pogonyshev@gmx.net> References: <200411151813.44859.pogonyshev@gmx.net> <200411171539.21963.pogonyshev@gmx.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1100723107 4162 80.91.229.6 (17 Nov 2004 20:25:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Nov 2004 20:25:07 +0000 (UTC) Cc: Harald Maier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 17 21:24:57 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CUWML-0004aT-00 for ; Wed, 17 Nov 2004 21:24:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CUWV9-0006pC-5d for ged-emacs-devel@m.gmane.org; Wed, 17 Nov 2004 15:34:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CUWV1-0006ok-R8 for emacs-devel@gnu.org; Wed, 17 Nov 2004 15:33:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CUWV0-0006o9-P1 for emacs-devel@gnu.org; Wed, 17 Nov 2004 15:33:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CUWV0-0006nm-7K for emacs-devel@gnu.org; Wed, 17 Nov 2004 15:33:54 -0500 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1CUWLI-0001hD-GP for emacs-devel@gnu.org; Wed, 17 Nov 2004 15:23:52 -0500 Original-Received: (qmail 31380 invoked by uid 65534); 17 Nov 2004 20:23:50 -0000 Original-Received: from unknown (EHLO localhost.localdomain) (195.50.12.115) by mail.gmx.net (mp029) with SMTP; 17 Nov 2004 21:23:50 +0100 X-Authenticated: #16844820 Original-To: Stefan Monnier User-Agent: KMail/1.4.3 In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29986 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29986 Stefan Monnier wrote: > >> > Can anyone who uses SES mode check if the following patch works > >> > fine? I think it is generally a good idea to unify progress > >> > reporting as much as possible in Emacs. > >> > > >> > I didn't touch `ses-time-check' function, since progress messages > >> > used with it are non-standard. > >> > >> Unfortunately, I got the following error: > >> > >> Debugger entered--Lisp error: (void-function row) > >> row(3) > >> ses-setup() > >> ses-mode() > >> ... > > Probably becuse you've compiled ses.el with an Emacs that uses an old > subr.el. You have to follow the steps: > - recompile subr.el. > - redump your Emacs. > - recompile ses.el. In other words, this is not a problem with the patch, right? Any objections to installing it then? > > This is very strange, because I don't get this neither with > > your file, nor with a locally created junk/test file. Can > > you please try to understand what's wrong? Since it doesn't > > complain about `dotimes-with-progress-reporter' being unknown, > > the macro is evaluated. But it fails to expand it... > > No, it's not expanded. Evaluation of the arguments takes place before = the > funcall, so you first get the `row' error before even getting a chance = to > complain that the "function" dotimes-with-progress-reporter is a macro. Interesting. I didn't know this. My knowledge of Elisp is mostly based on practice, so I sometimes miss details. Paul