From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: point-min and 1 Date: Wed, 12 Aug 2009 20:39:29 +0300 Message-ID: <83ljlpj5im.fsf@gnu.org> References: <83vdkvjbet.fsf@gnu.org> <4A813774.1030309@gmx.at> <83tz0ejjm8.fsf@gnu.org> <4A82839E.2010409@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1250099992 20872 80.91.229.12 (12 Aug 2009 17:59:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2009 17:59:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 12 19:59:44 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 1MbI6u-0002nv-63 for ged-emacs-devel@m.gmane.org; Wed, 12 Aug 2009 19:59:40 +0200 Original-Received: from localhost ([127.0.0.1]:47277 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbI6r-0002pE-VT for ged-emacs-devel@m.gmane.org; Wed, 12 Aug 2009 13:59:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbHnN-0002GR-Lk for emacs-devel@gnu.org; Wed, 12 Aug 2009 13:39:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbHnM-0002Fy-Sf for emacs-devel@gnu.org; Wed, 12 Aug 2009 13:39:29 -0400 Original-Received: from [199.232.76.173] (port=41297 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbHnM-0002Ft-H8 for emacs-devel@gnu.org; Wed, 12 Aug 2009 13:39:28 -0400 Original-Received: from mtaout3.012.net.il ([84.95.2.7]:56323) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbHnL-0007tf-Va for emacs-devel@gnu.org; Wed, 12 Aug 2009 13:39:28 -0400 Original-Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KO900900YD76200@i_mtaout3.012.net.il> for emacs-devel@gnu.org; Wed, 12 Aug 2009 20:39:26 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.224.142]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KO900BW8YDQ2GB0@i_mtaout3.012.net.il>; Wed, 12 Aug 2009 20:39:26 +0300 (IDT) In-reply-to: <4A82839E.2010409@gmx.at> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:114150 Archived-At: > Date: Wed, 12 Aug 2009 10:55:58 +0200 > From: martin rudalics > CC: monnier@iro.umontreal.ca, emacs-devel@gnu.org > > 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. ELisp code is full of such exposure, and not only in buffer positioning. Trying to change this is tantamount to fighting Quixotic wars, IMO. OTOH, replacing a constant with a function call might make a difference.