[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] emacs-25 197a6bc: Fix horizontal scrolling during Isea
From: |
Eli Zaretskii |
Subject: |
Re: [Emacs-diffs] emacs-25 197a6bc: Fix horizontal scrolling during Isearch |
Date: |
Sat, 08 Oct 2016 17:45:01 +0300 |
> From: Stefan Monnier <address@hidden>
> Cc: Eli Zaretskii <address@hidden>
> Date: Sat, 08 Oct 2016 10:26:21 -0400
>
> > * lisp/isearch.el (isearch-update): Compute the window's body
> > width in a way that is correct when there are no fringes.
> > (Bug#24584)
> [...]
> > - (>= (car visible-p) (window-body-width nil t)))
> > + (>= (car visible-p)
> > + (* (window-max-chars-per-line)
> > (frame-char-width))))
>
> Hmm... shouldn't window-body-width return the right answer even when
> there are no fringes?
We were too afraid to make that change at the time, because some
callers don't (or might not) want that.