From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: point-min and 1 Date: Thu, 13 Aug 2009 17:28:34 -0400 Message-ID: <873a7vcsjh.fsf@stupidchicken.com> References: <83vdkvjbet.fsf@gnu.org> <4A813774.1030309@gmx.at> <83tz0ejjm8.fsf@gnu.org> <4A82839E.2010409@gmx.at> <83ljlpj5im.fsf@gnu.org> <4A83E27B.1030802@gmx.at> <4A84568F.7040706@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250198944 25434 80.91.229.12 (13 Aug 2009 21:29:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Aug 2009 21:29:04 +0000 (UTC) Cc: Eli Zaretskii , Stefan Monnier , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 13 23:28:56 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 1Mbhqv-0000CP-A7 for ged-emacs-devel@m.gmane.org; Thu, 13 Aug 2009 23:28:53 +0200 Original-Received: from localhost ([127.0.0.1]:43271 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mbhqu-00019V-ID for ged-emacs-devel@m.gmane.org; Thu, 13 Aug 2009 17:28:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mbhqp-00019G-R8 for emacs-devel@gnu.org; Thu, 13 Aug 2009 17:28:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mbhqk-000194-Cr for emacs-devel@gnu.org; Thu, 13 Aug 2009 17:28:46 -0400 Original-Received: from [199.232.76.173] (port=51544 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mbhqk-000191-6C for emacs-devel@gnu.org; Thu, 13 Aug 2009 17:28:42 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:1628) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mbhqh-0000EJ-8k; Thu, 13 Aug 2009 17:28:39 -0400 Original-Received: from pantheon-po41.its.yale.edu ([130.132.50.98]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mbhqf-0002HR-To; Thu, 13 Aug 2009 17:28:38 -0400 Original-Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po41.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n7DLSYwc019851 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 13 Aug 2009 17:28:34 -0400 Original-Received: by furry (Postfix, from userid 1000) id D656CC070; Thu, 13 Aug 2009 17:28:34 -0400 (EDT) In-Reply-To: <4A84568F.7040706@gmx.at> (martin rudalics's message of "Thu, 13 Aug 2009 20:08:15 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:114198 Archived-At: martin rudalics writes: >>> We have some 1000 occurrences of `(goto-char (point-min))' in current >>> Emacs. If this really made a difference, we should replace them. >> >> I'd rather change the byte-compiler to change it for us if we really >> find it to be necessary. > > I'd opt for two new primitives `goto-point-min' and `goto-point-max'. I seriously doubt that this forms any kind of performance bottleneck, but if anyone would like to try and measure it, please go ahead.