unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Juri Linkov <juri@jurta.org>, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Saving the selection before killing
Date: Thu, 19 Jul 2007 09:35:44 +0200	[thread overview]
Message-ID: <469F1450.5090002@swipnet.se> (raw)
In-Reply-To: <jwvd4yp8svc.fsf-monnier+emacs@gnu.org>

Stefan Monnier skrev:
>> Search for klipper in etc/PROBLEMS.  Now this proposal will make Emacs
>> behave like a buggy klipper.
> 
> Not at all.  The bug in the klipper was that it requested the selection over
> and over.  My code only causes the selection to be requested when it shifts
> from being owned by some other app to being owned by Emacs.  I.e. there's no
> looping involved.

Looping was only part of the problem.  Large selection was also a factor.  If
Emacs will request large selections from other programs, they can become
sluggish too.  In the common case this is not a problem as selection usually
are small, i.e. a couple of lines.

> 
>> I'd be annoyes to see that in my kill ring.
> 
> Please try it before jumping to conclusions.
> 

I did try it.  Open up an OO document with some pages, select all text in the
document.  Move to Emacs, kill some text, C-y, M-y

I get the OO document pasted as a big chunk of text.  Pasting the selection
from other applications into Emacs (or any other application) over a slow link
is already a problem.  This would make it worse.

	Jan D.

  reply	other threads:[~2007-07-19  7:35 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5fmk5pF3bo3fbU1@mid.individual.net>
     [not found] ` <mailman.3386.1184244752.32220.help-gnu-emacs@gnu.org>
2007-07-12 20:31   ` Saving the selection before killing (was: Selection not to be copied into kill-ring) Stefan Monnier
2007-07-12 20:45     ` Saving the selection before killing David Kastrup
2007-07-13 18:38     ` Saving the selection before killing (was: Selection not to be copied into kill-ring) Richard Stallman
2007-07-13 19:11       ` Saving the selection before killing Stefan Monnier
2007-07-14 18:00         ` Richard Stallman
2007-07-15 22:54           ` Juri Linkov
2007-07-17  3:34             ` Richard Stallman
2007-07-17  8:21               ` David Kastrup
2007-07-18  4:41                 ` Richard Stallman
2007-07-18  5:44                   ` David Kastrup
2007-07-18  9:28                     ` Jan Djärv
2007-07-18 20:53                     ` Richard Stallman
2007-07-18 21:05                       ` David Kastrup
2007-07-18  9:24                   ` Jan Djärv
2007-07-18  9:21                 ` Jan Djärv
2007-07-18 18:34                   ` Stefan Monnier
2007-07-19  7:35                     ` Jan Djärv [this message]
2007-07-19 17:15                       ` Stefan Monnier
2007-07-20  6:27                         ` Jan Djärv
2007-07-20 15:59                           ` Stefan Monnier
2007-07-20 16:50                             ` Jan Djärv
2007-07-21 16:54                               ` Richard Stallman
2007-07-21 16:54                             ` Richard Stallman
2007-07-21  4:51                           ` Richard Stallman
2007-07-21  9:22                             ` Jan Djärv
2007-07-19  4:25                   ` Richard Stallman
2007-07-19  7:44                     ` Jan Djärv
2007-07-19 21:21                       ` Richard Stallman
2007-07-20  6:33                         ` Jan Djärv
2007-07-21  4:51                           ` Richard Stallman
2007-07-21  9:28                             ` Jan Djärv
2007-07-22  1:49                               ` Richard Stallman
2007-07-22  7:55                                 ` Jan Djärv
2007-07-22 18:37                                   ` Richard Stallman
2007-07-22 20:32                                     ` Jan Djärv

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=469F1450.5090002@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@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 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).