From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Nnamtrop Newsgroups: gmane.emacs.bugs Subject: bug#9810: cw in viper mode clobbers clipboard Date: Thu, 20 Oct 2011 14:57:57 -0600 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1319144342 24572 80.91.229.12 (20 Oct 2011 20:59:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 Oct 2011 20:59:02 +0000 (UTC) Cc: 9810@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 20 22:58:58 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RGzhZ-0002Zx-Ep for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Oct 2011 22:58:57 +0200 Original-Received: from localhost ([::1]:34717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGzhY-0007ND-LK for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Oct 2011 16:58:56 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGzhV-0007N8-R2 for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2011 16:58:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGzhU-0000Qe-NX for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2011 16:58:53 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGzhU-0000Qa-Kn for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2011 16:58:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RGzic-0006bK-9x for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2011 17:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Bob Nnamtrop Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Oct 2011 21:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9810 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9810-submit@debbugs.gnu.org id=B9810.131914435525299 (code B ref 9810); Thu, 20 Oct 2011 21:00:02 +0000 Original-Received: (at 9810) by debbugs.gnu.org; 20 Oct 2011 20:59:15 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGzhr-0006a0-Ja for submit@debbugs.gnu.org; Thu, 20 Oct 2011 16:59:15 -0400 Original-Received: from mail-vw0-f44.google.com ([209.85.212.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGzhp-0006Zg-6N for 9810@debbugs.gnu.org; Thu, 20 Oct 2011 16:59:13 -0400 Original-Received: by vws5 with SMTP id 5so2394645vws.3 for <9810@debbugs.gnu.org>; Thu, 20 Oct 2011 13:57:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=58iA73fko+glBvgcezyF77Rqd8i32TtGKwp5iaUJZog=; b=r0r6O07T5UCEDemyX9OYKaWaEm8Eshxqo1w+obJ4/INZ+TrXyeUN4/eLBkCR7CIlK6 DKiDuQJE7CMKTdlHfmnk3E5yQyfzQYpI5MByBk50cZ19JutZLT36HQjsDz9z/YykNnck GP4hWXnPe1aq8/WnhY1BkHtOJCgRq14NEtf+4= Original-Received: by 10.52.74.69 with SMTP id r5mr2889617vdv.51.1319144277407; Thu, 20 Oct 2011 13:57:57 -0700 (PDT) Original-Received: by 10.52.116.1 with HTTP; Thu, 20 Oct 2011 13:57:57 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 20 Oct 2011 17:00:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52951 Archived-At: On Thu, Oct 20, 2011 at 12:46 PM, Stefan Monnier wrote: >> Right after you type 'cw' nothing in the buffer is erased. The word is >> hi-lighted but that is it. So it should not change any selection at > > That's what is supposed to happen now that select-active-regions > defaults to t. Playing around a bit more exposes more inconsistencies: -using the viper command R (viper-overwrite) hi-lights to the end of the line in a similar way as cw does to the end of the word but the primary selection is not clobbered. This is inconsistent to the behavior of cw (although better). -pasting in the primary selection (using ) or the clipboard using C-y after the viper command R pastes the selection in front of the 'R selection' instead of replacing the first part of the 'R selection' (whereas the same action after cw replaces the first part of the 'cw selection'). Here the behavior of R is worse than cw. Bob