all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David De La Harpe Golden <david@harpegolden.net>
To: Angelo Graziosi <angelo.graziosi@alice.it>
Cc: 6774@debbugs.gnu.org, Chong Yidong <cyd@stupidchicken.com>
Subject: bug#6774: Cut and paste with C-w/mouse-2 not working?
Date: Mon, 02 Aug 2010 15:52:12 +0100	[thread overview]
Message-ID: <4C56DB9C.5040405@harpegolden.net> (raw)
In-Reply-To: <4C56C8F0.2010104@alice.it>

On 02/08/10 14:32, Angelo Graziosi wrote:

> I do not doubt that, internally, things are different. Anyway, from the
> 'End User' point of view,

Well, the whole area is end-user visible.

> C-w/mouse-2 (in Emacs)
>
> should behave in the same way of
>
> C-X/mouse-2 (in other X applications like Konqueror, Kate etc.)
 >

Well, beware Chong Yidong has already brought to light other recent X 
applications where that doesn't work - try it in GNOME gedit...

That said, I think the KDE Kate type behaviour is obviously more useful, 
more common, and more in keeping with the intent of the spec if not the 
letter, and the one to aim for.

> So, at the moment, Emacs, in this regard (Copy/Paste), from the 'End
> User' point of view, behaves differently from other X applications.

Undoubtedly.  It didn't historically behave like other (recent*) X 
applications either though. In the specific case of C-w directly 
followed by mouse-2 it may have appeared to but something quite 
different was going on behind the scenes. This attempt to make it do so 
is relatively new (well what's really new is that it was switched on by 
default, exposing it to a greater userbase and exposing a host of 
problems...).

If you are interested to try the experimental branch I mentioned you'll 
probably find it acts more sensibly in this area:

bzr branch lp:~ddlhg/emacs/selx

It's just not in a fit state for inclusion wholesale in emacs at time of 
writing, but you might be able to say if it's the behaviour you expect, 
and then maybe we can find a somewhat saner way to actually implement it.

 > BTW, if I add the step:
 > 1.1 I choose: Options | C-x/.../C-v Cut and Paste (CUA)
 > then C-x/mouse-2, in Emacs still does not work!

Nor would it be expected to, until the underlying issue is addressed. 
All (well not all, but for our present purposes) CUA mode does is make 
C-x/C-c/C-v in emacs act like C-w/M-w/C-y in eamcs.

Note this is THE major problem with the unhelpful "oh just turn on cua 
mode" response emacs newbies sometimes get to their whining about "cut 
and paste not working right".  The problem isn't the bindings:

