help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How come I keep getting nil on point-max?


From: Pascal Bourguignon
Subject: Re: How come I keep getting nil on point-max?
Date: Sat, 28 Apr 2007 22:52:34 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

grocery_stocker <address@hidden> writes:

> On Apr 28, 11:42 am, Ralf Angeli <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]