unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Thien-Thi Nguyen <ttn@giblet.glug.org>
Cc: emacs-devel@gnu.org
Subject: init_iterator takes window
Date: Thu, 22 Aug 2002 23:18:03 -0700	[thread overview]
Message-ID: <E17i7li-0007RM-00@giblet> (raw)

rms,

per your suggestion, i have looked into using an iterator as a basis for
a current-column computation in the presence of variable-width fonts.  i
see that init_iterator takes a `struct window *' as its second arg and
from xdisp.c:1519 that this cannot be NULL.

is it possible for there to be two different windows open on the same
text with different display behaviors?  if so, which window to choose?
even if not, i'm confused about how to choose a window to to pass to
init_iterator; might there be a legitimate call to current-column where
there is no window available?

any clues appreciated.

thi

             reply	other threads:[~2002-08-23  6:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-23  6:18 Thien-Thi Nguyen [this message]
2002-08-23 17:57 ` init_iterator takes window Stefan Monnier
2002-08-23 18:57   ` Thien-Thi Nguyen
2002-08-23 19:12     ` Stefan Monnier
2002-08-23 19:29       ` Thien-Thi Nguyen
2002-08-25  5:26     ` Richard Stallman
2002-08-25  5:26 ` Richard Stallman

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=E17i7li-0007RM-00@giblet \
    --to=ttn@giblet.glug.org \
    --cc=emacs-devel@gnu.org \
    --cc=ttn@glug.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.
Code repositories for project(s) associated with this public inbox

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

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