If %(emacs' C-w/M-w/C-y) doesn't act like $(other apps' C-x/C-c/C-v), 
then making &(emacs' C-x/C-c/C-y) act like %(emacs' C-w/M-y/C-y) still 
doesn't make  &(emacs' C-x/C-c/C-y) act like $(other apps' C-x/C-c/C-v)


* It's worth bearing in mind that emacs has been around a _lot_ longer 
than these newfangled standardisations, and many long-time emacs users 
actively prefer the now-quirky emacs historic behaviour.


























  parent reply	other threads:[~2010-08-02 14:52 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-01 22:04 bug#6774: Cut and paste with C-w/mouse-2 not working? Angelo Graziosi
2010-08-02  4:12 ` David De La Harpe Golden
     [not found]   ` <4C56C8F0.2010104@alice.it>
2010-08-02 14:52     ` David De La Harpe Golden [this message]
2010-08-02 19:41   ` Chong Yidong
2010-08-02 20:30     ` David De La Harpe Golden
2010-08-02 20:33       ` David De La Harpe Golden
2010-08-02 20:53       ` David De La Harpe Golden
2010-08-02 20:59       ` Chong Yidong
2010-08-02 21:35         ` David De La Harpe Golden
2010-08-02 22:26           ` David De La Harpe Golden
2010-08-05  2:20           ` Chong Yidong
2010-08-05 23:50             ` David De La Harpe Golden
2010-08-06  7:43               ` Eli Zaretskii
2010-08-06  9:13                 ` Stefan Monnier
2010-08-06 10:50                   ` Eli Zaretskii
2010-08-06 12:21                     ` Kenichi Handa
2010-08-06 13:17                       ` Jan Djärv
2010-08-06 20:23                         ` David De La Harpe Golden
2010-08-06 20:17                     ` David De La Harpe Golden
2010-08-06 15:28               ` Chong Yidong
2010-08-06 21:05                 ` David De La Harpe Golden
2010-08-07 19:50                   ` Chong Yidong
2010-08-07 23:05                     ` David De La Harpe Golden
2010-08-09  2:55                       ` Chong Yidong
2010-08-09 11:43                         ` Stefan Monnier
2010-08-09 17:19                           ` Jan Djärv
2010-08-10  7:29                             ` Stefan Monnier
2010-08-10 14:01                               ` Jan Djärv
2010-08-10 15:54                                 ` Stefan Monnier
2010-08-10 17:59                                   ` Jan Djärv
2010-08-11  7:46                                     ` Stefan Monnier
2010-08-11 16:06                                       ` Jan Djärv
2010-08-11 20:17                                         ` Stefan Monnier
2010-08-11 21:26                                           ` Jan Djärv
2010-08-11 21:32                                             ` Stefan Monnier
2010-08-12  3:54                                       ` Kenichi Handa
2010-08-12  7:43                                         ` Jan Djärv
2010-08-12  7:51                                           ` Kenichi Handa
2010-08-12  8:29                                         ` Stefan Monnier
2010-08-12 12:14                                           ` Kenichi Handa
2010-08-12 16:09                                             ` Stefan Monnier
2010-08-12 17:11                                               ` Jan Djärv
2010-08-13 10:38                                                 ` Stefan Monnier
2010-08-13 11:29                                                   ` Eli Zaretskii
2010-08-13  6:18                                               ` Kenichi Handa
2010-08-13 10:40                                                 ` Stefan Monnier
2010-08-16  8:16                                                   ` Kenichi Handa
2010-08-16  8:51                                                     ` Jan Djärv
2010-08-17  1:44                                                       ` Kenichi Handa
2010-08-17  5:52                                                         ` Jan Djärv
2010-08-17  7:17                                                           ` Eli Zaretskii
2010-08-17  8:24                                                             ` Jan Djärv
2010-08-17 10:26                                                               ` Eli Zaretskii
2010-08-17 11:43                                                           ` Kenichi Handa
2010-08-17 12:14                                                             ` Stefan Monnier
2010-08-17 12:57                                                               ` Kenichi Handa
2010-08-18  7:24                                                                 ` Stefan Monnier
2010-08-17 20:59                                                               ` David De La Harpe Golden
2010-08-18  7:25                                                                 ` Stefan Monnier
2010-08-07 23:08                     ` Angelo Graziosi
     [not found]       ` <mailman.23.1280783288.5118.bug-gnu-emacs@gnu.org>
2010-08-03 14:34         ` Miles Bader
2010-08-03 15:15           ` David De La Harpe Golden
2010-08-03 15:31             ` Miles Bader
2010-08-03 15:45               ` David De La Harpe Golden
2010-08-03 16:02                 ` Miles Bader
2010-08-04 18:02                   ` Stefan Monnier
2010-08-04 18:25                     ` Drew Adams
2010-08-04 21:10                       ` David De La Harpe Golden
2010-08-04 21:36                         ` Drew Adams
2010-08-05  0:17                           ` Chong Yidong
2010-08-05  0:24                             ` Drew Adams
2010-08-05  0:33                               ` Chong Yidong
2010-08-05  0:40                                 ` Drew Adams
2010-08-02 13:33 ` Angelo Graziosi

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=4C56DB9C.5040405@harpegolden.net \
    --to=david@harpegolden.net \
    --cc=6774@debbugs.gnu.org \
    --cc=angelo.graziosi@alice.it \
    --cc=cyd@stupidchicken.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 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.