From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#30207: 27.0.50; [PATCH] other-window-for-scrolling returns window on daemon frame Date: Thu, 03 May 2018 14:03:52 +0100 Message-ID: <87zi1grivb.fsf@tcd.ie> References: <87inbtvqci.fsf@tcd.ie> <5A6634A3.3040403@gmx.at> <87h8rdfnew.fsf@tcd.ie> <87tvvcya9i.fsf@tcd.ie> <87zi1h6g20.fsf@tcd.ie> <83in85q1vg.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1525352606 20003 195.159.176.226 (3 May 2018 13:03:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 3 May 2018 13:03:26 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 30207@debbugs.gnu.org, npostavs@users.sourceforge.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 03 15:03:21 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1fEDtH-00051X-Ss for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 May 2018 15:03:20 +0200 Original-Received: from localhost ([::1]:56227 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEDvN-00020e-Fo for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 May 2018 09:05:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEDv4-0001sm-D3 for bug-gnu-emacs@gnu.org; Thu, 03 May 2018 09:05:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEDuy-00078h-GR for bug-gnu-emacs@gnu.org; Thu, 03 May 2018 09:05:10 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39903) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fEDuy-00078X-A4 for bug-gnu-emacs@gnu.org; Thu, 03 May 2018 09:05:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fEDuw-0006FD-ID for bug-gnu-emacs@gnu.org; Thu, 03 May 2018 09:05:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 May 2018 13:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30207 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 30207-submit@debbugs.gnu.org id=B30207.152535264323930 (code B ref 30207); Thu, 03 May 2018 13:05:02 +0000 Original-Received: (at 30207) by debbugs.gnu.org; 3 May 2018 13:04:03 +0000 Original-Received: from localhost ([127.0.0.1]:47800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEDty-0006Dt-Iz for submit@debbugs.gnu.org; Thu, 03 May 2018 09:04:02 -0400 Original-Received: from mail-wm0-f52.google.com ([74.125.82.52]:36250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEDtw-0006DO-Bq for 30207@debbugs.gnu.org; Thu, 03 May 2018 09:04:00 -0400 Original-Received: by mail-wm0-f52.google.com with SMTP id n10so30154293wmc.1 for <30207@debbugs.gnu.org>; Thu, 03 May 2018 06:04:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:mail-followup-to:date:in-reply-to :message-id:user-agent:mime-version; bh=pt8NebaDWPglvM2MwvbiI/dwc6My8KyhQ1tCX821M9c=; b=VAcmQ6ziLDgoRAmVpxX4OIVGUdEH9+2WJuM9IWc5gXoQy7y+2n5JAt28Osq/gZaAjs TbJuawTyuephgDfecTknWFWuSgcFEJHMRbGLSK5Cg2sX2Lr4SckfSAD5epbXCBfIniHD dAG5+Q/GcWSYGXrOzxXPz9o0HE0biV4nYED+7ZX4i966Zmj0nb3hnefbgYld+W7n7k4z JJJJfzeoOAKHoRQF+BNaPvpTFJmg3HkAAqc89ISkSvPmAf2NW7mvYVoKjkGTznX1xRPH 1FlkrzFLM9Zikh0WOGVaZ/9vZ5SKSRTgyFm0M0MFfsIEp4mqNGjcn33cQQv7lWZqfKoL LE5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :date:in-reply-to:message-id:user-agent:mime-version; bh=pt8NebaDWPglvM2MwvbiI/dwc6My8KyhQ1tCX821M9c=; b=LMehQ8fZ9oPQdXE5P9+rpG8eW9VKOrK8izrT3g96GZQFaF9ElgUSvuTZP2XPAkCvSh ovEIUHFvLYFSTY6+3k6WkFP+Ytzas0UUcmhuTnv+3/YhMVB0pz0Cm+POcrXXHEWypoxG 3d2nzeqfD8ghkCt4ZYRZEUBmDR3D7LJjoXrMatI+h8C7CZDAJ3oi5RJMP+PsoxSZA01R +ZxYz7UEeInvR7A3+m1TCYsVi7ngA2IWlcowuojn4EzRPdHn3X65w4H+UbkQDmbvW187 iAGoA3IDDM4H3sJVZ6jas0SDvyyatgPemDb0tOxhaaqlC9f00wxNdAYvxOTQoDpvW1iB n9Vw== X-Gm-Message-State: ALQs6tA2x+XWrDcAj/+Gfol/V2Twb7R0wznulxnES2VkW3GdDjeixBWZ PfXjCsD+fNNdaW3zKUIBvkQzJA== X-Google-Smtp-Source: AB8JxZpQBclrSlb+UgUyjRGv857GUbV7g0w8phWpUK0XvBuDp5B6s3uzPo5UI1HKSlRN+JIiyzqJjA== X-Received: by 2002:a50:ad32:: with SMTP id y47-v6mr31316436edc.115.1525352634456; Thu, 03 May 2018 06:03:54 -0700 (PDT) Original-Received: from localhost ([213.233.149.18]) by smtp.gmail.com with ESMTPSA id m15-v6sm8119409edj.49.2018.05.03.06.03.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 May 2018 06:03:53 -0700 (PDT) Mail-Followup-To: Eli Zaretskii , <30207@debbugs.gnu.org>, , In-Reply-To: <83in85q1vg.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 2 May 2018 22:44:03 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:145966 Archived-At: --=-=-= Content-Type: text/plain Eli Zaretskii writes: >> From: "Basil L. Contovounesios" >> Date: Wed, 02 May 2018 19:57:59 +0100 >> Cc: Noam Postavsky >> >> +@kindex C-M-S-v >> +@findex scroll-other-window-down >> The usual scrolling commands (@pxref{Display}) apply to the selected >> -window only, but there is one command to scroll the next window. >> +window only, but there are two commands to scroll the next window. > ^^^^^^^^^^^^^^^^^^^^^^ > I'd just say "there are commands". That's much better, but the sentence still seems a bit abrupt to me. How about "there are also commands"? >> @kbd{C-M-v} (@code{scroll-other-window}) scrolls the window that >> -@kbd{C-x o} would select. It takes arguments, positive and negative, >> -like @kbd{C-v}. (In the minibuffer, @kbd{C-M-v} scrolls the help >> -window associated with the minibuffer, if any, rather than the next >> -window in the standard cyclic order; @pxref{Minibuffer Edit}.) >> +@kbd{C-x o} would select upward. > ^^^^^^^^^^^^^ > This makes the sentence ambiguous: it is not clear whether "upward" > goes with "scroll" or with "select". Either say "scrolls upward" at > the beginning of the sentence, or maybe explain the "upward" part in a > separate sentence (and what does "upward" mean here anyway -- does the > text or the viewport move upward?). Good point. Given that (a) forward/upward and backward/downward scrolling is described in more detail under the indirectly referenced "(emacs) Scrolling", and (b) half of this paragraph is already parenthetical, could we get away with just minor disambiguation? For example: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=other-window.patch diff --git a/doc/emacs/windows.texi b/doc/emacs/windows.texi index 59b3b65f65..17ce4ad04d 100644 --- a/doc/emacs/windows.texi +++ b/doc/emacs/windows.texi @@ -183,13 +183,18 @@ Other Window @kindex C-M-v @findex scroll-other-window +@kindex C-M-S-v +@findex scroll-other-window-down The usual scrolling commands (@pxref{Display}) apply to the selected -window only, but there is one command to scroll the next window. +window only, but there are also commands to scroll the next window. @kbd{C-M-v} (@code{scroll-other-window}) scrolls the window that -@kbd{C-x o} would select. It takes arguments, positive and negative, -like @kbd{C-v}. (In the minibuffer, @kbd{C-M-v} scrolls the help -window associated with the minibuffer, if any, rather than the next -window in the standard cyclic order; @pxref{Minibuffer Edit}.) +@kbd{C-x o} would select. In other respects, the command behaves like +@kbd{C-v}; both move the buffer text upward relative to the window, and +take positive and negative arguments. (In the minibuffer, @kbd{C-M-v} +scrolls the help window associated with the minibuffer, if any, rather +than the next window in the standard cyclic order; @pxref{Minibuffer +Edit}.) @kbd{C-M-S-v} (@code{scroll-other-window-down}) scrolls the +next window downward in a similar way. @vindex mouse-autoselect-window If you set @code{mouse-autoselect-window} to a non-@code{nil} value, --=-=-= Content-Type: text/plain [As you can see, I'm not particularly confident of my taste in technical prose.] Thanks, -- Basil --=-=-=--