From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] emacs-25 197a6bc: Fix horizontal scrolling during Isearch Date: Sat, 08 Oct 2016 10:26:21 -0400 Message-ID: References: <20161008093643.10907.90387@vcs.savannah.gnu.org> <20161008093643.BC95522015F@vcs.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1475936809 17744 195.159.176.226 (8 Oct 2016 14:26:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Oct 2016 14:26:49 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) Cc: Eli Zaretskii To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 08 16:26:45 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bssaD-00036X-SY for ged-emacs-devel@m.gmane.org; Sat, 08 Oct 2016 16:26:37 +0200 Original-Received: from localhost ([::1]:41338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bssaC-0003JP-Ii for ged-emacs-devel@m.gmane.org; Sat, 08 Oct 2016 10:26:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bssa6-0003Ih-7j for emacs-devel@gnu.org; Sat, 08 Oct 2016 10:26:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bssa1-0000Lz-2N for emacs-devel@gnu.org; Sat, 08 Oct 2016 10:26:29 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:40269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bssa0-0000LL-UC; Sat, 08 Oct 2016 10:26:25 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id u98EPt0v009789; Sat, 8 Oct 2016 10:25:56 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 5033366202; Sat, 8 Oct 2016 10:26:21 -0400 (EDT) In-Reply-To: <20161008093643.BC95522015F@vcs.savannah.gnu.org> (Eli Zaretskii's message of "Sat, 8 Oct 2016 09:36:43 +0000 (UTC)") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV5821=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5821> : inlines <5330> : streams <1713094> : uri <2303830> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:208095 Archived-At: > * 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? Stefan