From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: How come I keep getting nil on point-max? Date: Sat, 28 Apr 2007 22:52:34 +0200 Organization: Informatimago Message-ID: <874pn0kyr1.fsf@thalassa.lan.informatimago.com> References: <1177785066.923687.99520@l77g2000hsb.googlegroups.com> <463395a2$0$10190$9b4e6d93@newsspool4.arcor-online.net> <1177786363.812321.297430@n76g2000hsh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1177796089 11746 80.91.229.12 (28 Apr 2007 21:34:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 28 Apr 2007 21:34:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 28 23:34:47 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HhuZ4-0004pt-Ud for geh-help-gnu-emacs@m.gmane.org; Sat, 28 Apr 2007 23:34:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hhuf4-0002Cn-Ew for geh-help-gnu-emacs@m.gmane.org; Sat, 28 Apr 2007 17:40:58 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-X-Trace: individual.net +B3IZ8SGOHaGKj65fvjkYwtAnMEk9U3x96EckDDtNdimYCd5rH Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) Cancel-Lock: sha1:AynTyG/A2SCerkicYEbFU7BCzVE= Original-Xref: shelby.stanford.edu gnu.emacs.help:147727 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:43331 Archived-At: grocery_stocker writes: > On Apr 28, 11:42 am, Ralf Angeli wrote: >> * grocery stocker (2007-04-28) writes: >> >> > However, when I do >> > (let (start (point-max))) >> >> > I get: >> > nil >> >> > And when I do >> > (let (start (point-max)) >> > (message "The value is: %d" start)) >> >> (let ((start (point-max))) ... >> > > Okay, I did that, now when I go > (let ((start (point-min)) ((end (point-max))) > (message "The value is: %d %d" start end )) You should learn this: C-h f Whenever you start typing (something ... type C-h f If you have the cursor just after something, then it should be selected and you need to type just RET So type: ( l e t C-h f RET and read! -- __Pascal Bourguignon__ http://www.informatimago.com/ Until real software engineering is developed, the next best practice is to develop with a dynamic system that has extreme late binding in all aspects. The first system to really do this in an important way is Lisp. -- Alan Kay