From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric M. Ludlam" Newsgroups: gmane.emacs.devel,gmane.emacs.xemacs.beta Subject: Re: simplifying beginning-of-defun Date: Mon, 28 Sep 2009 07:20:13 -0400 Message-ID: <1254136813.6168.160.camel@projectile.siege-engine.com> References: <4ABE54F9.7090107@online.de> <4ABF3DCB.3060602@online.de> <1254050248.6168.30.camel@projectile.siege-engine.com> <1254082041.6168.65.camel@projectile.siege-engine.com> <1254103488.6168.152.camel@projectile.siege-engine.com> Reply-To: eric@siege-engine.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1254136848 21354 80.91.229.12 (28 Sep 2009 11:20:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Sep 2009 11:20:48 +0000 (UTC) Cc: emacs-devel@gnu.org, Andreas Roehler , XEmacs-Beta@xemacs.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 28 13:20:41 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MsEH7-00049s-Q4 for ged-emacs-devel@m.gmane.org; Mon, 28 Sep 2009 13:20:14 +0200 Original-Received: from localhost ([127.0.0.1]:46537 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MsEH6-0003E0-Mn for ged-emacs-devel@m.gmane.org; Mon, 28 Sep 2009 07:20:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MsEH0-0003Dn-Ud for emacs-devel@gnu.org; Mon, 28 Sep 2009 07:20:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MsEGz-0003DX-4M for emacs-devel@gnu.org; Mon, 28 Sep 2009 07:20:05 -0400 Original-Received: from [199.232.76.173] (port=42464 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MsEGz-0003DU-0a for emacs-devel@gnu.org; Mon, 28 Sep 2009 07:20:05 -0400 Original-Received: from static-71-184-83-10.bstnma.fios.verizon.net ([71.184.83.10]:47776 helo=projectile.siege-engine.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MsEGy-0006qZ-MI for emacs-devel@gnu.org; Mon, 28 Sep 2009 07:20:04 -0400 Original-Received: from projectile.siege-engine.com (localhost [127.0.0.1]) by projectile.siege-engine.com (8.14.3/8.14.3/Debian-6) with ESMTP id n8SBKETP028459; Mon, 28 Sep 2009 07:20:14 -0400 Original-Received: (from zappo@localhost) by projectile.siege-engine.com (8.14.3/8.14.3/Submit) id n8SBKDXh028458; Mon, 28 Sep 2009 07:20:13 -0400 X-Authentication-Warning: projectile.siege-engine.com: zappo set sender to eric@siege-engine.com using -f In-Reply-To: X-Mailer: Evolution 2.26.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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: news.gmane.org gmane.emacs.devel:115717 gmane.emacs.xemacs.beta:30598 Archived-At: On Mon, 2009-09-28 at 00:06 -0400, Stefan Monnier wrote: > > > Of course, the need here would be pretty basic stuff too if it was > > robust to the actual landing place being different for different > > situations, sort of the way narrow-to-defun might not care exactly where > > it lands, so long as it goes somewhere. > > Very much so, indeed. > I'd say that pretty much all calls to beginning-of-defun(-raw) should > follow this principle. I think this sums up our difference in opinion. If this is true, then none of my previous arguments make sense. If this is not the case, then the code that does depend on very specific behaviors from beginning-of-defun will break if CEDET were to change them. I'll follow whichever convention you like. Eric