unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: "Mattias Engdegård" <mattiase@acm.org>,
	"Andrii Kolomoiets" <andreyk.mad@gmail.com>
Cc: "Alan Third" <alan@idiocy.org>,
	43948@debbugs.gnu.org, "Daniel Martín" <mardani29@yahoo.es>
Subject: bug#43948: 28.0.50; [PATCH][NS] Make s-<left/right> to move to beginning/end of line
Date: Tue, 20 Oct 2020 09:06:33 -0700 (PDT)	[thread overview]
Message-ID: <c538bbc3-5987-45d1-95e0-5edda0a7193f@default> (raw)
In-Reply-To: <98BE6156-9A91-4D4C-B326-62D24C3945B2@acm.org>

> Similarly, should M-mouse-1 be bound to rectangular selection, since Option-
> drag-mouse appears to be the platform convention?
> (It seems unlikely that there would be a sizeable population of secondary
> selection users on NS, but what do I know.)

FWIW -

The secondary selection is, I think, simply not
as well known as it could/should be.  I think
that if more people were aware if it they would
use it.

But the main reason, I think, that people aren't
aware of it, and also a reason they might not
use it even if they were aware of it, is that it
has no keyboard key bindings, by default.
___

My library second-sel.el provides additional
ways to obtain and use the secondary selection,
including obtaining it from the primary - and
vice versa, yanking it (including in Isearch),
and having its own ring (a la `kill-ring').

Suggested keyboard keys for it:

C-M-y       - yank, by default

  prefix arg:   0 - select it as region
              > 0 - move it to region's text
              < 0 - swap it with region

M-y         - yank from kill or secondary ring
              depending on previous command

C-x C-M-SPC - set start of secondary at point
C-x C-M-<return> - `secondary-save-then-kill'
                   does the same as `M-mouse-3'

https://www.emacswiki.org/emacs/SecondarySelection#second-sel.el





  parent reply	other threads:[~2020-10-20 16:06 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-12 11:36 bug#43948: 28.0.50; [PATHC][NS] Make s-<left/right> to move to beginning/end of line Andrii Kolomoiets
2020-10-12 18:33 ` Alan Third
2020-10-13  6:48   ` Andrii Kolomoiets
2020-10-13 20:35     ` Alan Third
2020-10-12 22:38 ` Unknown
2020-10-13  7:57   ` Andrii Kolomoiets
2020-10-13 20:36     ` Alan Third
2020-10-14 10:15       ` Andrii Kolomoiets
2020-10-14 20:24         ` Alan Third
2020-10-14 20:48           ` Andrii Kolomoiets
2020-11-09 14:55             ` Alan Third
2020-10-20  9:55 ` bug#43948: 28.0.50; [PATCH][NS] " Mattias Engdegård
2020-10-20 12:33   ` Alan Third
2020-10-20 13:54     ` Mattias Engdegård
2020-10-20 16:06   ` Drew Adams [this message]
2020-11-12  4:52 ` bug#43948: 28.0.50; [PATHC][NS] " tsuucat via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-12  9:06   ` Andrii Kolomoiets
2020-11-12 10:04     ` tsuucat via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-12 14:39     ` Eli Zaretskii
2020-11-12 23:20       ` Andrii Kolomoiets
2020-11-13  8:05         ` Eli Zaretskii
2020-11-13  5:32   ` Richard Stallman

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=c538bbc3-5987-45d1-95e0-5edda0a7193f@default \
    --to=drew.adams@oracle.com \
    --cc=43948@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    --cc=andreyk.mad@gmail.com \
    --cc=mardani29@yahoo.es \
    --cc=mattiase@acm.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 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).