emacs-devel
[Top][All Lists]
Advanced

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

Re: bug#9782: 24.0.90; move-to-window-line not taking header line into a


From: Eli Zaretskii
Subject: Re: bug#9782: 24.0.90; move-to-window-line not taking header line into account
Date: Sun, 05 May 2013 05:47:28 +0300

> From: Dmitry Gutov <address@hidden>
> Cc: address@hidden
> Date: Sun, 05 May 2013 01:12:52 +0400
> 
> What do you suggest would be a better way to get the window row of a
> buffer position, save that value, and then move to that row later?
> 
> Currently, company calls (cdr (posn-actual-col-row posn)) to retrieve
> the row, and `move-to-window-line' to get to it.
> 
> Simply adjusting the row number for presence of `header-line-format'
> won't do, because company strives to support Emacs 23 (and maybe even
> 22), and `post-actual-col-row' behavior was different before the
> revision 106022.

Why is that a problem to have special code for specific Emacs
versions?



reply via email to

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