unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Mark set by ?mark-*? not deactivated by point motion
Date: Tue, 18 Sep 2018 10:45:50 +0200	[thread overview]
Message-ID: <87r2hrw5vl.fsf@hornfels.zedat.fu-berlin.de> (raw)
In-Reply-To: mailman.897.1537213211.1284.help-gnu-emacs@gnu.org

Drew Adams <drew.adams@oracle.com> writes:

[snip (36 lines)]

> Whether Emacs should be consistent in this regard, I don't know.
> But apparently Emacs presumes that if you use `M-@' to select a
> word (put the active region around it) then you intend cursor
> motion to extend it. And apparently it presumes that if you
> double-click  mouse-1 to select it then you do not intend cursor
> motion to extend it.

With my Emacs 25.1.1 `M-@' select the part of the word from the cursor
to the end of the word.  Moving the cursor left extends the region,
whereas moving it right unselects when over the initially selected
section and extends beyond that.

So if I have

  able baker charlie

and do `M-@' while on 'k',

         ker

is selected.  If I move left to 'a', then

  able baker

is selected.  If instead I move right to the final 'e', then

             charlie

including the space in front of the 'c' is selected.

Is that supposed to happen?  What's the use-case for the moving-right
behaviour?

[snip (11 lines)]

Cheers,

Loris

-- 
This signature is currently under construction.


  parent reply	other threads:[~2018-09-18  8:45 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
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     ` Loris Bennett [this message]
2018-09-18 11:45       ` Mark set by ?mark-*? " 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

  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=87r2hrw5vl.fsf@hornfels.zedat.fu-berlin.de \
    --to=loris.bennett@fu-berlin.de \
    --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.
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).