all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Drew Adams <drew.adams@oracle.com>
Cc: 6316@debbugs.gnu.org
Subject: bug#6316: 24.0.50; unexpected region highlighting
Date: Wed, 02 Jul 2014 15:50:37 +0200	[thread overview]
Message-ID: <878uobswcy.fsf@rosalinde.fritz.box> (raw)
In-Reply-To: <8270a362-a76c-46bd-bf13-fc5ff59cc911@default> (Drew Adams's message of "Wed, 2 Jul 2014 06:29:19 -0700 (PDT)")

On Wed, 2 Jul 2014 06:29:19 -0700 (PDT) Drew Adams <drew.adams@oracle.com> wrote:

>> if you mark and highlight a region in a
>> buffer and then call e.g. `C-h f' or `C-h v', when the *Help* buffer
>> opens this unhighlights the region in the other buffer, although the
>> latter remains the current buffer.  Is this supposed to happen, and if
>> so, why?  (If it's not supposed to happen, I'll open a new bug.)
>
> `highlight-nonselected-windows' = t controls whether the region remains
> highlighted in nonselected windows.

As I noted, when you call `C-h f' or `C-h v', it doesn't make the *Help*
buffer current, i.e., the window containing the now unhighlighted region
is still selected.

> But after a command the region is deactivated, so depending on your
      ^^^^^^^^^^^^^^^
      "After certain non-motion commands, including any command that
changes the text in the buffer," according to (emacs)Mark.

> recipe you will not notice the effect of the variable.  IOW, in your
> recipe, your command `C-h v' deactivated the region in the original
> buffer.

Evidently it did; but should it, and if so, why?

Steve Berman





  reply	other threads:[~2014-07-02 13:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-31  7:30 bug#6316: 24.0.50; unexpected region highlighting with disabled transient-mark-mode Stephen Berman
2010-05-31 12:29 ` Stephen Berman
2012-05-29 20:42   ` bug#6316: 24.0.50; unexpected region highlighting Stephen Berman
2014-05-27 13:57     ` Stephen Berman
2014-05-27 15:00       ` Stefan Monnier
2014-05-27 20:51         ` Stephen Berman
2014-06-23 16:31           ` Stefan Monnier
2014-06-24 15:59             ` Stephen Berman
2014-07-01 18:14               ` Stefan Monnier
2014-07-02  9:27                 ` Stephen Berman
2014-07-02 13:29                   ` Drew Adams
2014-07-02 13:50                     ` Stephen Berman [this message]
2019-09-26 10:17 ` Stefan Kangas

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=878uobswcy.fsf@rosalinde.fritz.box \
    --to=stephen.berman@gmx.net \
    --cc=6316@debbugs.gnu.org \
    --cc=drew.adams@oracle.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.