unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How come I keep getting nil on point-max?
@ 2007-04-28 18:31 grocery_stocker
  2007-04-28 18:42 ` Ralf Angeli
  2007-04-28 19:13 ` Denis Bueno
  0 siblings, 2 replies; 9+ messages in thread
From: grocery_stocker @ 2007-04-28 18:31 UTC (permalink / raw)
  To: help-gnu-emacs

When I go
(point-max)

I get:
672

In the emacs echo area.

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))

I get
Debugger entered--Lisp error: (error "Format specifier doesn't match
argument t$
  message("The value is: %d" "nil")
  (let (start (point-max)) (message "The value is: %d" start))
  eval((let (start (point-max)) (message "The value is: %d" start)))
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
* call-interactively(eval-last-sexp)



Chad

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-04-29  6:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-28 18:31 How come I keep getting nil on point-max? grocery_stocker
2007-04-28 18:42 ` Ralf Angeli
2007-04-28 18:52   ` grocery_stocker
2007-04-28 19:03     ` Ralf Angeli
2007-04-28 20:52     ` Pascal Bourguignon
2007-04-28 19:00   ` grocery_stocker
2007-04-28 19:16     ` Joost Kremers
2007-04-29  6:46     ` Tim X
2007-04-28 19:13 ` Denis Bueno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).