unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: 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 20:06:20 +0200	[thread overview]
Message-ID: <871reokawq.fsf@mail.linkov.net> (raw)
In-Reply-To: <874kjljbsc.fsf@gmail.com> (Utkarsh Singh's message of "Wed, 13 Jan 2021 17:20:43 +0530")

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





  reply	other threads:[~2021-01-13 18:06 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 [this message]
2021-01-13 19:20   ` Drew Adams
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=871reokawq.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=45839@debbugs.gnu.org \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).