GNU bug report logs -
#12253
Restore window start position
Previous Next
Full log
Message #47 received at 12253 <at> debbugs.gnu.org (full text, mbox):
ping.
Any special reason why the patch provided or some other fix has not yet been
applied to fix this bug? (Or has it been fixed and should thus be closed?)
> Sent: Saturday, January 19, 2013 7:04 AM
> > > + isearch-win-pt-line (- (line-number-at-pos)
> > > + (line-number-at-pos
> > (window-start)))
> > > ...
> > > ! (when isearch-win-pt-line (recenter isearch-win-pt-line)))
> >
> > Why do you use `line-number-at-pos' and `recenter' instead of
> > `window-start' and `set-window-start'?
>
> No special reason. It's probably just what occurred to me.
>
> Aren't they equivalent in effect, though not necessarily in
> performance? Feel free to use whichever approach you feel is better.
This bug report was last modified 1 year and 156 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.