From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 29d1c72: Introduce new value t for compilation-context-lines to eliminate scrolling Date: Sat, 31 Aug 2019 12:45:47 +0000 Message-ID: <20190831124546.GD4822@ACM> References: <20190825102322.19558.22771@vcs0.savannah.gnu.org> <20190825102323.5080620CD5@vcs0.savannah.gnu.org> <20190825190637.GE4724@ACM> <838srhghoc.fsf@gnu.org> <20190827193652.GA20676@ACM> <20190831113132.GB4822@ACM> <07bca202-5b49-2f6f-c01f-8dc5afd43cd2@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="164157"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Eli Zaretskii , Stefan Monnier , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 31 14:47:50 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i42nG-000gbr-At for ged-emacs-devel@m.gmane.org; Sat, 31 Aug 2019 14:47:50 +0200 Original-Received: from localhost ([::1]:44770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i42nF-0006AO-7Q for ged-emacs-devel@m.gmane.org; Sat, 31 Aug 2019 08:47:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54156) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i42lM-0006AH-02 for emacs-devel@gnu.org; Sat, 31 Aug 2019 08:45:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i42lL-0005cN-1U for emacs-devel@gnu.org; Sat, 31 Aug 2019 08:45:51 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:50411 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1i42lK-0005af-8u for emacs-devel@gnu.org; Sat, 31 Aug 2019 08:45:50 -0400 Original-Received: (qmail 81868 invoked by uid 3782); 31 Aug 2019 11:52:57 -0000 Original-Received: from acm.muc.de (p2E5D5E4B.dip0.t-ipconnect.de [46.93.94.75]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 31 Aug 2019 13:52:55 +0200 Original-Received: (qmail 16876 invoked by uid 1000); 31 Aug 2019 12:45:47 -0000 Content-Disposition: inline In-Reply-To: <07bca202-5b49-2f6f-c01f-8dc5afd43cd2@gmx.at> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:239729 Archived-At: Hello, Martin. On Sat, Aug 31, 2019 at 14:07:26 +0200, martin rudalics wrote: > + (with-selected-window w ; So the later `goto-char' will work. > + (with-current-buffer (window-buffer w) > 'with-selected-window' makes the buffer of its window argument current > so 'with-current-buffer' is not needed here. Thanks, I've taken it out. > martin -- Alan Mackenzie (Nuremberg, Germany).