all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.