bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7390: 24.0.50; pos-col-row gives incorrect row


From: Eli Zaretskii
Subject: bug#7390: 24.0.50; pos-col-row gives incorrect row
Date: Sun, 12 Dec 2010 22:47:07 +0200

> Date: Sun, 12 Dec 2010 16:37:56 +0900
> From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
> Cc: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>,
>       7390@debbugs.gnu.org
> 
> >>>>> On Sun, 12 Dec 2010 02:29:14 -0500, Eli Zaretskii <eliz@gnu.org> said:
> 
> >> Perhaps `header-line-height' should be enclosed with
> >> (with-current-buffer (window-buffer window) ...) as in the case of
> >> `line-spacing'?
> 
> > What would be the use-cases where this is necessary?
> 
> I don't know.  But I don't think posn-* functions assume the buffer of
> the window containing the given position is the current buffer.

You are right.  I fixed that.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]