From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lukasz Pawelczyk Newsgroups: gmane.emacs.bugs Subject: bug#16909: 24.3; scrolling *Completions* window with tab sometimes chooses a wrong window Date: Fri, 28 Feb 2014 19:28:12 +0100 Message-ID: <6F4BAAB3-A0AD-4AE5-BD18-BE9CE1A97B77@gmail.com> References: <5310D459.8040504@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1393612152 32122 80.91.229.3 (28 Feb 2014 18:29:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Feb 2014 18:29:12 +0000 (UTC) Cc: 16909@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 28 19:29:19 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 1WJSBS-0003QX-Cg for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Feb 2014 19:29:18 +0100 Original-Received: from localhost ([::1]:52697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJSBR-0004Zr-Vm for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Feb 2014 13:29:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJSBJ-0004Xn-9P for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 13:29:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJSBD-0003OQ-Df for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 13:29:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJSBD-0003Nt-90 for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 13:29:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WJSBC-0000od-Am for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 13:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lukasz Pawelczyk Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Feb 2014 18:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16909 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16909-submit@debbugs.gnu.org id=B16909.13936121033073 (code B ref 16909); Fri, 28 Feb 2014 18:29:02 +0000 Original-Received: (at 16909) by debbugs.gnu.org; 28 Feb 2014 18:28:23 +0000 Original-Received: from localhost ([127.0.0.1]:44896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJSAY-0000nU-Fn for submit@debbugs.gnu.org; Fri, 28 Feb 2014 13:28:22 -0500 Original-Received: from mail-ea0-f177.google.com ([209.85.215.177]:45542) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJSAV-0000nH-7s for 16909@debbugs.gnu.org; Fri, 28 Feb 2014 13:28:20 -0500 Original-Received: by mail-ea0-f177.google.com with SMTP id h10so2863565eak.8 for <16909@debbugs.gnu.org>; Fri, 28 Feb 2014 10:28:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Uu4tRLlxaz5IF5SaJpVEU0RVMHK4QinzhrnpxLQVHEc=; b=OxKicEfPHTqb8/y810Uerr8m0Gee7qskULMISGFoR1qFH4Rgeydp+lzeqqArEguTWW ilehh8vFid+WzriANut9mle/8sy4aWl1gthaB4zcIho/cDZvPWN4zG5yOwV38dqc4VKV O0Jq8vaLzqUpTTwf4N6W0cqR44Y7OL4bZfgE8MMZ2VhaWQaMusvPIZHRImMutaxF2EnR fOaZLTC4cZLEFfMyPRBzT89jcpi8xbTTlzO+VqJwA53+MaBhnFpcFwTn3OZc8X14txd2 nrHAzuPvlnsmyk9VZznC41O4RJeo5Xqb9QG7c9m/8PXctQv6mKSYCOCsFGaxr1RVmaRK NYBg== X-Received: by 10.15.61.134 with SMTP id i6mr5525201eex.106.1393612098217; Fri, 28 Feb 2014 10:28:18 -0800 (PST) Original-Received: from [192.168.0.104] (user-5-173-72-179.play-internet.pl. [5.173.72.179]) by mx.google.com with ESMTPSA id j41sm13486538eeg.10.2014.02.28.10.28.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Feb 2014 10:28:17 -0800 (PST) In-Reply-To: <5310D459.8040504@gmx.at> X-Mailer: Apple Mail (2.1827) 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:86413 Archived-At: On 28 Feb 2014, at 19:24, martin rudalics wrote: > > The workaround is shown in the emacs.el file, force the other window > > scrolling to a *Completions* buffer. But this effectively breaks > > other-window scrolling for anything else. >=20 > You mean to set `other-window-for-scrolling' to the *Completions* > buffer? I think that's what the completions code should do. But why = do > you say that it "effectively breaks other-window scrolling for = anything > else"? IIUC a similar approach is used by `save-some-buffers' and = seems > to work without problems. I=92m saying that the Tab should be able to scroll the *Completions* = buffer automatically without setting anything. And in the use case I showed above it doesn=92t. I just posted this setq line as a workaround. And why does it break? = Because if you set it then C-M-v will always try to scroll *Completions* = and not regular other-window buffer which is useful sometimes (e.g. = while using help, an approach mentioned even in tutorial). Just forget about the workaround I mentioned. The use-case shows a bug. = That=92s all. --=20 Regards, Havner