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: YAMAMOTO Mitsuharu
Subject: bug#7390: 24.0.50; pos-col-row gives incorrect row
Date: Sun, 12 Dec 2010 16:37:56 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

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

                                     YAMAMOTO Mitsuharu
                                mituharu@math.s.chiba-u.ac.jp





reply via email to

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