unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* init_iterator takes window
@ 2002-08-23  6:18 Thien-Thi Nguyen
  2002-08-23 17:57 ` Stefan Monnier
  2002-08-25  5:26 ` Richard Stallman
  0 siblings, 2 replies; 7+ messages in thread
From: Thien-Thi Nguyen @ 2002-08-23  6:18 UTC (permalink / raw)
  Cc: emacs-devel

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

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

end of thread, other threads:[~2002-08-25  5:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-23  6:18 init_iterator takes window Thien-Thi Nguyen
2002-08-23 17:57 ` 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

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