all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Juri Linkov <juri@linkov.net>, Utkarsh Singh <utkarsh190601@gmail.com>
Cc: 45839@debbugs.gnu.org
Subject: bug#45839: 28.0.50; Isearch and transient mode wierd behaviour in info-mode!
Date: Wed, 13 Jan 2021 11:20:34 -0800 (PST)	[thread overview]
Message-ID: <accbedc6-63ce-4e8d-a788-6fdf443ba1dd@default> (raw)
In-Reply-To: <871reokawq.fsf@mail.linkov.net>

> 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.






  reply	other threads:[~2021-01-13 19:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-13 11:50 bug#45839: 28.0.50; Isearch and transient mode wierd behaviour in info-mode! Utkarsh Singh
2021-01-13 18:06 ` Juri Linkov
2021-01-13 19:20   ` Drew Adams [this message]
2021-01-13 19:24     ` Drew Adams
2021-01-14  9:20     ` Juri Linkov
     [not found]       ` <87mtxby5t9.fsf@gmail.com>
2021-01-14 19:09         ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=accbedc6-63ce-4e8d-a788-6fdf443ba1dd@default \
    --to=drew.adams@oracle.com \
    --cc=45839@debbugs.gnu.org \
    --cc=juri@linkov.net \
    --cc=utkarsh190601@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.