GNU bug report logs - #12419
Mouse click changes layout

Previous Next

Package: emacs;

Reported by: occitan <at> esperanto.org

Date: Tue, 11 Sep 2012 22:06:01 UTC

Severity: normal

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: occitan <at> esperanto.org, 12419 <at> debbugs.gnu.org
Subject: bug#12419: Mouse click changes layout
Date: Wed, 26 Sep 2012 15:44:43 +0200
>> In this case the TTY equivalent would display (6, 5) lines.
>
> Yes.  Is that a problem?

Not principally.  At least nothing we should care about initially.

> pos-visible-in-window-p can still tell
> whether the resize reached its goal of exposing the text you want, no?

I didn't care about `pos-visible-in-window-p' in this example.

> I think the loop isn't needed for the application you have in mind.
> But if it is, can you show a concrete use case where just using that
> function gives bad results for measuring pixel distance between buffer
> positions?

I didn't write that loop (IIRC Kenichi Handa wrote it).  The sheer
presence of it however seems to indicate that `pos-visible-in-window-p'
might have given an off-by-one-line answer when `point' is on the last
line of a window, at least back in 2000.  Maybe this a non-issue now.

martin




This bug report was last modified 4 years and 222 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.