unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>
Cc: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>,
	rms@gnu.org, emacs-devel@gnu.org
Subject: Re: init_iterator takes window
Date: Fri, 23 Aug 2002 15:12:37 -0400	[thread overview]
Message-ID: <200208231912.g7NJCbo02616@rum.cs.yale.edu> (raw)
In-Reply-To: jky9axbdy1.fsf@glug.org

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

The problem is not specific to variable-width fonts.
Even in Emacs-20 the `current-column' depends on the window
because of window-specific overlays that might make some part
of the buffer invisible in one window but not in another.

And the problem is not only with `current-column' but also
with how we use the result.  If we then use it to align to
pieces of text, they might be aligned in one window but not
in another.


	Stefan

PS: I don't see why `current-column' needs an extra `window' argument.
    What's wrong with using the currently selected window ?

  reply	other threads:[~2002-08-23 19:12 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
2002-08-23 19:12     ` Stefan Monnier [this message]
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=200208231912.g7NJCbo02616@rum.cs.yale.edu \
    --to=monnier+gnu/emacs@rum.cs.yale.edu \
    --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 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).