all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* goto-char and point - are they not friends?
@ 2008-12-25  2:11 Lennart Borgman
  2008-12-25  3:35 ` Lennart Borgman
  0 siblings, 1 reply; 2+ messages in thread
From: Lennart Borgman @ 2008-12-25  2:11 UTC (permalink / raw)
  To: Emacs Devel

I am a bit stumped. I have this in my code

        (goto-char here)
        (message "mumamo-find-chunks.here=%s => point=%s" here (point))

and I get this

       mumamo-find-chunks.here=71 => point=165

Some possible explanations, please?




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

* Re: goto-char and point - are they not friends?
  2008-12-25  2:11 goto-char and point - are they not friends? Lennart Borgman
@ 2008-12-25  3:35 ` Lennart Borgman
  0 siblings, 0 replies; 2+ messages in thread
From: Lennart Borgman @ 2008-12-25  3:35 UTC (permalink / raw)
  To: Emacs Devel

On Thu, Dec 25, 2008 at 3:11 AM, Lennart Borgman
<lennart.borgman@gmail.com> wrote:
> I am a bit stumped. I have this in my code
>
>        (goto-char here)
>        (message "mumamo-find-chunks.here=%s => point=%s" here (point))
>
> and I get this
>
>       mumamo-find-chunks.here=71 => point=165
>
> Some possible explanations, please?

Forgot to call (widen) ...




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

end of thread, other threads:[~2008-12-25  3:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-25  2:11 goto-char and point - are they not friends? Lennart Borgman
2008-12-25  3:35 ` Lennart Borgman

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.