unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Suggestion for mouse-based cut/copy/yank
@ 2007-07-26 13:09 David Kastrup
  2007-07-26 16:04 ` Drew Adams
  2007-07-26 16:59 ` Richard Stallman
  0 siblings, 2 replies; 8+ messages in thread
From: David Kastrup @ 2007-07-26 13:09 UTC (permalink / raw)
  To: emacs-devel


Hi,

I often mark material with the mouse using triple clicks (whole
lines).  The double click right on the last line for deletion works
fine and intuitively and makes it easy to deal with whole lines.

However, when yanking with a click, material is yanked right at point
rather than at the start of line.

That is a nuisance.  So I think it would be nice to store the
"granularity" of a mouse click/mark away and use it to move to begin
of word/line before yanking.  Maybe the best way would be to use a
yank-handler property on the string in question.  It is likely that it
is ok to have this work with keyboard-controlled yanks from
mouse-collected kill material, too.

For what it is worth, vi has "p" and "P" commands for inserting
material after and before the cursor (which perversely is not between,
but _on_ characters and lines conceptually), and those also heed the
"line-basedness" of the commands putting the stuff in the kill buffer.

It is actually quite convenient.

-- 
David Kastrup

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

end of thread, other threads:[~2007-07-27  6:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-26 13:09 Suggestion for mouse-based cut/copy/yank David Kastrup
2007-07-26 16:04 ` Drew Adams
2007-07-26 17:47   ` David Kastrup
2007-07-26 16:59 ` Richard Stallman
2007-07-26 17:41   ` David Kastrup
2007-07-27  5:04     ` Richard Stallman
2007-07-27  5:32       ` David Kastrup
2007-07-27  6:37       ` Stefan Monnier

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