unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Stefan Kangas <stefan@marxist.se>
Cc: 56421@debbugs.gnu.org, Visuwesh <visuweshm@gmail.com>
Subject: bug#56421: [PATCH] Make mouse-2 respect delete-selection mode
Date: Wed, 06 Jul 2022 20:57:11 +0300	[thread overview]
Message-ID: <86a69mt98o.fsf@mail.linkov.net> (raw)
In-Reply-To: <CADwFkm=3PY9kzAwEe+5XY1qMWJg2=GuJqe=VAq45nqaNB1FRug@mail.gmail.com> (Stefan Kangas's message of "Wed, 6 Jul 2022 18:14:06 +0200")

>> If you think we should be consistent, then I'd rather drop the patch
>> than add yet another defcustom.  It isn't hard to copy those lines to my
>> config anyway.
>
> Let's see if anyone else has an opinion here.

This should be the right thing to do, some time ago
we already discussed this because I had these uncommitted lines:

+(put 'mouse-yank-primary 'delete-selection 'yank)
+(put 'mouse-yank-at-click 'delete-selection 'yank)
+(put 'menu-bar-select-yank 'delete-selection 'yank)

BTW, I also had this line

+(put 'just-one-space 'delete-selection t)

but since M-SPC is bound to cycle-spacing now,
I'm not sure about M-SPC anymore.  How does
cycle-spacing handle regions?  Maybe it should
squeeze all consequent spaces to one space
everywhere in the region?





  reply	other threads:[~2022-07-06 17:57 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-06 14:58 bug#56421: [PATCH] Make mouse-2 respect delete-selection mode Visuwesh
2022-07-06 15:11 ` Stefan Kangas
2022-07-06 15:16   ` Visuwesh
2022-07-06 15:58     ` Stefan Kangas
2022-07-06 16:01       ` Visuwesh
2022-07-06 16:14         ` Stefan Kangas
2022-07-06 17:57           ` Juri Linkov [this message]
2022-07-07  4:05             ` Visuwesh
2022-07-07  6:23               ` Juri Linkov
2022-07-07  6:47                 ` Visuwesh
2022-07-11 10:58             ` Lars Ingebrigtsen
2022-07-11 11:04               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-11 11:10                 ` Lars Ingebrigtsen
2022-07-11 11:13                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-11 11:37                   ` Stefan Kangas
2022-07-11 11:39                     ` Lars Ingebrigtsen
2022-07-13 11:39                       ` Lars Ingebrigtsen
2022-07-11 11:39                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-07  1:12     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-07  1:17       ` Stefan Kangas
2022-07-07  2:57         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=86a69mt98o.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=56421@debbugs.gnu.org \
    --cc=stefan@marxist.se \
    --cc=visuweshm@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).