GNU bug report logs - #45839
28.0.50; Isearch and transient mode wierd behaviour in info-mode!

Previous Next

Package: emacs;

Reported by: Utkarsh Singh <utkarsh190601 <at> gmail.com>

Date: Wed, 13 Jan 2021 12:27:01 UTC

Severity: normal

Tags: fixed

Fixed in version 28.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 45839 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Juri Linkov <juri <at> linkov.net>, Utkarsh Singh <utkarsh190601 <at> gmail.com>
Cc: 45839 <at> debbugs.gnu.org
Subject: RE: bug#45839: 28.0.50; Isearch and transient mode wierd behaviour in
 info-mode!
Date: Wed, 13 Jan 2021 11:20:34 -0800 (PST)
> 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.

FWIW, Info+ doesn't have this problem.  It deactivates
the mark only when search moves to another node.
___

If library Isearch+ is also loaded then when search
stays in the same node the mark is deactivated if
option `isearchp-deactivate-region-flag' is non-nil
(the default).  You can toggle this anytime during
Isearch with `M-= C-SPC'.

So you control the behavior for search within a node,
and deactivation happens when search moves to another
node.





This bug report was last modified 4 years and 131 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.