unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Gregory Heytings via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: David <emacs-newbie@hj.proberto.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to end text-insert undo segment after cursor jump (caused by mouse)?
Date: Sat, 17 Oct 2020 18:50:34 +0000	[thread overview]
Message-ID: <alpine.NEB.2.22.394.2010172045420453.5612@sdf.lonestar.org> (raw)
In-Reply-To: <86c7c30ae2ae8088d0375b881995c551@mail.vmaly.com>


>
> How to end text-insert undo segment after cursor jump (caused by mouse)?
>
> Coming from vim into (evil-mode) spacemacs, I sometimes get frustrated 
> that undo segment is not ended when a mouse-caused cursor movement 
> occurs.
>
[...]
>
> PS: Please do not advise me to get "disable touch pad while typing" 
> working.
>

I'd suggest you to use (mouse-avoidance-mode 'banish).  It's built-in 
since Emacs 21.



  reply	other threads:[~2020-10-17 18:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-17 18:44 How to end text-insert undo segment after cursor jump (caused by mouse)? David
2020-10-17 18:50 ` Gregory Heytings via Users list for the GNU Emacs text editor [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-10-17 17:35 David
2020-10-17 22:34 ` Stefan Monnier

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=alpine.NEB.2.22.394.2010172045420453.5612@sdf.lonestar.org \
    --to=help-gnu-emacs@gnu.org \
    --cc=emacs-newbie@hj.proberto.com \
    --cc=ghe@sdf.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).