From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#28864: 25.3.50; next-error-no-select does select Date: Wed, 18 Oct 2017 10:44:45 +0300 Message-ID: <6f3b7c2c-31af-8eb2-8f13-a9ba17d3d8e6@yandex.ru> References: <87bml72qck.fsf@gmail.com> <4045abe7-1acb-314b-b9ac-72b62db30570@yandex.ru> <87sheh270d.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1508312726 32259 195.159.176.226 (18 Oct 2017 07:45:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Oct 2017 07:45:26 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Thunderbird/56.0 Cc: 28864@debbugs.gnu.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 18 09:45:20 2017 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 1e4j2M-0006cn-SE for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Oct 2017 09:45:11 +0200 Original-Received: from localhost ([::1]:42944 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4j2T-0002Th-WB for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Oct 2017 03:45:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4j2J-0002TR-DI for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 03:45:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4j2G-0006ny-9X for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 03:45:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38532) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4j2G-0006nk-5V for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 03:45:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e4j2F-0006ow-Mr for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 03:45:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Oct 2017 07:45:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28864 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28864-submit@debbugs.gnu.org id=B28864.150831269726191 (code B ref 28864); Wed, 18 Oct 2017 07:45:03 +0000 Original-Received: (at 28864) by debbugs.gnu.org; 18 Oct 2017 07:44:57 +0000 Original-Received: from localhost ([127.0.0.1]:47212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4j29-0006oM-HX for submit@debbugs.gnu.org; Wed, 18 Oct 2017 03:44:57 -0400 Original-Received: from mail-wm0-f46.google.com ([74.125.82.46]:54957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4j26-0006o6-V0 for 28864@debbugs.gnu.org; Wed, 18 Oct 2017 03:44:55 -0400 Original-Received: by mail-wm0-f46.google.com with SMTP id i124so8282127wmf.3 for <28864@debbugs.gnu.org>; Wed, 18 Oct 2017 00:44:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=G4jFF3ZT+vjEFZUfi6bNBad8RAYGeaRsRDEyvbEsIW0=; b=hdR0pdFnZ9OwUCfGwO8VVDvqsUimAXVcQMnzO9XT9++zmtdz6pqgpDy27bfCROHhqN 9SvGObPWnsW+jRXv5i0xUYs59eOCsaTsw+ZEAusVfUs48hPlp0evxCnd8RiTZLjCxBgE uWUckSgNE6GpqbkGqGS4qm3BgtrYqhePm4UUw7FMbVnGH47oMr1Gl6mtElwybPqcUS2F H2dhhisMgQSIbUQ4sFnTzTUCDBXs4DoFHhrqPM9eNOnkkqtvCbxymNNV0w9uJSglsExd gdUXJoLxVD2BJ90t5NCMqDxzexnWVmiJxvSMIObAIhV7wXJZs1doZrz2dxrYLDwLmVqw 1KXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=G4jFF3ZT+vjEFZUfi6bNBad8RAYGeaRsRDEyvbEsIW0=; b=ZFN1ETvB55i2G8FvWPpxu9CGrsLl5xe9dpcEM2PpopQW3butwN3mNwhsZle2H1gZdT xJ3XB/vB93HAbgCAEzLK5NjzZn94y/rcEXBYSC48Gy10VrTO9J49Fy4opDSDy9E8i3Hf Ix0lA5rVx6FEePER3rhXBH1eW79joDRWOhwBzVUpwXJoUFugIS24qaUTHdicSZipio+b RyrOXhNoz10cbhsdgBLpzR2CntbCQA3rHlXR7gF22UPDWZbiHYChxrUqdF3O7diAPVwJ ZuXNVOIUO9x6wci9UHolDjGr8JytNm0/tCR1cdAu4SobbhWWSN2LcwXVxB4/ub2ejqZD Su5Q== X-Gm-Message-State: AMCzsaXPee9lKqnQSGdSb7vHOUxddtCRTACNDimZtnSxzh69gB0+DT1C lXyrvPCoFWdbItnqr0waie9TVTQJ X-Google-Smtp-Source: AOwi7QD6dxej0WCItf95OYa1jFriFOwrzk9tnXqbIzk954qPY73YJN9zLpdI7M854vQcpslmj2tLTQ== X-Received: by 10.80.173.150 with SMTP id a22mr19061075edd.49.1508312688690; Wed, 18 Oct 2017 00:44:48 -0700 (PDT) Original-Received: from [192.168.1.3] ([185.105.174.193]) by smtp.googlemail.com with ESMTPSA id m7sm8619593eda.91.2017.10.18.00.44.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Oct 2017 00:44:47 -0700 (PDT) In-Reply-To: <87sheh270d.fsf@gmail.com> Content-Language: en-US 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:138658 Archived-At: On 10/17/17 5:17 PM, Tino Calancha wrote: > Thank you for the help! > Here your patch fix the issue. Maybe you just have tested the patch > more carefuly than me; I just run some `grep-find' commands and I keep > always inside my window. It kind of improves something, but the behavior is still wonky and counter-intuitive. Here are my steps: 1. Start emacs -Q, keep the window size it started with (small-ish). 2. Run grep-find with your proposed command line. That splits the window, putting the Grep buffer into the bottom window. 3. 'C-x o' to switch to the bottom window. The first match here is: ./lisp/gnus/ChangeLog.3:18140: name*0*=us-ascii''~%2ffoo%2fbar%2fbaz%2fxyzzy%2f; 4. Press 'n' once. That displays ChangeLog.3 in the upper window. 5. Press 'n' again. The fails to move the cursor in the bottom window, *and* it shows the definition of nntp-accept-process-output in the top window. Most likely because the next entry in ChangeLog.3 refers to that function. 6. Press 'n' again, that displays the next Grep result (lisp/ChangeLog.13). Without step 5, everything would be in order. Unfortunately, it's consistent and easy to reproduce. Unfortunately again, if you backtrack with 'p' and press 'n' again, you won't get the same behavior, you will get the "correct" one instead.