From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: point-min and 1 Date: Thu, 13 Aug 2009 08:03:27 +0900 Message-ID: <877hx8hby8.fsf@catnip.gol.com> References: <83vdkvjbet.fsf@gnu.org> <4A813774.1030309@gmx.at> <83tz0ejjm8.fsf@gnu.org> <4A82839E.2010409@gmx.at> <83ljlpj5im.fsf@gnu.org> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250118234 13314 80.91.229.12 (12 Aug 2009 23:03:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2009 23:03:54 +0000 (UTC) Cc: martin rudalics , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 13 01:03:47 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 1MbMrC-0006QP-Rp for ged-emacs-devel@m.gmane.org; Thu, 13 Aug 2009 01:03:47 +0200 Original-Received: from localhost ([127.0.0.1]:34372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbMrA-0000o6-A0 for ged-emacs-devel@m.gmane.org; Wed, 12 Aug 2009 19:03:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbMr5-0000nr-Tg for emacs-devel@gnu.org; Wed, 12 Aug 2009 19:03:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbMr1-0000nf-5X for emacs-devel@gnu.org; Wed, 12 Aug 2009 19:03:39 -0400 Original-Received: from [199.232.76.173] (port=47195 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbMr1-0000nc-0j for emacs-devel@gnu.org; Wed, 12 Aug 2009 19:03:35 -0400 Original-Received: from smtp11.dentaku.gol.com ([203.216.5.73]:56268) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MbMqx-0002mJ-FR; Wed, 12 Aug 2009 19:03:32 -0400 Original-Received: from 218.231.177.167.eo.eaccess.ne.jp ([218.231.177.167] helo=catnip.gol.com) by smtp11.dentaku.gol.com with esmtpa (Dentaku) id 1MbMqu-0007hL-9s; Thu, 13 Aug 2009 08:03:28 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 69212DF93; Thu, 13 Aug 2009 08:03:27 +0900 (JST) System-Type: x86_64-unknown-linux-gnu In-Reply-To: <83ljlpj5im.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 12 Aug 2009 20:39:29 +0300") Original-Lines: 17 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com 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:114158 Archived-At: Eli Zaretskii writes: >> IMHO writing `(goto-char 1)' is bad style because it exhibits a low >> level detail of Elisp implementation, namely that it sees buffer >> positions as numbers counted from 1. > > OTOH, replacing a constant with a function call might make a > difference. (point-min) has its own byte-code, so it's essentially the same speed as a constant. -miles -- Any man who is a triangle, has thee right, when in Cartesian Space, to have angles, which when summed, come to know more, nor no less, than nine score degrees, should he so wish. [TEMPLE OV THEE LEMUR]