From: Ian Zimmerman <itz@speakeasy.org>
Subject: Re: strange behavior with multi-buffer Lisp code
Date: 18 Nov 2002 16:38:09 -0800 [thread overview]
Message-ID: <8665uujswe.fsf@kronstadt.homeunix.net> (raw)
In-Reply-To: 5ld6p2zes5.fsf@rum.cs.yale.edu
itz> How does one programatically, peristently, and reliably
itz> (independently of variables such as window configuration) change
itz> the value of point in a non-current buffer?
Stefan> As I said, there is no such thing as THE value of point.
Stefan> Instead, there's a different value for every buffer+window
Stefan> pair (and this is mostly independent from which buffer is
Stefan> displayed in which window. I.e. a buffer that's not displayed
Stefan> anywhere still has a value of point for each and every
Stefan> window).
Stefan> I think what you want in your case is to look for a window
Stefan> displaying this buffer, select that window, do `goto-char'.
Stefan> This way, you'll change the value of point for this
Stefan> buffer+window combination. If the buffer is displayed in
Stefan> several windows, you might want to move `point' in each one of
Stefan> them, or to just choose one and change it only in that one.
OK, that sounds like a plan. I'll try it and report.
--
Ian Zimmerman, Oakland, California, U.S.A. I did not vote for Emperor Bush.
GPG: 433BA087 9C0F 194F 203A 63F7 B1B8 6E5A 8CA3 27DB 433B A087
next prev parent reply other threads:[~2002-11-19 0:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-18 2:40 strange behavior with multi-buffer Lisp code Ian Zimmerman
2002-11-18 16:17 ` Stefan Monnier <foo@acm.com>
2002-11-18 18:31 ` Ian Zimmerman
2002-11-18 22:36 ` Stefan Monnier <foo@acm.com>
2002-11-19 0:38 ` Ian Zimmerman [this message]
2002-11-19 6:04 ` Ian Zimmerman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8665uujswe.fsf@kronstadt.homeunix.net \
--to=itz@speakeasy.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).