unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Savannah: no more Ctrl-Ins when using mouse copy
@ 2010-12-18 21:42 lanas
  2010-12-18 22:08 ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: lanas @ 2010-12-18 21:42 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

  I got emacs last week from Savannah's bzr and compiled it in Fedora
14.  It is using the same old .emacs config I'm carrying over the years.

  All is well, although I noticed that now it is not possible anymore to
use Ctrl-Ins to paste text that was copied elsewhere (other
application) using the mouse.  With all previous versions of emacs from
the say, last 7 years, this was possible.  Now, if some text is copied
to the buffer using the mouse, then the mouse must be used to paste it
back into emacs.

  Not a big deal, but I surely have to get used to it.  My question is:
is this paste behaviour a permanent change or is it part of a
current development mishap ?  Or a system config issue (although the
previous emacs on same Fedora 14 (and same .emacs) was not thus
restricted and allowed Ctrl-Ins text copied using the mouse) ?

Thanks,

Al



^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Savannah: no more Ctrl-Ins when using mouse copy
  2010-12-18 21:42 Savannah: no more Ctrl-Ins when using mouse copy lanas
@ 2010-12-18 22:08 ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2010-12-18 22:08 UTC (permalink / raw)
  To: 'lanas', help-gnu-emacs

> I got emacs last week from Savannah's bzr and compiled it in Fedora
> 14.  It is using the same old .emacs config I'm carrying over 
> the years.
> 
> All is well, although I noticed that now it is not possible 
> anymore to use Ctrl-Ins to paste text that was copied elsewhere
> (other application) using the mouse.  With all previous versions of 
> emacs from the say, last 7 years, this was possible.  Now, if
> some text is copied to the buffer using the mouse, then the mouse
> must be used to paste it back into emacs.
> 
> Not a big deal, but I surely have to get used to it.  My 
> question is: is this paste behaviour a permanent change or is it
> part of a current development mishap ?  Or a system config issue
> (although the previous emacs on same Fedora 14 (and same .emacs)
> was not thus restricted and allowed Ctrl-Ins text copied using
> the mouse) ?

Emacs selection behavior has changed significantly since (i.e. after) Emacs
23.2.

In sum, mouse selection no longer affects the `kill-ring', by default.  You
cannot select with the mouse and then use `C-y' to yank what you selected.  To
be able to yank it, you must first use `M-w' to copy it to the `kill-ring'.

Personally, I prefer the previous behavior (I'm on Windows, FWIW), so I
customize `mouse-drag-copy-region' to t.  That tells mouse selection to put the
selected text on the `kill-ring'.  In Windows, that was the behavior up through
Emacs 23.2.

I can't speak for Emacs Dev, but I believe the rationale for this change was to
make Emacs behave more like other applications in X Window.  (Someone might
correct that understanding.)

The relevant section of the Emacs manual is node `Mouse Commands', but AFAICT
that doc has not yet been updated to reflect this (big) change.  The doc still
says, for example:

"In addition, the region is copied into the kill ring.
 If you don't want Emacs to copy the region, change the
 variable `mouse-drag-copy-region' to `nil'."

(The default value of the variable is now t; the default behavior is NOT to copy
the text to the kill ring.)




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Savannah: no more Ctrl-Ins when using mouse copy
       [not found] <mailman.12.1292708454.5735.help-gnu-emacs@gnu.org>
@ 2010-12-20  8:59 ` Miles Bader
  0 siblings, 0 replies; 3+ messages in thread
From: Miles Bader @ 2010-12-20  8:59 UTC (permalink / raw)
  To: help-gnu-emacs

lanas <lanas@securenet.net> writes:
>   Not a big deal, but I surely have to get used to it.  My question is:
> is this paste behaviour a permanent change or is it part of a
> current development mishap ?

It's intentional, for "consistency with other apps."

[I think it sucks, too, and that the old behavior was less consistent,
but more useful... oh well]

-Miles

-- 
Youth, n. The Period of Possibility, when Archimedes finds a fulcrum,
Cassandra has a following and seven cities compete for the honor of endowing a
living Homer.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-20  8:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-18 21:42 Savannah: no more Ctrl-Ins when using mouse copy lanas
2010-12-18 22:08 ` Drew Adams
     [not found] <mailman.12.1292708454.5735.help-gnu-emacs@gnu.org>
2010-12-20  8:59 ` Miles Bader

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).