From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18545: 24.4.50: Bug - forward-line inside with-selected-window Date: Fri, 26 Sep 2014 16:29:42 +0300 Message-ID: <83k34qtsqh.fsf@gnu.org> References: <1532440199.73121411675536923.JavaMail.www@wwinf7125> <83wq8qu9bt.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1411738238 32102 80.91.229.3 (26 Sep 2014 13:30:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Sep 2014 13:30:38 +0000 (UTC) Cc: lompik@voila.fr, 18545@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 26 15:30:31 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XXVbR-0001bU-KK for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Sep 2014 15:30:29 +0200 Original-Received: from localhost ([::1]:48611 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXVbR-0004Pg-7y for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Sep 2014 09:30:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXVbI-0004LB-Ud for bug-gnu-emacs@gnu.org; Fri, 26 Sep 2014 09:30:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXVbE-00073I-4Q for bug-gnu-emacs@gnu.org; Fri, 26 Sep 2014 09:30:20 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXVbD-0006xc-Va for bug-gnu-emacs@gnu.org; Fri, 26 Sep 2014 09:30:16 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XXVb4-0007HV-CJ for bug-gnu-emacs@gnu.org; Fri, 26 Sep 2014 09:30:07 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Sep 2014 13:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18545 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18545-submit@debbugs.gnu.org id=B18545.141173820127963 (code B ref 18545); Fri, 26 Sep 2014 13:30:04 +0000 Original-Received: (at 18545) by debbugs.gnu.org; 26 Sep 2014 13:30:01 +0000 Original-Received: from localhost ([127.0.0.1]:52871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XXVax-0007Gw-Fj for submit@debbugs.gnu.org; Fri, 26 Sep 2014 09:30:00 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:50387) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XXVap-0007Gc-CH for 18545@debbugs.gnu.org; Fri, 26 Sep 2014 09:29:53 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NCI00L00EYDYL00@mtaout27.012.net.il> for 18545@debbugs.gnu.org; Fri, 26 Sep 2014 16:24:20 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NCI00O2YFWKAU10@mtaout27.012.net.il>; Fri, 26 Sep 2014 16:24:20 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:93770 Archived-At: > From: Stefan Monnier > Cc: lompik@voila.fr, 18545@debbugs.gnu.org > Date: Fri, 26 Sep 2014 08:48:27 -0400 > > Why does > > (with-selected-window (get-buffer-window "*Completions*") > (recenter 5)) > > require an explicit call to wset_redisplay from recenter, whereas > > (with-selected-window (get-buffer-window "*Completions*") > (forward-line 1)) > > doesn't need an explicit call to wset_redisplay (or bset_redisplay) from > forward-line? I think that's because forward-line moves point, while recenter doesn't. But if you'd like to add wset_redisplay to forward-line, I won't object.