From: Thien-Thi Nguyen <ttn@glug.org>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: init_iterator takes window
Date: 23 Aug 2002 14:57:42 -0400 [thread overview]
Message-ID: <jky9axbdy1.fsf@glug.org> (raw)
In-Reply-To: "Stefan Monnier"'s message of "Fri, 23 Aug 2002 13:57:25 -0400"
appearance can also change between two windows even
in the same frame.
so there is a semantic gap between current `current-column' and one that
would take into account variable-width fonts, implying `current-column'
callers need to bifurcate their usage to call some "window-current-column"
if they care about variable-width fonts, and `current-column' otherwise.
alternatively, we can add an "&optional window" arg to `current-column',
which if a window would mean take variable-width fonts into account (using
that window), if t would mean look for some default window and use that,
and otherwise fall back to using the existing computation methods, w/o
taking any font info into account.
depending on how we support `(current-column t)', two callers may get
different return values. it might be a good idea to delay this support
until after we vet the callers, to see what idioms are most useful to
abstract.
to rms: could you define precisely what is meant by "upward compatibility"
wrt `current-column' *usage*? to fulfill that goal i need to understand
the concept fully, including from caller perspective.
thi
next prev parent reply other threads:[~2002-08-23 18:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jky9axbdy1.fsf@glug.org \
--to=ttn@glug.org \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.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 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.