all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bruce Korb <bruce.korb@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 12750@debbugs.gnu.org
Subject: bug#12750: Highlighting text no longer works
Date: Sun, 28 Oct 2012 13:14:36 -0700	[thread overview]
Message-ID: <CAKRnqN+_YOUzGkiWShKwZgw3dxFWM=rKqrnf2kwGGR=FLekkpA@mail.gmail.com> (raw)
In-Reply-To: <83objm8ry1.fsf@gnu.org>

Hi Eli,

Thank you.

On Sun, Oct 28, 2012 at 9:47 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>
> Actually, it's a feature: it was deemed a Good Thing to behave like
> the other GUI applications.
[...]
> See this entry in NEWS (what you want, if you still do, is at the
> end):

It is quite inconvenient to switch stuff like this without more readily
apparent announcements.  Folks like me do not ever deliberately
update things, so we don't go reading "NEWS" of the 100+ things
that get updated automatically.

>   ** Selection changes.
>
>   The default handling of clipboard and primary selections has been
>   changed to conform with modern X applications.  In short, most
>   commands for killing and yanking text now use the clipboard, while
>   mouse commands use the primary selection.

Sounds like the mouse ought to be using the clipboard to me.
Using separate mechanisms is clumsy.  This may explain why
I have so much difficulty pasting stuff into a Chrome buffer.
I think they must have it confused and wrong, too.
Seems to work okay in Firefox.  For Chrome, I often must go figure out
where in heck the "edit"->"select" thingy is and go through that menu
operation in order to be able to paste my text.

The separation was not well considered.  (expletives elided.)

>   In the following, we provide a list of these changes, followed by a
>   list of steps to get the old behavior back if you prefer that.

The "modern" approach is brain damaged, so, yes, I prefer it.

>   *** To return to the previous behavior, do the following:
>
>   **** Change `select-active-regions' to nil.
>   **** Change `mouse-drag-copy-region' to t.
>   **** Change `x-select-enable-primary' to t (on X only).
>   **** Change `x-select-enable-clipboard' to nil.
>   **** Bind `mouse-yank-at-click' to mouse-2.

It is really helpful to have explicit instructions:

*** To return to the previous behavior, add the following to your .emacs file:
    (setq select-active-regions         nil)
    (setq mouse-drag-copy-region        't)
    (setq x-select-enable-primary       't)
    (setq x-select-enable-clipboard     nil)
    (global-set-key [mouse-2]          'mouse-yank-at-click)





  reply	other threads:[~2012-10-28 20:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-28 16:16 bug#12750: Highlighting text no longer works Bruce Korb
2012-10-28 16:32 ` Bruce Korb
2012-10-28 16:47 ` Eli Zaretskii
2012-10-28 20:14   ` Bruce Korb [this message]
2012-10-28 20:57     ` Bruce Korb
2012-10-29  3:43       ` Eli Zaretskii
2012-10-29  8:44         ` Andreas Schwab
2012-10-29 14:07           ` Bruce Korb
2012-10-29 15:20             ` Andreas Schwab
2012-10-29  9:08       ` Chong Yidong
2012-10-29 12:02         ` Bruce Korb

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='CAKRnqN+_YOUzGkiWShKwZgw3dxFWM=rKqrnf2kwGGR=FLekkpA@mail.gmail.com' \
    --to=bruce.korb@gmail.com \
    --cc=12750@debbugs.gnu.org \
    --cc=eliz@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.