all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Mark set by ‘mark-*’ not deactivated by point motion
Date: Mon, 17 Sep 2018 21:25:59 +0300	[thread overview]
Message-ID: <83in34gevc.fsf@gnu.org> (raw)
In-Reply-To: <CAP_d_8UkDzKc5o5mW1v4tJxwsE336q53eCTejQ3yqM9XX1Wx0g@mail.gmail.com> (message from Yuri Khan on Tue, 18 Sep 2018 00:25:31 +0700)

> From: Yuri Khan <yurivkhan@gmail.com>
> Date: Tue, 18 Sep 2018 00:25:31 +0700
> 
> 1. Move point before the word “buffer” in the first line in *scratch*.
> 2. Press M-@ for ‘mark-word’. Observe that the mark is set after the
> word ”buffer” and activated.
> 3. Move point with an unshifted point motion key.
> 
> Observed behavior: point moves as commanded, mark remains active.
> 
> Expected behavior: point moves, mark is deactivated.

Not sure why you expected the mark to deactivate in this scenario.
How is this different from typing "C-x C-x" instead of M-@ (with the
rest of the recipe the same)?

> it runs against my general expectation that selection goes away after
> any motion that is not specifically directed to extend/shrink
> selection.

Selection does, but you didn't create any selections by the above
sequence of actions.  You've set a region and activated it.
Shift-selection is not the same.



  reply	other threads:[~2018-09-17 18:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-17 17:25 Mark set by ‘mark-*’ not deactivated by point motion Yuri Khan
2018-09-17 18:25 ` Eli Zaretskii [this message]
2018-09-17 19:18 ` Stefan Monnier
2018-09-17 19:39   ` Mark set by ?mark-*? " Drew Adams
2018-09-18  6:24   ` Mark set by ‘mark-*’ " Yuri Khan
     [not found]   ` <mailman.897.1537213211.1284.help-gnu-emacs@gnu.org>
2018-09-18  8:45     ` Mark set by ?mark-*? " Loris Bennett
2018-09-18 11:45       ` Eli Zaretskii
     [not found]       ` <mailman.918.1537271124.1284.help-gnu-emacs@gnu.org>
2018-09-19  6:33         ` Loris Bennett

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=83in34gevc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.