From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#45839: 28.0.50; Isearch and transient mode wierd behaviour in info-mode! Date: Wed, 13 Jan 2021 20:06:20 +0200 Organization: LINKOV.NET Message-ID: <871reokawq.fsf@mail.linkov.net> References: <874kjljbsc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33883"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 45839@debbugs.gnu.org To: Utkarsh Singh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 13 19:12:14 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzkcw-0008iS-1b for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jan 2021 19:12:14 +0100 Original-Received: from localhost ([::1]:44406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzkcu-0005Ul-WF for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jan 2021 13:12:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzkZr-0003lt-Am for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2021 13:09:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53242) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzkZr-0004o9-1I for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2021 13:09:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzkZq-0000YW-Sm for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2021 13:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jan 2021 18:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45839 X-GNU-PR-Package: emacs Original-Received: via spool by 45839-submit@debbugs.gnu.org id=B45839.16105613092078 (code B ref 45839); Wed, 13 Jan 2021 18:09:02 +0000 Original-Received: (at 45839) by debbugs.gnu.org; 13 Jan 2021 18:08:29 +0000 Original-Received: from localhost ([127.0.0.1]:36552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzkZJ-0000XS-4M for submit@debbugs.gnu.org; Wed, 13 Jan 2021 13:08:29 -0500 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:57617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzkZH-0000Wq-M4 for 45839@debbugs.gnu.org; Wed, 13 Jan 2021 13:08:28 -0500 X-Originating-IP: 91.129.98.64 Original-Received: from mail.gandi.net (m91-129-98-64.cust.tele2.ee [91.129.98.64]) (Authenticated sender: juri@linkov.net) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id ABABA60007; Wed, 13 Jan 2021 18:08:20 +0000 (UTC) In-Reply-To: <874kjljbsc.fsf@gmail.com> (Utkarsh Singh's message of "Wed, 13 Jan 2021 17:20:43 +0530") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:197908 Archived-At: > In info-mode do the following: > + C-SPC :: set mark > + C-s valid_query :: search for some string > + RET > > By now you can see region is not highlighted and this will affect all > other command such as M-w(kill-ring-save). Please see in the function 'Info-search' that it intentionally deactivates the active region during the search by calling: (deactivate-mark) This is because when the search arrives in another Info node, then region highlighting breaks - the region's beginning stays in the previous node, while the region's end moves to the next node. To avoid such situation, it deactivates the active region. If you want to copy the region with M-w, then you can reactivate it with 'C-x C-x'.