From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Errors in interactive commands Date: Wed, 03 Aug 2011 18:09:56 +0900 Message-ID: <8739hij1y3.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87livbbta9.fsf@gmail.com> <4E38E70B.7030802@online.de> <87aabrhs2o.fsf@uwakimon.sk.tsukuba.ac.jp> <4E38FCC4.1030001@online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1312362600 19145 80.91.229.12 (3 Aug 2011 09:10:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 3 Aug 2011 09:10:00 +0000 (UTC) Cc: emacs-devel@gnu.org, Lennart Borgman , Stefan Monnier , Antoine Levitt To: Andreas =?iso-8859-1?Q?R=F6hler?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 03 11:09:56 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QoXSc-0006xc-Sw for ged-emacs-devel@m.gmane.org; Wed, 03 Aug 2011 11:09:55 +0200 Original-Received: from localhost ([::1]:36874 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoXSc-0007Pe-4G for ged-emacs-devel@m.gmane.org; Wed, 03 Aug 2011 05:09:54 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:37205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoXSZ-0007PM-MX for emacs-devel@gnu.org; Wed, 03 Aug 2011 05:09:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QoXSY-0001Gk-MW for emacs-devel@gnu.org; Wed, 03 Aug 2011 05:09:51 -0400 Original-Received: from mgmt1.sk.tsukuba.ac.jp ([130.158.97.223]:45236) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoXSY-0001Gd-Aa for emacs-devel@gnu.org; Wed, 03 Aug 2011 05:09:50 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt1.sk.tsukuba.ac.jp (Postfix) with ESMTP id D1A813FA0746; Wed, 3 Aug 2011 18:09:47 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 1F1161A26F8; Wed, 3 Aug 2011 18:09:56 +0900 (JST) In-Reply-To: <4E38FCC4.1030001@online.de> X-Mailer: VM 8.1.93a under 21.5 (beta31) "ginger" cd1f8c4e81cd XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.158.97.223 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:142796 Archived-At: Andreas R=F6hler writes: > Useful return values of "forward-" is important for a wide range of=20 > things, not just to serve several specific cases. Unfortunately, when there are "several specific cases", they often have different requirements. Your term "useful" is undefined, and you need to define it and show that there is a unified definition powerful enough to make it worthwhile to introduce a backward-incompatible change. One way to present such definitions is to describe use cases. Mine is an important one: "iterating over a presumed-to-be array-structured buffer, executing a destructive action on each element of the structure." On the other hand, your pseudo-code is way too "pseudo" to be useful to me. Please *define* the functions that check and update "delete-second-state". I think you will find it is rather hard to do as efficiently as my code, without duplicating my code (perhaps implicitly).